	.file	"137834.c"
	.intel_syntax noprefix
	.text
	.globl	result
	.bss
	.align 8
	.type	result, @object
	.size	result, 8
result:
	.zero	8
	.globl	sudoku
	.data
	.align 32
	.type	sudoku, @object
	.size	sudoku, 324
sudoku:
	.long	6
	.long	2
	.long	4
	.long	5
	.long	3
	.long	9
	.long	1
	.long	8
	.long	7
	.long	5
	.long	1
	.long	9
	.long	7
	.long	2
	.long	8
	.long	6
	.long	3
	.long	4
	.long	8
	.long	3
	.long	7
	.long	6
	.long	1
	.long	4
	.long	2
	.long	9
	.long	5
	.long	1
	.long	4
	.long	3
	.long	8
	.long	6
	.long	5
	.long	7
	.long	2
	.long	9
	.long	9
	.long	5
	.long	8
	.long	2
	.long	4
	.long	7
	.long	3
	.long	6
	.long	1
	.long	7
	.long	6
	.long	2
	.long	3
	.long	9
	.long	1
	.long	4
	.long	5
	.long	8
	.long	3
	.long	7
	.long	1
	.long	9
	.long	5
	.long	6
	.long	8
	.long	4
	.long	2
	.long	4
	.long	9
	.long	6
	.long	1
	.long	8
	.long	2
	.long	5
	.long	7
	.long	3
	.long	2
	.long	8
	.long	5
	.long	4
	.long	7
	.long	3
	.long	9
	.long	1
	.long	6
	.globl	boss
	.bss
	.align 8
	.type	boss, @object
	.size	boss, 8
boss:
	.zero	8
	.globl	workers
	.align 32
	.type	workers, @object
	.size	workers, 216
workers:
	.zero	216
	.text
	.globl	validate
	.type	validate, @function
validate:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L2
	mov	DWORD PTR -88[rbp], 0
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 4[rax]
	sub	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, sudoku[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	add	DWORD PTR -88[rbp], 1
.L3:
	cmp	DWORD PTR -88[rbp], 8
	jle	.L4
	jmp	.L5
.L2:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L6
	mov	DWORD PTR -84[rbp], 0
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, sudoku[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	add	DWORD PTR -84[rbp], 1
.L7:
	cmp	DWORD PTR -84[rbp], 8
	jle	.L8
	jmp	.L5
.L6:
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	jmp	.L9
.L12:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -2[rax]
	mov	eax, DWORD PTR -76[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 4[rax]
	lea	ecx, -2[rax]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, ecx
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, sudoku[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	add	DWORD PTR -80[rbp], 1
	add	DWORD PTR -72[rbp], 1
.L10:
	cmp	DWORD PTR -72[rbp], 2
	jle	.L11
	add	DWORD PTR -76[rbp], 1
.L9:
	cmp	DWORD PTR -76[rbp], 2
	jle	.L12
.L5:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L13
.L19:
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	edx, DWORD PTR -64[rbp]
	add	edx, 1
	cmp	eax, edx
	jne	.L15
	mov	DWORD PTR -68[rbp], 1
.L15:
	add	DWORD PTR -60[rbp], 1
.L14:
	cmp	DWORD PTR -60[rbp], 8
	jle	.L16
	cmp	DWORD PTR -68[rbp], 0
	je	.L22
	add	DWORD PTR -64[rbp], 1
.L13:
	cmp	DWORD PTR -64[rbp], 8
	jle	.L19
	jmp	.L18
.L22:
	nop
.L18:
	mov	rdx, QWORD PTR result[rip]
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	validate, .-validate
	.globl	mainthread
	.type	mainthread, @function
mainthread:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	edi, 56
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	edi, 108
	call	malloc@PLT
	mov	QWORD PTR result[rip], rax
	mov	DWORD PTR -56[rbp], 0
	jmp	.L24
.L25:
	mov	rdx, QWORD PTR result[rip]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -56[rbp], 1
.L24:
	cmp	DWORD PTR -56[rbp], 26
	jle	.L25
	mov	DWORD PTR -52[rbp], 0
	jmp	.L26
.L27:
	mov	edi, 12
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, workers[rip]
	lea	rdi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	lea	rdx, validate[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	add	DWORD PTR -52[rbp], 1
.L26:
	cmp	DWORD PTR -52[rbp], 8
	jle	.L27
	mov	DWORD PTR -48[rbp], 0
	jmp	.L28
.L29:
	mov	edi, 12
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -48[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 4[rax], 0
	mov	eax, DWORD PTR -48[rbp]
	lea	edx, 9[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 9
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, workers[rip]
	lea	rdi, [rdx+rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	lea	rdx, validate[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	add	DWORD PTR -48[rbp], 1
.L28:
	cmp	DWORD PTR -48[rbp], 8
	jle	.L29
	mov	DWORD PTR -44[rbp], 0
	jmp	.L30
.L31:
	mov	edi, 12
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edx, DWORD PTR -44[rbp]
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	add	ecx, ecx
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	edx, eax
	add	edx, edx
	add	eax, edx
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	sub	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 18[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 18
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, workers[rip]
	lea	rdi, [rdx+rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	lea	rdx, validate[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	add	DWORD PTR -44[rbp], 1
.L30:
	cmp	DWORD PTR -44[rbp], 8
	jle	.L31
	mov	DWORD PTR -40[rbp], 0
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, workers[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -40[rbp], 1
.L32:
	cmp	DWORD PTR -40[rbp], 26
	jle	.L33
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mainthread, .-mainthread
	.section	.rodata
.LC0:
	.string	"%d "
.LC1:
	.string	"Sector %d fails validation.\n"
.LC2:
	.string	"All sectors pass validation"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -28[rbp], 0
	jmp	.L36
.L39:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, sudoku[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -24[rbp], 1
.L37:
	cmp	DWORD PTR -24[rbp], 8
	jle	.L38
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -28[rbp], 1
.L36:
	cmp	DWORD PTR -28[rbp], 8
	jle	.L39
	mov	edi, 56
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, 0
	lea	rdx, mainthread[rip]
	mov	rsi, rax
	lea	rdi, boss[rip]
	call	pthread_create@PLT
	mov	rax, QWORD PTR boss[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -16[rbp], 0
	jmp	.L40
.L42:
	mov	rdx, QWORD PTR result[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L41
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -20[rbp], 0
.L41:
	add	DWORD PTR -16[rbp], 1
.L40:
	cmp	DWORD PTR -16[rbp], 26
	jle	.L42
	cmp	DWORD PTR -20[rbp], 0
	je	.L43
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L43:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"137834.c"
	.text
	.comm	result,4,4
	.global	sudoku
	.data
	.align	2
	.type	sudoku, %object
	.size	sudoku, 324
sudoku:
	.word	6
	.word	2
	.word	4
	.word	5
	.word	3
	.word	9
	.word	1
	.word	8
	.word	7
	.word	5
	.word	1
	.word	9
	.word	7
	.word	2
	.word	8
	.word	6
	.word	3
	.word	4
	.word	8
	.word	3
	.word	7
	.word	6
	.word	1
	.word	4
	.word	2
	.word	9
	.word	5
	.word	1
	.word	4
	.word	3
	.word	8
	.word	6
	.word	5
	.word	7
	.word	2
	.word	9
	.word	9
	.word	5
	.word	8
	.word	2
	.word	4
	.word	7
	.word	3
	.word	6
	.word	1
	.word	7
	.word	6
	.word	2
	.word	3
	.word	9
	.word	1
	.word	4
	.word	5
	.word	8
	.word	3
	.word	7
	.word	1
	.word	9
	.word	5
	.word	6
	.word	8
	.word	4
	.word	2
	.word	4
	.word	9
	.word	6
	.word	1
	.word	8
	.word	2
	.word	5
	.word	7
	.word	3
	.word	2
	.word	8
	.word	5
	.word	4
	.word	7
	.word	3
	.word	9
	.word	1
	.word	6
	.comm	boss,4,4
	.comm	workers,108,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	validate
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate, %function
validate:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L3
.L4:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	sub	r1, r3, #1
	ldr	r0, .L23+4
	ldr	r2, [fp, #-80]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-40]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L3:
	ldr	r3, [fp, #-80]
	cmp	r3, #8
	ble	.L4
	b	.L5
.L2:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L6
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L7
.L8:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L23+4
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-76]
	add	r3, r3, r2
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-40]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L7:
	ldr	r3, [fp, #-76]
	cmp	r3, #8
	ble	.L8
	b	.L5
.L6:
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L9
.L12:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L10
.L11:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	sub	r2, r3, #2
	ldr	r3, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	sub	r1, r3, #2
	ldr	r3, [fp, #-64]
	add	r1, r1, r3
	ldr	r0, .L23+4
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-40]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L10:
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	ble	.L11
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L9:
	ldr	r3, [fp, #-68]
	cmp	r3, #2
	ble	.L12
.L5:
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L13
.L19:
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L14
.L16:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-40]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	cmp	r2, r3
	bne	.L15
	mov	r3, #1
	str	r3, [fp, #-60]
.L15:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L14:
	ldr	r3, [fp, #-52]
	cmp	r3, #8
	ble	.L16
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L13:
	ldr	r3, [fp, #-56]
	cmp	r3, #8
	ble	.L19
	b	.L18
.L22:
	nop
.L18:
	ldr	r3, .L23+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-60]
	str	r2, [r3]
	ldr	r0, [fp, #-48]
	bl	free
	mov	r3, #0
	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	.LC0
	.word	sudoku
	.word	result
	.size	validate, .-validate
	.align	2
	.global	mainthread
	.syntax unified
	.arm
	.fpu softvfp
	.type	mainthread, %function
mainthread:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	mov	r0, #36
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	pthread_attr_init
	str	r0, [fp, #-20]
	mov	r0, #108
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L26
.L27:
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L26:
	ldr	r3, [fp, #-44]
	cmp	r3, #26
	ble	.L27
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L28
.L29:
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, .L37+4
	add	r0, r3, r2
	ldr	r3, [fp, #-8]
	ldr	r2, .L37+8
	ldr	r1, [fp, #-24]
	bl	pthread_create
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L28:
	ldr	r3, [fp, #-40]
	cmp	r3, #8
	ble	.L29
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L30
.L31:
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-36]
	add	r2, r3, #9
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-36]
	add	r3, r3, #9
	lsl	r3, r3, #2
	ldr	r2, .L37+4
	add	r0, r3, r2
	ldr	r3, [fp, #-12]
	ldr	r2, .L37+8
	ldr	r1, [fp, #-24]
	bl	pthread_create
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L30:
	ldr	r3, [fp, #-36]
	cmp	r3, #8
	ble	.L31
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L32
.L33:
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-32]
	ldr	r3, .L37+12
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r2, r3, #2
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, .L37+12
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r2, r3, #2
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	add	r2, r3, #18
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-32]
	add	r3, r3, #18
	lsl	r3, r3, #2
	ldr	r2, .L37+4
	add	r0, r3, r2
	ldr	r3, [fp, #-16]
	ldr	r2, .L37+8
	ldr	r1, [fp, #-24]
	bl	pthread_create
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L32:
	ldr	r3, [fp, #-32]
	cmp	r3, #8
	ble	.L33
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L34
.L35:
	ldr	r2, .L37+4
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L34:
	ldr	r3, [fp, #-28]
	cmp	r3, #26
	ble	.L35
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	result
	.word	workers
	.word	validate
	.word	1431655766
	.size	mainthread, .-mainthread
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d \000"
	.align	2
.LC2:
	.ascii	"Sector %d fails validation.\012\000"
	.align	2
.LC3:
	.ascii	"All sectors pass validation\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L40
.L43:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L41
.L42:
	ldr	r1, .L49
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L49+4
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L41:
	ldr	r3, [fp, #-24]
	cmp	r3, #8
	ble	.L42
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L40:
	ldr	r3, [fp, #-28]
	cmp	r3, #8
	ble	.L43
	mov	r0, #36
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	pthread_attr_init
	str	r0, [fp, #-8]
	mov	r3, #0
	ldr	r2, .L49+8
	ldr	r1, [fp, #-12]
	ldr	r0, .L49+12
	bl	pthread_create
	ldr	r3, .L49+12
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L44
.L46:
	ldr	r3, .L49+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L45
	ldr	r1, [fp, #-16]
	ldr	r0, .L49+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-20]
.L45:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L44:
	ldr	r3, [fp, #-16]
	cmp	r3, #26
	ble	.L46
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L47
	ldr	r0, .L49+24
	bl	puts
.L47:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	sudoku
	.word	.LC1
	.word	mainthread
	.word	boss
	.word	result
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
