	.file	"692074.c"
	.intel_syntax noprefix
	.text
	.globl	pecas
	.bss
	.align 32
	.type	pecas, @object
	.size	pecas, 196
pecas:
	.zero	196
	.globl	valor
	.align 32
	.type	valor, @object
	.size	valor, 224
valor:
	.zero	224
	.globl	in
	.align 32
	.type	in, @object
	.size	in, 116
in:
	.zero	116
	.globl	sol
	.align 32
	.type	sol, @object
	.size	sol, 224
sol:
	.zero	224
	.globl	nsol
	.align 4
	.type	nsol, @object
	.size	nsol, 4
nsol:
	.zero	4
	.text
	.globl	domino
	.type	domino, @function
domino:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, sol[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L15
	add	DWORD PTR -24[rbp], 1
.L3:
	cmp	DWORD PTR -24[rbp], 7
	jle	.L6
	add	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -24[rbp], 0
.L2:
	cmp	DWORD PTR -20[rbp], 6
	jle	.L3
	mov	eax, DWORD PTR nsol[rip]
	add	eax, 1
	mov	DWORD PTR nsol[rip], eax
	jmp	.L1
.L15:
	nop
.L5:
	cmp	DWORD PTR -20[rbp], 5
	jg	.L9
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, sol[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rsi, eax
	movsx	rax, ecx
	sal	rax, 3
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jg	.L10
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	ebx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	r12d, DWORD PTR [rdx+rax]
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	ebx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	r12d, DWORD PTR [rdx+rax]
.L11:
	movsx	rcx, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pecas[rip]
	mov	ebx, DWORD PTR [rdx+rax]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, in[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	edx, DWORD PTR -24[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	sal	rdx, 3
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sol[rip]
	mov	DWORD PTR [rcx+rdx], ebx
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, sol[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sol[rip]
	mov	DWORD PTR [rcx+rdx], eax
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, in[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	domino
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	edx, DWORD PTR -24[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	sal	rdx, 3
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sol[rip]
	mov	DWORD PTR [rcx+rdx], 0
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, sol[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sol[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, sol[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, in[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L9:
	cmp	DWORD PTR -24[rbp], 6
	jg	.L1
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, sol[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jg	.L12
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	ebx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	r12d, DWORD PTR [rdx+rax]
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	ebx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	mov	r12d, DWORD PTR [rdx+rax]
.L13:
	movsx	rcx, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pecas[rip]
	mov	ebx, DWORD PTR [rdx+rax]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, in[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sol[rip]
	mov	DWORD PTR [rcx+rdx], ebx
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, sol[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sol[rip]
	mov	DWORD PTR [rcx+rdx], eax
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, in[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	domino
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sol[rip]
	mov	DWORD PTR [rcx+rdx], 0
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, sol[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sol[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, sol[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, in[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L1:
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	domino, .-domino
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"Teste %d\n%d\n\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	ebx, 0
	mov	r13d, 1
	jmp	.L17
.L20:
	mov	r12d, ebx
	jmp	.L18
.L19:
	mov	edx, r13d
	lea	r13d, 1[rdx]
	movsx	rsi, r12d
	movsx	rcx, ebx
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, pecas[rip]
	mov	DWORD PTR [rcx+rax], edx
	add	r12d, 1
.L18:
	cmp	r12d, 6
	jle	.L19
	add	ebx, 1
.L17:
	cmp	ebx, 6
	jle	.L20
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	r13d, 1
	jmp	.L21
.L28:
	mov	ebx, 0
	jmp	.L22
.L25:
	mov	r12d, 0
	jmp	.L23
.L24:
	movsx	rdx, r12d
	movsx	rax, ebx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, valor[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsx	rdx, r12d
	movsx	rax, ebx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, sol[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	r12d, 1
.L23:
	cmp	r12d, 7
	jle	.L24
	add	ebx, 1
.L22:
	cmp	ebx, 6
	jle	.L25
	mov	ebx, 1
	jmp	.L26
.L27:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, in[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	ebx, 1
.L26:
	cmp	ebx, 28
	jle	.L27
	mov	DWORD PTR nsol[rip], 0
	mov	esi, 0
	mov	edi, 0
	call	domino
	mov	eax, DWORD PTR nsol[rip]
	mov	edx, eax
	mov	esi, r13d
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	r13d, 1
.L21:
	mov	eax, DWORD PTR -44[rbp]
	cmp	r13d, eax
	jle	.L28
	mov	eax, 0
	mov	rdi, QWORD PTR -40[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	add	rsp, 24
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"692074.c"
	.text
	.comm	pecas,196,4
	.comm	valor,224,4
	.comm	in,116,4
	.comm	sol,224,4
	.comm	nsol,4,4
	.align	2
	.global	domino
	.syntax unified
	.arm
	.fpu softvfp
	.type	domino, %function
domino:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	b	.L2
.L6:
	ldr	r1, .L16
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	ble	.L6
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #6
	ble	.L3
	ldr	r3, .L16+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+4
	str	r3, [r2]
	b	.L1
.L15:
	nop
.L5:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	bgt	.L9
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r1, .L16
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	bne	.L9
	ldr	r1, .L16+8
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r0, .L16+8
	lsl	r1, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	ldr	r3, [r0, r3, lsl #2]
	cmp	r2, r3
	bgt	.L10
	ldr	r1, .L16+8
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r4, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r1, .L16+8
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r5, [r1, r3, lsl #2]
	b	.L11
.L10:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r1, .L16+8
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r4, [r1, r3, lsl #2]
	ldr	r1, .L16+8
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r5, [r1, r3, lsl #2]
.L11:
	ldr	r2, .L16+12
	mov	r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	add	r3, r3, r5
	ldr	r4, [r2, r3, lsl #2]
	ldr	r3, .L16+16
	ldr	r3, [r3, r4, lsl #2]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r0, .L16
	lsl	r1, r3, #3
	ldr	r2, [fp, #-20]
	add	r2, r1, r2
	str	r4, [r0, r2, lsl #2]
	ldr	r1, .L16
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r0, .L16
	ldr	r3, [fp, #-16]
	lsl	r1, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	str	r2, [r0, r3, lsl #2]
	ldr	r3, .L16+16
	mov	r2, #1
	str	r2, [r3, r4, lsl #2]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	domino
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r0, .L16
	lsl	r1, r3, #3
	ldr	r2, [fp, #-20]
	add	r2, r1, r2
	mov	r1, #0
	str	r1, [r0, r2, lsl #2]
	ldr	r1, .L16
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r0, .L16
	ldr	r3, [fp, #-16]
	lsl	r1, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	str	r2, [r0, r3, lsl #2]
	ldr	r1, .L16
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, .L16+16
	str	r3, [r2, r4, lsl #2]
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #6
	bgt	.L1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r1, .L16
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #3
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	bne	.L1
	ldr	r1, .L16+8
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r0, .L16+8
	ldr	r1, [fp, #-16]
	lsl	r1, r1, #3
	add	r3, r1, r3
	ldr	r3, [r0, r3, lsl #2]
	cmp	r2, r3
	bgt	.L12
	ldr	r1, .L16+8
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r4, [r1, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r1, .L16+8
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #3
	add	r3, r2, r3
	ldr	r5, [r1, r3, lsl #2]
	b	.L13
.L12:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r1, .L16+8
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #3
	add	r3, r2, r3
	ldr	r4, [r1, r3, lsl #2]
	ldr	r1, .L16+8
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r5, [r1, r3, lsl #2]
.L13:
	ldr	r2, .L16+12
	mov	r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	add	r3, r3, r5
	ldr	r4, [r2, r3, lsl #2]
	ldr	r3, .L16+16
	ldr	r3, [r3, r4, lsl #2]
	cmp	r3, #0
	bne	.L1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r1, .L16
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #3
	add	r2, r2, r3
	str	r4, [r1, r2, lsl #2]
	ldr	r1, .L16
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #3
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r0, .L16
	ldr	r3, [fp, #-16]
	lsl	r1, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	str	r2, [r0, r3, lsl #2]
	ldr	r3, .L16+16
	mov	r2, #1
	str	r2, [r3, r4, lsl #2]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	domino
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r1, .L16
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #3
	add	r2, r2, r3
	mov	r0, #0
	str	r0, [r1, r2, lsl #2]
	ldr	r1, .L16
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #3
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r0, .L16
	ldr	r3, [fp, #-16]
	lsl	r1, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	str	r2, [r0, r3, lsl #2]
	ldr	r1, .L16
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, .L16+16
	str	r3, [r2, r4, lsl #2]
.L1:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L17:
	.align	2
.L16:
	.word	sol
	.word	nsol
	.word	valor
	.word	pecas
	.word	in
	.size	domino, .-domino
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"Teste %d\012%d\012\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r4, #0
	mov	r6, #1
	b	.L19
.L22:
	mov	r5, r4
	b	.L20
.L21:
	mov	r2, r6
	add	r6, r2, #1
	ldr	r1, .L33+4
	mov	r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	add	r3, r3, r5
	str	r2, [r1, r3, lsl #2]
	add	r5, r5, #1
.L20:
	cmp	r5, #6
	ble	.L21
	add	r4, r4, #1
.L19:
	cmp	r4, #6
	ble	.L22
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L33+8
	bl	__isoc99_scanf
	mov	r6, #1
	b	.L23
.L30:
	mov	r4, #0
	b	.L24
.L27:
	mov	r5, #0
	b	.L25
.L26:
	lsl	r3, r4, #3
	add	r3, r3, r5
	lsl	r3, r3, #2
	ldr	r2, .L33+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L33+8
	bl	__isoc99_scanf
	ldr	r2, .L33+16
	lsl	r3, r4, #3
	add	r3, r3, r5
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	add	r5, r5, #1
.L25:
	cmp	r5, #7
	ble	.L26
	add	r4, r4, #1
.L24:
	cmp	r4, #6
	ble	.L27
	mov	r4, #1
	b	.L28
.L29:
	ldr	r3, .L33+20
	mov	r2, #0
	str	r2, [r3, r4, lsl #2]
	add	r4, r4, #1
.L28:
	cmp	r4, #28
	ble	.L29
	ldr	r3, .L33+24
	mov	r2, #0
	str	r2, [r3]
	mov	r1, #0
	mov	r0, #0
	bl	domino
	ldr	r3, .L33+24
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, r6
	ldr	r0, .L33+28
	bl	printf
	add	r6, r6, #1
.L23:
	ldr	r3, [fp, #-28]
	cmp	r6, r3
	ble	.L30
	mov	r3, #0
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC2
	.word	pecas
	.word	.LC0
	.word	valor
	.word	sol
	.word	in
	.word	nsol
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
