	.file	"137356.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 32
	.type	csPos2Sqr, @object
	.size	csPos2Sqr, 324
csPos2Sqr:
	.long	0
	.long	0
	.long	0
	.long	1
	.long	1
	.long	1
	.long	2
	.long	2
	.long	2
	.long	0
	.long	0
	.long	0
	.long	1
	.long	1
	.long	1
	.long	2
	.long	2
	.long	2
	.long	0
	.long	0
	.long	0
	.long	1
	.long	1
	.long	1
	.long	2
	.long	2
	.long	2
	.long	3
	.long	3
	.long	3
	.long	4
	.long	4
	.long	4
	.long	5
	.long	5
	.long	5
	.long	3
	.long	3
	.long	3
	.long	4
	.long	4
	.long	4
	.long	5
	.long	5
	.long	5
	.long	3
	.long	3
	.long	3
	.long	4
	.long	4
	.long	4
	.long	5
	.long	5
	.long	5
	.long	6
	.long	6
	.long	6
	.long	7
	.long	7
	.long	7
	.long	8
	.long	8
	.long	8
	.long	6
	.long	6
	.long	6
	.long	7
	.long	7
	.long	7
	.long	8
	.long	8
	.long	8
	.long	6
	.long	6
	.long	6
	.long	7
	.long	7
	.long	7
	.long	8
	.long	8
	.long	8
	.local	sRows
	.comm	sRows,36,32
	.local	sCols
	.comm	sCols,36,32
	.local	sSqrs
	.comm	sSqrs,36,32
	.local	sMatrix
	.comm	sMatrix,324,32
	.local	sPreset
	.comm	sPreset,81,32
	.local	sHistory
	.comm	sHistory,1620,32
	.local	sPresetCnt
	.comm	sPresetCnt,4,4
	.local	sTotalCnt
	.comm	sTotalCnt,4,4
	.local	sCnt
	.comm	sCnt,4,4
	.text
	.type	BSetGetLength, @function
BSetGetLength:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	je	.L3
	add	DWORD PTR -4[rbp], 1
.L3:
	shr	DWORD PTR -20[rbp]
.L2:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L4
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	BSetGetLength, .-BSetGetLength
	.type	BSetGetNth, @function
BSetGetNth:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L11:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	je	.L8
	sub	DWORD PTR -24[rbp], 1
	cmp	DWORD PTR -24[rbp], 0
	jns	.L8
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L9
.L8:
	shr	DWORD PTR -20[rbp]
	add	DWORD PTR -4[rbp], 1
.L7:
	cmp	DWORD PTR -4[rbp], 8
	jg	.L10
	cmp	DWORD PTR -24[rbp], 0
	jns	.L11
.L10:
	mov	eax, -1
.L9:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	BSetGetNth, .-BSetGetNth
	.section	.rodata
.LC0:
	.string	"the_stack_data/137356.c"
.LC1:
	.string	"*pRow != cNumCnt"
	.text
	.type	GetFreePos, @function
GetFreePos:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	movzx	eax, BYTE PTR sFirst.1[rip]
	test	al, al
	je	.L16
	mov	BYTE PTR sFirst.1[rip], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, sPreset[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L16
	mov	eax, 1
	jmp	.L14
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 9
	jne	.L15
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 9
	jne	.L15
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 116
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, sPreset[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L16
	mov	eax, 1
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	GetFreePos, .-GetFreePos
	.section	.rodata
.LC2:
	.string	"puzzle cannot be solved !"
	.text
	.type	ExitUnsolved, @function
ExitUnsolved:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	ExitUnsolved, .-ExitUnsolved
	.section	.rodata
.LC3:
	.string	"Usage: %s <matrix file>\n"
	.align 8
.LC4:
	.string	"### Brute-force Sudoku Solver ###\nCopyright 2006-2017 by Rainer Koppler\n"
.LC5:
	.string	"r"
.LC6:
	.string	"Error: could not read \"%s\"\n"
.LC7:
	.string	"%d %d %d %d %d %d %d %d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	cmp	DWORD PTR -84[rbp], 1
	jg	.L19
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L20
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L21
.L25:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 32[rax]
	lea	rax, sMatrix[rip]
	lea	r10, [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 28[rax]
	lea	rax, sMatrix[rip]
	lea	r9, [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 24[rax]
	lea	rax, sMatrix[rip]
	lea	r8, [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 20[rax]
	lea	rax, sMatrix[rip]
	lea	rdi, [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 16[rax]
	lea	rax, sMatrix[rip]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 12[rax]
	lea	rax, sMatrix[rip]
	lea	rbx, [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 8[rax]
	lea	rax, sMatrix[rip]
	lea	r11, [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 4[rax]
	lea	rax, sMatrix[rip]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, sMatrix[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	sub	rsp, 8
	push	r10
	push	r9
	push	r8
	push	rdi
	push	rsi
	mov	r9, rbx
	mov	r8, r11
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 48
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sSqrs[rip]
	mov	DWORD PTR [rdx+rax], 511
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sSqrs[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sCols[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sCols[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sRows[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	DWORD PTR -64[rbp], 0
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -64[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, sMatrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L23
	mov	eax, DWORD PTR -64[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, sPreset[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sRows[rip]
	mov	esi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -64[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, sMatrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	not	eax
	and	esi, eax
	mov	ecx, esi
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sRows[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR sPresetCnt[rip]
	add	eax, 1
	mov	DWORD PTR sPresetCnt[rip], eax
.L23:
	add	DWORD PTR -64[rbp], 1
.L22:
	cmp	DWORD PTR -64[rbp], 8
	jle	.L24
	add	DWORD PTR -68[rbp], 1
.L21:
	cmp	DWORD PTR -68[rbp], 8
	jle	.L25
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -64[rbp], 0
	jmp	.L26
.L30:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L27
.L29:
	mov	eax, DWORD PTR -64[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, sMatrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	je	.L28
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sCols[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	not	eax
	mov	ecx, edx
	and	ecx, eax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sCols[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -64[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, csPos2Sqr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sSqrs[rip]
	mov	esi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	not	eax
	mov	edi, eax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, csPos2Sqr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	and	esi, edi
	mov	ecx, esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sSqrs[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L28:
	add	DWORD PTR -68[rbp], 1
.L27:
	cmp	DWORD PTR -68[rbp], 8
	jle	.L29
	add	DWORD PTR -64[rbp], 1
.L26:
	cmp	DWORD PTR -64[rbp], 8
	jle	.L30
	mov	edx, DWORD PTR sPresetCnt[rip]
	mov	eax, 81
	sub	eax, edx
	mov	DWORD PTR sTotalCnt[rip], eax
	mov	DWORD PTR sCnt[rip], 0
	jmp	.L31
.L36:
	lea	rdx, -72[rbp]
	lea	rax, -76[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	GetFreePos
	test	al, al
	jne	.L32
	call	ExitUnsolved
.L32:
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -72[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, csPos2Sqr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sRows[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sCols[rip]
	mov	eax, DWORD PTR [rdx+rax]
	and	ecx, eax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sSqrs[rip]
	mov	eax, DWORD PTR [rdx+rax]
	and	eax, ecx
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	edi, eax
	call	BSetGetLength
	mov	DWORD PTR -56[rbp], eax
	mov	DWORD PTR -68[rbp], 0
	cmp	DWORD PTR -48[rbp], 0
	setne	al
	mov	BYTE PTR -77[rbp], al
	jmp	.L33
.L35:
	mov	eax, DWORD PTR sCnt[rip]
	test	eax, eax
	jne	.L34
	call	ExitUnsolved
.L34:
	add	DWORD PTR -52[rbp], 1
	mov	eax, DWORD PTR sCnt[rip]
	sub	eax, 1
	mov	DWORD PTR sCnt[rip], eax
	mov	eax, DWORD PTR sCnt[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, sHistory[rip]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -76[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -72[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, csPos2Sqr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -72[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, sMatrix[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -72[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, sMatrix[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sRows[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	mov	ecx, eax
	mov	eax, DWORD PTR -76[rbp]
	or	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sRows[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sCols[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	mov	ecx, eax
	mov	eax, DWORD PTR -72[rbp]
	or	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sCols[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sSqrs[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	mov	ecx, edx
	or	ecx, eax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sSqrs[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -56[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -68[rbp], eax
	add	DWORD PTR -68[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -68[rbp], eax
	setl	al
	mov	BYTE PTR -77[rbp], al
.L33:
	cmp	BYTE PTR -77[rbp], 0
	je	.L35
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, edx
	mov	edi, eax
	call	BSetGetNth
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -44[rbp]
	add	ecx, 1
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, sMatrix[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sRows[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	not	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -76[rbp]
	and	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sRows[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sCols[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	not	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -72[rbp]
	and	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sCols[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sSqrs[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	not	eax
	mov	ecx, edx
	and	ecx, eax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sSqrs[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR sCnt[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, sHistory[rip]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	mov	edx, DWORD PTR -76[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -68[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	eax, DWORD PTR sCnt[rip]
	add	eax, 1
	mov	DWORD PTR sCnt[rip], eax
.L31:
	mov	edx, DWORD PTR sCnt[rip]
	mov	eax, DWORD PTR sTotalCnt[rip]
	cmp	edx, eax
	jne	.L36
	mov	DWORD PTR -68[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, sMatrix[rip+32]
	mov	r9d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, sMatrix[rip+28]
	mov	r8d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, sMatrix[rip+24]
	mov	edi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, sMatrix[rip+20]
	mov	esi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, sMatrix[rip+16]
	mov	ebx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, sMatrix[rip+12]
	mov	r11d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, sMatrix[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, sMatrix[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	r10, eax
	mov	rax, r10
	sal	rax, 3
	add	rax, r10
	sal	rax, 2
	mov	r10, rax
	lea	rax, sMatrix[rip]
	mov	eax, DWORD PTR [r10+rax]
	push	r9
	push	r8
	push	rdi
	push	rsi
	mov	r9d, ebx
	mov	r8d, r11d
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	add	DWORD PTR -68[rbp], 1
.L37:
	cmp	DWORD PTR -68[rbp], 8
	jle	.L38
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.data
	.type	sFirst.1, @object
	.size	sFirst.1, 1
sFirst.1:
	.byte	1
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 11
__PRETTY_FUNCTION__.0:
	.string	"GetFreePos"
	.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	"137356.c"
	.text
	.section	.rodata
	.align	2
	.type	csPos2Sqr, %object
	.size	csPos2Sqr, 324
csPos2Sqr:
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.word	1
	.word	2
	.word	2
	.word	2
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.word	1
	.word	2
	.word	2
	.word	2
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.word	1
	.word	2
	.word	2
	.word	2
	.word	3
	.word	3
	.word	3
	.word	4
	.word	4
	.word	4
	.word	5
	.word	5
	.word	5
	.word	3
	.word	3
	.word	3
	.word	4
	.word	4
	.word	4
	.word	5
	.word	5
	.word	5
	.word	3
	.word	3
	.word	3
	.word	4
	.word	4
	.word	4
	.word	5
	.word	5
	.word	5
	.word	6
	.word	6
	.word	6
	.word	7
	.word	7
	.word	7
	.word	8
	.word	8
	.word	8
	.word	6
	.word	6
	.word	6
	.word	7
	.word	7
	.word	7
	.word	8
	.word	8
	.word	8
	.word	6
	.word	6
	.word	6
	.word	7
	.word	7
	.word	7
	.word	8
	.word	8
	.word	8
	.local	sRows
	.comm	sRows,36,4
	.local	sCols
	.comm	sCols,36,4
	.local	sSqrs
	.comm	sSqrs,36,4
	.local	sMatrix
	.comm	sMatrix,324,4
	.local	sPreset
	.comm	sPreset,81,4
	.local	sHistory
	.comm	sHistory,1620,4
	.local	sPresetCnt
	.comm	sPresetCnt,4,4
	.local	sTotalCnt
	.comm	sTotalCnt,4,4
	.local	sCnt
	.comm	sCnt,4,4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	BSetGetLength, %function
BSetGetLength:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L4:
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	BSetGetLength, .-BSetGetLength
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	BSetGetNth, %function
BSetGetNth:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L11:
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L8
	ldr	r3, [fp, #-8]
	b	.L9
.L8:
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bgt	.L10
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L11
.L10:
	mvn	r3, #0
.L9:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	BSetGetNth, .-BSetGetNth
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/137356.c\000"
	.align	2
.LC1:
	.ascii	"*pRow != cNumCnt\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetFreePos, %function
GetFreePos:
	@ 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]
	ldr	r3, .L17
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L17
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r1, [r3]
	ldr	r0, .L17+4
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L16
	mov	r3, #1
	b	.L14
.L16:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #9
	bne	.L15
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #9
	bne	.L15
	ldr	r3, .L17+8
	mov	r2, #116
	ldr	r1, .L17+12
	ldr	r0, .L17+16
	bl	__assert_fail
.L15:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r1, [r3]
	ldr	r0, .L17+4
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L16
	mov	r3, #1
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	sFirst.5173
	.word	sPreset
	.word	__PRETTY_FUNCTION__.5174
	.word	.LC0
	.word	.LC1
	.size	GetFreePos, .-GetFreePos
	.section	.rodata
	.align	2
.LC2:
	.ascii	"puzzle cannot be solved !\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ExitUnsolved, %function
ExitUnsolved:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L20
	bl	puts
	mov	r0, #1
	bl	exit
.L21:
	.align	2
.L20:
	.word	.LC2
	.size	ExitUnsolved, .-ExitUnsolved
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Usage: %s <matrix file>\012\000"
	.align	2
.LC4:
	.ascii	"### Brute-force Sudoku Solver ###\012Copyright 2006"
	.ascii	"-2017 by Rainer Koppler\012\000"
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"Error: could not read \"%s\"\012\000"
	.align	2
.LC7:
	.ascii	"%d %d %d %d %d %d %d %d %d\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #100
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-88]
	cmp	r3, #1
	bgt	.L23
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L44+4
	bl	printf
	mov	r0, #1
	bl	exit
.L23:
	ldr	r0, .L44+8
	bl	puts
	ldr	r3, [fp, #-92]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L44+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-92]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L44+16
	bl	printf
	mov	r0, #1
	bl	exit
.L24:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L25
.L29:
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L44+20
	add	r6, r3, r2
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #4
	ldr	r2, .L44+20
	add	r7, r3, r2
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L44+20
	add	r1, r3, r2
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #12
	ldr	r2, .L44+20
	add	r0, r3, r2
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #16
	ldr	r2, .L44+20
	add	ip, r3, r2
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #20
	ldr	r2, .L44+20
	add	lr, r3, r2
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #24
	ldr	r2, .L44+20
	add	r4, r3, r2
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #28
	ldr	r2, .L44+20
	add	r5, r3, r2
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #32
	ldr	r2, .L44+20
	add	r3, r3, r2
	str	r3, [sp, #24]
	str	r5, [sp, #20]
	str	r4, [sp, #16]
	str	lr, [sp, #12]
	str	ip, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, r7
	mov	r2, r6
	ldr	r1, .L44+24
	ldr	r0, [fp, #-44]
	bl	__isoc99_fscanf
	ldr	r2, .L44+28
	ldr	r3, [fp, #-68]
	ldr	r1, .L44+32
	str	r1, [r2, r3, lsl #2]
	ldr	r2, .L44+28
	ldr	r3, [fp, #-68]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L44+36
	ldr	r3, [fp, #-68]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L44+36
	ldr	r3, [fp, #-68]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L44+40
	ldr	r3, [fp, #-68]
	str	r2, [r1, r3, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L26
.L28:
	ldr	r1, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	beq	.L27
	ldr	r1, .L44+44
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r2, .L44+40
	ldr	r3, [fp, #-68]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r0, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	sub	r3, r3, #1
	mov	r2, #1
	lsl	r3, r2, r3
	mvn	r3, r3
	and	r2, r1, r3
	ldr	r1, .L44+40
	ldr	r3, [fp, #-68]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L44+48
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L44+48
	str	r3, [r2]
.L27:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L26:
	ldr	r3, [fp, #-64]
	cmp	r3, #8
	ble	.L28
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L25:
	ldr	r3, [fp, #-68]
	cmp	r3, #8
	ble	.L29
	ldr	r0, [fp, #-44]
	bl	fclose
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L30
.L34:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L31
.L33:
	ldr	r1, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L32
	ldr	r2, .L44+36
	ldr	r3, [fp, #-64]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-40]
	sub	r2, r2, #1
	mov	r1, #1
	lsl	r2, r1, r2
	mvn	r2, r2
	and	r2, r2, r3
	ldr	r1, .L44+36
	ldr	r3, [fp, #-64]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L44+52
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, .L44+28
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	mov	r2, #1
	lsl	r3, r2, r3
	mvn	r3, r3
	mov	ip, r3
	ldr	r0, .L44+52
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	and	r2, r1, ip
	ldr	r1, .L44+28
	str	r2, [r1, r3, lsl #2]
.L32:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L31:
	ldr	r3, [fp, #-68]
	cmp	r3, #8
	ble	.L33
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L30:
	ldr	r3, [fp, #-64]
	cmp	r3, #8
	ble	.L34
	ldr	r3, .L44+48
	ldr	r3, [r3]
	rsb	r3, r3, #81
	ldr	r2, .L44+56
	str	r3, [r2]
	ldr	r3, .L44+60
	mov	r2, #0
	str	r2, [r3]
	b	.L35
.L40:
	sub	r2, fp, #72
	sub	r3, fp, #76
	mov	r1, r2
	mov	r0, r3
	bl	GetFreePos
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	bl	ExitUnsolved
.L36:
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-72]
	ldr	r0, .L44+52
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-76]
	ldr	r2, .L44+40
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-72]
	ldr	r1, .L44+36
	ldr	r3, [r1, r3, lsl #2]
	and	r2, r2, r3
	ldr	r1, .L44+28
	ldr	r3, [fp, #-60]
	ldr	r3, [r1, r3, lsl #2]
	and	r3, r3, r2
	str	r3, [fp, #-48]
	ldr	r0, [fp, #-48]
	bl	BSetGetLength
	str	r0, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	strb	r3, [fp, #-77]
	b	.L37
.L39:
	ldr	r3, .L44+60
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L38
	bl	ExitUnsolved
.L38:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, .L44+60
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L44+60
	str	r3, [r2]
	ldr	r3, .L44+60
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L44+64
	add	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-72]
	ldr	r0, .L44+52
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-60]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-72]
	ldr	r0, .L44+20
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-72]
	ldr	r0, .L44+20
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r3, r1
	mov	r2, #0
	str	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-76]
	ldr	r2, .L44+40
	ldr	r2, [r2, r3, lsl #2]
	mov	r1, #1
	ldr	r3, [fp, #-40]
	lsl	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-76]
	orr	r2, r2, r1
	ldr	r1, .L44+40
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-72]
	ldr	r2, .L44+36
	ldr	r2, [r2, r3, lsl #2]
	mov	r1, #1
	ldr	r3, [fp, #-40]
	lsl	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-72]
	orr	r2, r2, r1
	ldr	r1, .L44+36
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L44+28
	ldr	r3, [fp, #-60]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, #1
	ldr	r2, [fp, #-40]
	lsl	r2, r1, r2
	orr	r2, r3, r2
	ldr	r1, .L44+28
	ldr	r3, [fp, #-60]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	strb	r3, [fp, #-77]
.L37:
	ldrb	r3, [fp, #-77]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L39
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-48]
	bl	BSetGetNth
	str	r0, [fp, #-40]
	ldr	r2, [fp, #-76]
	ldr	r0, [fp, #-72]
	ldr	r3, [fp, #-40]
	add	r1, r3, #1
	ldr	ip, .L44+20
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r3, r0
	str	r1, [ip, r3, lsl #2]
	ldr	r3, [fp, #-76]
	ldr	r2, .L44+40
	ldr	r2, [r2, r3, lsl #2]
	mov	r1, #1
	ldr	r3, [fp, #-40]
	lsl	r3, r1, r3
	mvn	r3, r3
	mov	r1, r3
	ldr	r3, [fp, #-76]
	and	r2, r2, r1
	ldr	r1, .L44+40
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-72]
	ldr	r2, .L44+36
	ldr	r2, [r2, r3, lsl #2]
	mov	r1, #1
	ldr	r3, [fp, #-40]
	lsl	r3, r1, r3
	mvn	r3, r3
	mov	r1, r3
	ldr	r3, [fp, #-72]
	and	r2, r2, r1
	ldr	r1, .L44+36
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L44+28
	ldr	r3, [fp, #-60]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, #1
	ldr	r2, [fp, #-40]
	lsl	r2, r1, r2
	mvn	r2, r2
	and	r2, r2, r3
	ldr	r1, .L44+28
	ldr	r3, [fp, #-60]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L44+60
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L44+64
	add	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-36]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-48]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-56]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-68]
	str	r2, [r3, #12]
	ldr	r3, .L44+60
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L44+60
	str	r3, [r2]
.L35:
	ldr	r3, .L44+60
	ldr	r2, [r3]
	ldr	r3, .L44+56
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L40
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L41
.L42:
	ldr	r1, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r5, [r3]
	ldr	r1, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r6, [r3]
	ldr	r1, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r7, [r3]
	ldr	r1, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r1, [r3]
	ldr	r0, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #16
	ldr	r0, [r3]
	ldr	ip, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, ip, r3
	add	r3, r3, #20
	ldr	ip, [r3]
	ldr	lr, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, lr, r3
	add	r3, r3, #24
	ldr	lr, [r3]
	ldr	r4, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r4, r3
	add	r3, r3, #28
	ldr	r4, [r3]
	ldr	r8, .L44+20
	ldr	r2, [fp, #-68]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r8, r3
	add	r3, r3, #32
	ldr	r3, [r3]
	str	r3, [sp, #20]
	str	r4, [sp, #16]
	str	lr, [sp, #12]
	str	ip, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	ldr	r0, .L44+24
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L41:
	ldr	r3, [fp, #-68]
	cmp	r3, #8
	ble	.L42
	mov	r0, #0
	bl	exit
.L45:
	.align	2
.L44:
	.word	.LC8
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	sMatrix
	.word	.LC7
	.word	sSqrs
	.word	511
	.word	sCols
	.word	sRows
	.word	sPreset
	.word	sPresetCnt
	.word	csPos2Sqr
	.word	sTotalCnt
	.word	sCnt
	.word	sHistory
	.size	main, .-main
	.data
	.type	sFirst.5173, %object
	.size	sFirst.5173, 1
sFirst.5173:
	.byte	1
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5174, %object
	.size	__PRETTY_FUNCTION__.5174, 11
__PRETTY_FUNCTION__.5174:
	.ascii	"GetFreePos\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
