	.file	"247018253.c"
	.intel_syntax noprefix
	.text
	.globl	dobra
	.type	dobra, @function
dobra:
.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, 336
	mov	QWORD PTR -312[rbp], rdi
	mov	DWORD PTR -316[rbp], esi
	mov	DWORD PTR -320[rbp], edx
	mov	QWORD PTR -328[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	DWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	DWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	DWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -288[rbp], 0
	mov	DWORD PTR -284[rbp], 0
	mov	DWORD PTR -292[rbp], 0
	mov	DWORD PTR -280[rbp], 0
	mov	DWORD PTR -296[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -272[rbp+rax*4], edx
	add	DWORD PTR -296[rbp], 1
.L2:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jle	.L3
	mov	eax, DWORD PTR -316[rbp]
	add	eax, 1
	mov	DWORD PTR -296[rbp], eax
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	DWORD PTR -208[rbp+rax*4], edx
	add	DWORD PTR -292[rbp], 1
	mov	eax, DWORD PTR -292[rbp]
	mov	DWORD PTR -288[rbp], eax
	add	DWORD PTR -296[rbp], 1
.L4:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -320[rbp]
	jl	.L5
	mov	DWORD PTR -296[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -292[rbp]
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -208[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -144[rbp+rax*4], edx
	sub	DWORD PTR -292[rbp], 1
	add	DWORD PTR -296[rbp], 1
.L6:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -288[rbp]
	jl	.L7
	mov	eax, DWORD PTR -288[rbp]
	mov	DWORD PTR -292[rbp], eax
	mov	eax, DWORD PTR -316[rbp]
	mov	DWORD PTR -284[rbp], eax
	mov	eax, DWORD PTR -316[rbp]
	cmp	eax, DWORD PTR -288[rbp]
	jl	.L8
	mov	eax, DWORD PTR -316[rbp]
	add	eax, 1
	mov	DWORD PTR -280[rbp], eax
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jle	.L10
	mov	eax, DWORD PTR -288[rbp]
	mov	DWORD PTR -280[rbp], eax
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -316[rbp]
	add	eax, 1
	cmp	DWORD PTR -288[rbp], eax
	jne	.L9
	mov	eax, DWORD PTR -288[rbp]
	mov	DWORD PTR -280[rbp], eax
.L9:
	mov	DWORD PTR -296[rbp], 0
	jmp	.L11
.L15:
	cmp	DWORD PTR -292[rbp], 0
	js	.L12
	cmp	DWORD PTR -284[rbp], 0
	js	.L12
	mov	eax, DWORD PTR -292[rbp]
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	eax, DWORD PTR -272[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
	sub	DWORD PTR -292[rbp], 1
	sub	DWORD PTR -284[rbp], 1
	jmp	.L13
.L12:
	cmp	DWORD PTR -292[rbp], 0
	jns	.L14
	cmp	DWORD PTR -284[rbp], 0
	js	.L14
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	edx, DWORD PTR -272[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
	sub	DWORD PTR -284[rbp], 1
	jmp	.L13
.L14:
	cmp	DWORD PTR -292[rbp], 0
	js	.L13
	cmp	DWORD PTR -284[rbp], 0
	jns	.L13
	mov	eax, DWORD PTR -292[rbp]
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
	sub	DWORD PTR -292[rbp], 1
.L13:
	add	DWORD PTR -296[rbp], 1
.L11:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -320[rbp]
	jl	.L15
	mov	eax, DWORD PTR -280[rbp]
	mov	DWORD PTR -276[rbp], eax
	mov	eax, DWORD PTR -320[rbp]
	sub	eax, 1
	cmp	DWORD PTR -316[rbp], eax
	jne	.L16
	mov	DWORD PTR -296[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -328[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	edx, DWORD PTR -80[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	add	DWORD PTR -296[rbp], 1
.L17:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -280[rbp]
	jl	.L18
	jmp	.L19
.L16:
	mov	DWORD PTR -296[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -276[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	sal	rax, 6
	mov	rcx, rax
	mov	rax, QWORD PTR -328[rbp]
	add	rcx, rax
	movsx	rax, edx
	mov	edx, DWORD PTR -80[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	sub	DWORD PTR -276[rbp], 1
	add	DWORD PTR -296[rbp], 1
.L20:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -280[rbp]
	jl	.L21
.L19:
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -328[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -280[rbp]
	mov	DWORD PTR 60[rdx], eax
	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
.LFE6:
	.size	dobra, .-dobra
	.globl	build_candidatos
	.type	build_candidatos, @function
build_candidatos:
.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, 64
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	QWORD PTR -48[rbp], r8
	mov	QWORD PTR -56[rbp], r9
	cmp	DWORD PTR -20[rbp], 1
	jne	.L24
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L25
.L26:
	mov	rcx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	dobra
	add	DWORD PTR -4[rbp], 1
.L25:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L26
	jmp	.L30
.L24:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 6
	lea	rdx, -64[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 60[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 6
	lea	rdx, -64[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 60[rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 6
	lea	rcx, -64[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	rdi, rax
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	call	dobra
	add	DWORD PTR -4[rbp], 1
.L28:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L29
.L30:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	build_candidatos, .-build_candidatos
	.globl	eh_igual
	.type	eh_igual, @function
eh_igual:
.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	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L32
.L34:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L33
	mov	DWORD PTR -8[rbp], 1
.L33:
	add	DWORD PTR -16[rbp], 1
.L32:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L34
	mov	DWORD PTR -16[rbp], 0
	jmp	.L35
.L37:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L36
	mov	DWORD PTR -4[rbp], 1
.L36:
	sub	DWORD PTR -12[rbp], 1
	add	DWORD PTR -16[rbp], 1
.L35:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L37
	cmp	DWORD PTR -8[rbp], 1
	jne	.L38
	cmp	DWORD PTR -4[rbp], 1
	jne	.L38
	mov	eax, 0
	jmp	.L39
.L38:
	mov	eax, 1
.L39:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	eh_igual, .-eh_igual
	.globl	make_move
	.type	make_move, @function
make_move:
.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 6
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	add	DWORD PTR -4[rbp], 1
.L41:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 60[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L42
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -32[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 6
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR 60[rax]
	mov	DWORD PTR 60[rdx], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	make_move, .-make_move
	.globl	backtrack
	.type	backtrack, @function
backtrack:
.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, 1040
	mov	QWORD PTR -1000[rbp], rdi
	mov	DWORD PTR -1004[rbp], esi
	mov	QWORD PTR -1016[rbp], rdx
	mov	DWORD PTR -1008[rbp], ecx
	mov	QWORD PTR -1024[rbp], r8
	mov	DWORD PTR -1028[rbp], r9d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -980[rbp], 0
	mov	ecx, DWORD PTR -1028[rbp]
	mov	rdx, QWORD PTR -1024[rbp]
	mov	esi, DWORD PTR -1004[rbp]
	mov	rax, QWORD PTR -1000[rbp]
	mov	rdi, rax
	call	eh_igual
	cmp	eax, 1
	je	.L44
	mov	eax, DWORD PTR -1004[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -1000[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 60[rax]
	cmp	eax, 1
	jne	.L45
.L44:
	mov	ecx, DWORD PTR -1028[rbp]
	mov	rdx, QWORD PTR -1024[rbp]
	mov	esi, DWORD PTR -1004[rbp]
	mov	rax, QWORD PTR -1000[rbp]
	mov	rdi, rax
	call	eh_igual
	cmp	eax, 1
	jne	.L47
	mov	edi, 83
	call	putchar@PLT
	mov	edi, 0
	call	exit@PLT
.L45:
	add	DWORD PTR -1004[rbp], 1
	mov	r8, QWORD PTR -1000[rbp]
	lea	rdi, -988[rbp]
	lea	rcx, -976[rbp]
	mov	edx, DWORD PTR -1008[rbp]
	mov	rsi, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR -1004[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	edi, eax
	call	build_candidatos
	mov	DWORD PTR -984[rbp], 0
	jmp	.L48
.L49:
	lea	rcx, -976[rbp]
	mov	edx, DWORD PTR -1004[rbp]
	mov	esi, DWORD PTR -984[rbp]
	mov	rax, QWORD PTR -1000[rbp]
	mov	rdi, rax
	call	make_move
	mov	r8d, DWORD PTR -1028[rbp]
	mov	rdi, QWORD PTR -1024[rbp]
	mov	ecx, DWORD PTR -1008[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	mov	esi, DWORD PTR -1004[rbp]
	mov	rax, QWORD PTR -1000[rbp]
	mov	r9d, r8d
	mov	r8, rdi
	mov	rdi, rax
	call	backtrack
	add	DWORD PTR -984[rbp], 1
.L48:
	mov	eax, DWORD PTR -988[rbp]
	sub	eax, 1
	cmp	DWORD PTR -984[rbp], eax
	jl	.L49
.L47:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	backtrack, .-backtrack
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1120
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1104[rbp], 0
	mov	QWORD PTR -1096[rbp], 0
	mov	QWORD PTR -1088[rbp], 0
	mov	QWORD PTR -1080[rbp], 0
	mov	QWORD PTR -1072[rbp], 0
	mov	QWORD PTR -1064[rbp], 0
	mov	QWORD PTR -1056[rbp], 0
	mov	DWORD PTR -1048[rbp], 0
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	mov	QWORD PTR -1024[rbp], 0
	mov	QWORD PTR -1016[rbp], 0
	mov	QWORD PTR -1008[rbp], 0
	mov	QWORD PTR -1000[rbp], 0
	mov	QWORD PTR -992[rbp], 0
	mov	DWORD PTR -984[rbp], 0
	lea	rax, -1116[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -1108[rbp], 0
	jmp	.L52
.L53:
	lea	rdx, -1104[rbp]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -1108[rbp], 1
.L52:
	mov	eax, DWORD PTR -1116[rbp]
	cmp	DWORD PTR -1108[rbp], eax
	jl	.L53
	lea	rax, -1112[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -1108[rbp], 0
	jmp	.L54
.L55:
	lea	rdx, -1040[rbp]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -1108[rbp], 1
.L54:
	mov	eax, DWORD PTR -1112[rbp]
	cmp	DWORD PTR -1108[rbp], eax
	jl	.L55
	mov	DWORD PTR -1108[rbp], 0
	jmp	.L56
.L57:
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	mov	edx, DWORD PTR -1104[rbp+rax*4]
	mov	eax, DWORD PTR -1108[rbp]
	cdqe
	mov	DWORD PTR -976[rbp+rax*4], edx
	add	DWORD PTR -1108[rbp], 1
.L56:
	mov	eax, DWORD PTR -1116[rbp]
	cmp	DWORD PTR -1108[rbp], eax
	jl	.L57
	mov	edi, DWORD PTR -1112[rbp]
	mov	ecx, DWORD PTR -1116[rbp]
	lea	rsi, -1040[rbp]
	lea	rdx, -1104[rbp]
	lea	rax, -976[rbp]
	mov	r9d, edi
	mov	r8, rsi
	mov	esi, 0
	mov	rdi, rax
	call	backtrack
	mov	edi, 78
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"247018253.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dobra
	.syntax unified
	.arm
	.fpu softvfp
	.type	dobra, %function
dobra:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	str	r0, [fp, #-280]
	str	r1, [fp, #-284]
	str	r2, [fp, #-288]
	str	r3, [fp, #-292]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #248
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #188
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #128
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #68
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-264]
	mov	r3, #0
	str	r3, [fp, #-260]
	mov	r3, #0
	str	r3, [fp, #-268]
	mov	r3, #0
	str	r3, [fp, #-256]
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L2
.L3:
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-244]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L2:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-284]
	cmp	r2, r3
	ble	.L3
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-272]
	b	.L4
.L5:
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-184]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-268]
	str	r3, [fp, #-264]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L4:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-288]
	cmp	r2, r3
	blt	.L5
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L6
.L7:
	ldr	r3, [fp, #-268]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-184]
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-268]
	sub	r3, r3, #1
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L6:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-264]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-264]
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-284]
	str	r3, [fp, #-260]
	ldr	r2, [fp, #-284]
	ldr	r3, [fp, #-264]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-256]
	b	.L9
.L8:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-284]
	cmp	r2, r3
	ble	.L10
	ldr	r3, [fp, #-264]
	str	r3, [fp, #-256]
	b	.L9
.L10:
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	ldr	r2, [fp, #-264]
	cmp	r2, r3
	bne	.L9
	ldr	r3, [fp, #-264]
	str	r3, [fp, #-256]
.L9:
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L11
.L15:
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	blt	.L12
	ldr	r3, [fp, #-260]
	cmp	r3, #0
	blt	.L12
	ldr	r3, [fp, #-268]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-124]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-244]
	add	r2, r2, r3
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-64]
	ldr	r3, [fp, #-268]
	sub	r3, r3, #1
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-260]
	sub	r3, r3, #1
	str	r3, [fp, #-260]
	b	.L13
.L12:
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bge	.L14
	ldr	r3, [fp, #-260]
	cmp	r3, #0
	blt	.L14
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-244]
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-64]
	ldr	r3, [fp, #-260]
	sub	r3, r3, #1
	str	r3, [fp, #-260]
	b	.L13
.L14:
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	blt	.L13
	ldr	r3, [fp, #-260]
	cmp	r3, #0
	bge	.L13
	ldr	r3, [fp, #-268]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-124]
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-64]
	ldr	r3, [fp, #-268]
	sub	r3, r3, #1
	str	r3, [fp, #-268]
.L13:
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L11:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-288]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-256]
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-288]
	sub	r3, r3, #1
	ldr	r2, [fp, #-284]
	cmp	r2, r3
	bne	.L16
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L17
.L18:
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #6
	ldr	r2, [fp, #-292]
	add	r2, r2, r3
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-64]
	ldr	r3, [fp, #-272]
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L17:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-256]
	cmp	r2, r3
	blt	.L18
	b	.L19
.L16:
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L20
.L21:
	ldr	r3, [fp, #-252]
	sub	r3, r3, #1
	ldr	r2, [fp, #-284]
	lsl	r2, r2, #6
	ldr	r1, [fp, #-292]
	add	r2, r1, r2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-64]
	ldr	r3, [fp, #-272]
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-252]
	sub	r3, r3, #1
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L20:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-256]
	cmp	r2, r3
	blt	.L21
.L19:
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #6
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r2, [fp, #-256]
	str	r2, [r3, #60]
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC0
	.size	dobra, .-dobra
	.align	2
	.global	build_candidatos
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_candidatos, %function
build_candidatos:
	@ args = 8, 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]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L26
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L27
.L28:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-20]
	bl	dobra
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L27:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L28
	b	.L32
.L26:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #-67108863
	lsl	r3, r3, #6
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r2, [r3, #60]
	ldr	r3, [fp, #4]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L30
.L31:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #-67108863
	lsl	r3, r3, #6
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	mov	r0, r3
	ldr	r3, [fp, #-16]
	sub	r3, r3, #-67108863
	lsl	r3, r3, #6
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r2, [r3, #60]
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-8]
	bl	dobra
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L31
.L32:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	build_candidatos, .-build_candidatos
	.align	2
	.global	eh_igual
	.syntax unified
	.arm
	.fpu softvfp
	.type	eh_igual, %function
eh_igual:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L34
.L36:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #6
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L35
	mov	r3, #1
	str	r3, [fp, #-12]
.L35:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L34:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L36
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L37
.L39:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #6
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L38
	mov	r3, #1
	str	r3, [fp, #-8]
.L38:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L37:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L39
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L40
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L40
	mov	r3, #0
	b	.L41
.L40:
	mov	r3, #1
.L41:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	eh_igual, .-eh_igual
	.align	2
	.global	make_move
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_move, %function
make_move:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L43
.L44:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #6
	ldr	r2, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #6
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r1, [fp, #-8]
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L43:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #6
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3, #60]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L44
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #6
	ldr	r2, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #6
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r2, [r2, #60]
	str	r2, [r3, #60]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	make_move, .-make_move
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	backtrack
	.syntax unified
	.arm
	.fpu softvfp
	.type	backtrack, %function
backtrack:
	@ args = 8, pretend = 0, frame = 1000
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1008
	str	r0, [fp, #-984]
	str	r1, [fp, #-988]
	str	r2, [fp, #-992]
	str	r3, [fp, #-996]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-1000]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-972]
	ldr	r3, [fp, #8]
	ldr	r2, [fp, #-1000]
	ldr	r1, [fp, #-988]
	ldr	r0, [fp, #-984]
	bl	eh_igual
	mov	r3, r0
	cmp	r3, #1
	beq	.L46
	ldr	r3, [fp, #-988]
	lsl	r3, r3, #6
	ldr	r2, [fp, #-984]
	add	r3, r2, r3
	ldr	r3, [r3, #60]
	cmp	r3, #1
	bne	.L47
.L46:
	ldr	r3, [fp, #8]
	ldr	r2, [fp, #-1000]
	ldr	r1, [fp, #-988]
	ldr	r0, [fp, #-984]
	bl	eh_igual
	mov	r3, r0
	cmp	r3, #1
	bne	.L49
	mov	r0, #83
	bl	putchar
	mov	r0, #0
	bl	exit
.L47:
	ldr	r3, [fp, #-988]
	add	r3, r3, #1
	str	r3, [fp, #-988]
	sub	r2, fp, #968
	ldr	r3, [fp, #-984]
	str	r3, [sp, #4]
	sub	r3, fp, #980
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-996]
	ldr	r1, [fp, #-992]
	ldr	r0, [fp, #-988]
	bl	build_candidatos
	mov	r3, #0
	str	r3, [fp, #-976]
	b	.L50
.L51:
	sub	r3, fp, #968
	ldr	r2, [fp, #-988]
	ldr	r1, [fp, #-976]
	ldr	r0, [fp, #-984]
	bl	make_move
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-1000]
	str	r3, [sp]
	ldr	r3, [fp, #-996]
	ldr	r2, [fp, #-992]
	ldr	r1, [fp, #-988]
	ldr	r0, [fp, #-984]
	bl	backtrack
	ldr	r3, [fp, #-976]
	add	r3, r3, #1
	str	r3, [fp, #-976]
.L50:
	ldr	r3, [fp, #-980]
	sub	r3, r3, #1
	ldr	r2, [fp, #-976]
	cmp	r2, r3
	blt	.L51
.L49:
	nop
	ldr	r3, .L53
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L52
	bl	__stack_chk_fail
.L52:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC1
	.size	backtrack, .-backtrack
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%d\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 = 1096
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1104
	ldr	r3, .L64
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1088
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L64+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-1092]
	b	.L56
.L57:
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1092]
	lsl	r2, r2, #2
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L64+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-1092]
	add	r3, r3, #1
	str	r3, [fp, #-1092]
.L56:
	ldr	r3, [fp, #-1100]
	ldr	r2, [fp, #-1092]
	cmp	r2, r3
	blt	.L57
	sub	r3, fp, #1088
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L64+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-1092]
	b	.L58
.L59:
	sub	r2, fp, #1024
	sub	r2, r2, #4
	ldr	r3, [fp, #-1092]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L64+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-1092]
	add	r3, r3, #1
	str	r3, [fp, #-1092]
.L58:
	ldr	r3, [fp, #-1096]
	ldr	r2, [fp, #-1092]
	cmp	r2, r3
	blt	.L59
	mov	r3, #0
	str	r3, [fp, #-1092]
	b	.L60
.L61:
	ldr	r3, [fp, #-1092]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1084]
	ldr	r3, [fp, #-1092]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-964]
	ldr	r3, [fp, #-1092]
	add	r3, r3, #1
	str	r3, [fp, #-1092]
.L60:
	ldr	r3, [fp, #-1100]
	ldr	r2, [fp, #-1092]
	cmp	r2, r3
	blt	.L61
	ldr	r1, [fp, #-1100]
	ldr	r3, [fp, #-1096]
	sub	r2, fp, #1072
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r0, fp, #968
	str	r3, [sp, #4]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, r1
	mov	r1, #0
	bl	backtrack
	mov	r0, #78
	bl	putchar
	mov	r3, #0
	ldr	r2, .L64
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	.LC3
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
