	.file	"502311.c"
	.intel_syntax noprefix
	.text
	.globl	checkRow
	.type	checkRow, @function
checkRow:
.LFB0:
	.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	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], 0
	add	DWORD PTR -52[rbp], 1
.L2:
	cmp	DWORD PTR -52[rbp], 8
	jle	.L3
	mov	DWORD PTR -52[rbp], 0
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	test	eax, eax
	jne	.L10
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], 1
	add	DWORD PTR -52[rbp], 1
.L4:
	cmp	DWORD PTR -52[rbp], 8
	jle	.L7
	jmp	.L6
.L10:
	nop
.L6:
	cmp	DWORD PTR -52[rbp], 9
	sete	al
	movzx	eax, al
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	checkRow, .-checkRow
	.globl	checkCol
	.type	checkCol, @function
checkCol:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], 0
	add	DWORD PTR -52[rbp], 1
.L12:
	cmp	DWORD PTR -52[rbp], 8
	jle	.L13
	mov	DWORD PTR -52[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	test	eax, eax
	jne	.L20
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], 1
	add	DWORD PTR -52[rbp], 1
.L14:
	cmp	DWORD PTR -52[rbp], 8
	jle	.L17
	jmp	.L16
.L20:
	nop
.L16:
	cmp	DWORD PTR -52[rbp], 9
	sete	al
	movzx	eax, al
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	checkCol, .-checkCol
	.globl	checkSquare
	.type	checkSquare, @function
checkSquare:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	DWORD PTR -80[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], 0
	add	DWORD PTR -56[rbp], 1
.L22:
	cmp	DWORD PTR -56[rbp], 8
	jle	.L23
	mov	DWORD PTR -56[rbp], 0
	jmp	.L24
.L29:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L25
.L28:
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	ecx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, ecx
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	test	eax, eax
	jne	.L32
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	ecx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, ecx
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], 1
	add	DWORD PTR -52[rbp], 1
.L25:
	cmp	DWORD PTR -52[rbp], 2
	jle	.L28
	jmp	.L27
.L32:
	nop
.L27:
	add	DWORD PTR -56[rbp], 1
.L24:
	cmp	DWORD PTR -56[rbp], 2
	jle	.L29
	cmp	DWORD PTR -56[rbp], 3
	sete	al
	movzx	eax, al
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	checkSquare, .-checkSquare
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"sudokode.in"
.LC2:
	.string	"%d "
.LC3:
	.string	"%c "
.LC4:
	.string	"Sudoku #%d:  "
.LC5:
	.string	"Dave's the man!\n"
.LC6:
	.string	"Try again, Dave!\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 368
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -344[rbp], rax
	lea	rdx, -364[rbp]
	mov	rax, QWORD PTR -344[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -348[rbp], 1
	jmp	.L34
.L53:
	mov	DWORD PTR -360[rbp], 0
	jmp	.L35
.L38:
	mov	DWORD PTR -356[rbp], 0
	jmp	.L36
.L37:
	lea	rdx, -365[rbp]
	mov	rax, QWORD PTR -344[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	movzx	eax, BYTE PTR -365[rbp]
	movsx	eax, al
	lea	ecx, -49[rax]
	mov	eax, DWORD PTR -356[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -360[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rsi
	mov	DWORD PTR -336[rbp+rax*4], ecx
	add	DWORD PTR -356[rbp], 1
.L36:
	cmp	DWORD PTR -356[rbp], 8
	jle	.L37
	add	DWORD PTR -360[rbp], 1
.L35:
	cmp	DWORD PTR -360[rbp], 8
	jle	.L38
	mov	DWORD PTR -352[rbp], 1
	mov	DWORD PTR -360[rbp], 0
	jmp	.L39
.L41:
	mov	edx, DWORD PTR -360[rbp]
	lea	rax, -336[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	checkRow
	mov	DWORD PTR -352[rbp], eax
	add	DWORD PTR -360[rbp], 1
.L39:
	cmp	DWORD PTR -360[rbp], 8
	jg	.L40
	cmp	DWORD PTR -352[rbp], 1
	je	.L41
.L40:
	mov	DWORD PTR -356[rbp], 0
	jmp	.L42
.L44:
	mov	edx, DWORD PTR -356[rbp]
	lea	rax, -336[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	checkCol
	mov	DWORD PTR -352[rbp], eax
	add	DWORD PTR -356[rbp], 1
.L42:
	cmp	DWORD PTR -356[rbp], 8
	jg	.L43
	cmp	DWORD PTR -352[rbp], 1
	je	.L44
.L43:
	mov	DWORD PTR -360[rbp], 0
	jmp	.L45
.L50:
	mov	DWORD PTR -356[rbp], 0
	jmp	.L46
.L48:
	mov	edx, DWORD PTR -356[rbp]
	mov	ecx, DWORD PTR -360[rbp]
	lea	rax, -336[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	checkSquare
	mov	DWORD PTR -352[rbp], eax
	add	DWORD PTR -356[rbp], 3
.L46:
	cmp	DWORD PTR -356[rbp], 8
	jg	.L47
	cmp	DWORD PTR -352[rbp], 1
	je	.L48
.L47:
	add	DWORD PTR -360[rbp], 3
.L45:
	cmp	DWORD PTR -360[rbp], 8
	jg	.L49
	cmp	DWORD PTR -352[rbp], 1
	je	.L50
.L49:
	mov	eax, DWORD PTR -348[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -352[rbp], 0
	je	.L51
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L52
.L51:
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L52:
	add	DWORD PTR -348[rbp], 1
.L34:
	mov	eax, DWORD PTR -364[rbp]
	cmp	DWORD PTR -348[rbp], eax
	jle	.L53
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L55
	call	__stack_chk_fail@PLT
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"502311.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	checkRow
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkRow, %function
checkRow:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L2
.L3:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-40]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L2:
	ldr	r3, [fp, #-48]
	cmp	r3, #8
	ble	.L3
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L4
.L7:
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldr	r2, [fp, #-48]
	ldr	r3, [r3, r2, lsl #2]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	cmp	r3, #0
	bne	.L10
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldr	r2, [fp, #-48]
	ldr	r3, [r3, r2, lsl #2]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-40]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L4:
	ldr	r3, [fp, #-48]
	cmp	r3, #8
	ble	.L7
	b	.L6
.L10:
	nop
.L6:
	ldr	r3, [fp, #-48]
	cmp	r3, #9
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	checkRow, .-checkRow
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	checkCol
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkCol, %function
checkCol:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L14
.L15:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-40]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L14:
	ldr	r3, [fp, #-48]
	cmp	r3, #8
	ble	.L15
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L16
.L19:
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldr	r2, [fp, #-60]
	ldr	r3, [r3, r2, lsl #2]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	cmp	r3, #0
	bne	.L22
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldr	r2, [fp, #-60]
	ldr	r3, [r3, r2, lsl #2]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-40]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L16:
	ldr	r3, [fp, #-48]
	cmp	r3, #8
	ble	.L19
	b	.L18
.L22:
	nop
.L18:
	ldr	r3, [fp, #-48]
	cmp	r3, #9
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC1
	.size	checkCol, .-checkCol
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	checkSquare
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkSquare, %function
checkSquare:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L26
.L27:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-40]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L26:
	ldr	r3, [fp, #-52]
	cmp	r3, #8
	ble	.L27
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L28
.L33:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L29
.L32:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r2, [fp, #-48]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	cmp	r3, #0
	bne	.L36
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r2, [fp, #-48]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-40]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L29:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	ble	.L32
	b	.L31
.L36:
	nop
.L31:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L28:
	ldr	r3, [fp, #-52]
	cmp	r3, #2
	ble	.L33
	ldr	r3, [fp, #-52]
	cmp	r3, #3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC2
	.size	checkSquare, .-checkSquare
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"sudokode.in\000"
	.align	2
.LC5:
	.ascii	"%d \000"
	.align	2
.LC6:
	.ascii	"%c \000"
	.align	2
.LC7:
	.ascii	"Sudoku #%d:  \000"
	.align	2
.LC8:
	.ascii	"Dave's the man!\012\000"
	.align	2
.LC9:
	.ascii	"Try again, Dave!\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 360
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #360
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L62+4
	ldr	r0, .L62+8
	bl	fopen
	str	r0, [fp, #-336]
	sub	r3, fp, #356
	mov	r2, r3
	ldr	r1, .L62+12
	ldr	r0, [fp, #-336]
	bl	__isoc99_fscanf
	mov	r3, #1
	str	r3, [fp, #-340]
	b	.L40
.L59:
	mov	r3, #0
	str	r3, [fp, #-352]
	b	.L41
.L44:
	mov	r3, #0
	str	r3, [fp, #-348]
	b	.L42
.L43:
	sub	r3, fp, #356
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L62+16
	ldr	r0, [fp, #-336]
	bl	__isoc99_fscanf
	ldrb	r3, [fp, #-357]	@ zero_extendqisi2
	sub	r1, r3, #49
	ldr	r2, [fp, #-352]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-348]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-328]
	ldr	r3, [fp, #-348]
	add	r3, r3, #1
	str	r3, [fp, #-348]
.L42:
	ldr	r3, [fp, #-348]
	cmp	r3, #8
	ble	.L43
	ldr	r3, [fp, #-352]
	add	r3, r3, #1
	str	r3, [fp, #-352]
.L41:
	ldr	r3, [fp, #-352]
	cmp	r3, #8
	ble	.L44
	mov	r3, #1
	str	r3, [fp, #-344]
	mov	r3, #0
	str	r3, [fp, #-352]
	b	.L45
.L47:
	sub	r3, fp, #332
	ldr	r1, [fp, #-352]
	mov	r0, r3
	bl	checkRow
	str	r0, [fp, #-344]
	ldr	r3, [fp, #-352]
	add	r3, r3, #1
	str	r3, [fp, #-352]
.L45:
	ldr	r3, [fp, #-352]
	cmp	r3, #8
	bgt	.L46
	ldr	r3, [fp, #-344]
	cmp	r3, #1
	beq	.L47
.L46:
	mov	r3, #0
	str	r3, [fp, #-348]
	b	.L48
.L50:
	sub	r3, fp, #332
	ldr	r1, [fp, #-348]
	mov	r0, r3
	bl	checkCol
	str	r0, [fp, #-344]
	ldr	r3, [fp, #-348]
	add	r3, r3, #1
	str	r3, [fp, #-348]
.L48:
	ldr	r3, [fp, #-348]
	cmp	r3, #8
	bgt	.L49
	ldr	r3, [fp, #-344]
	cmp	r3, #1
	beq	.L50
.L49:
	mov	r3, #0
	str	r3, [fp, #-352]
	b	.L51
.L56:
	mov	r3, #0
	str	r3, [fp, #-348]
	b	.L52
.L54:
	sub	r3, fp, #332
	ldr	r2, [fp, #-348]
	ldr	r1, [fp, #-352]
	mov	r0, r3
	bl	checkSquare
	str	r0, [fp, #-344]
	ldr	r3, [fp, #-348]
	add	r3, r3, #3
	str	r3, [fp, #-348]
.L52:
	ldr	r3, [fp, #-348]
	cmp	r3, #8
	bgt	.L53
	ldr	r3, [fp, #-344]
	cmp	r3, #1
	beq	.L54
.L53:
	ldr	r3, [fp, #-352]
	add	r3, r3, #3
	str	r3, [fp, #-352]
.L51:
	ldr	r3, [fp, #-352]
	cmp	r3, #8
	bgt	.L55
	ldr	r3, [fp, #-344]
	cmp	r3, #1
	beq	.L56
.L55:
	ldr	r1, [fp, #-340]
	ldr	r0, .L62+20
	bl	printf
	ldr	r3, [fp, #-344]
	cmp	r3, #0
	beq	.L57
	ldr	r0, .L62+24
	bl	puts
	b	.L58
.L57:
	ldr	r0, .L62+28
	bl	puts
.L58:
	ldr	r3, [fp, #-340]
	add	r3, r3, #1
	str	r3, [fp, #-340]
.L40:
	ldr	r3, [fp, #-356]
	ldr	r2, [fp, #-340]
	cmp	r2, r3
	ble	.L59
	ldr	r0, [fp, #-336]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L62
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L61
	bl	__stack_chk_fail
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC10
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
