	.file	"72012944.c"
	.intel_syntax noprefix
	.text
	.globl	board
	.bss
	.align 32
	.type	board, @object
	.size	board, 900
board:
	.zero	900
	.globl	tiles
	.align 32
	.type	tiles, @object
	.size	tiles, 900
tiles:
	.zero	900
	.globl	tileSize
	.align 4
	.type	tileSize, @object
	.size	tileSize, 4
tileSize:
	.zero	4
	.globl	solutionsFound
	.align 4
	.type	solutionsFound, @object
	.size	solutionsFound, 4
solutionsFound:
	.zero	4
	.globl	used
	.align 32
	.type	used, @object
	.size	used, 36
used:
	.zero	36
	.globl	perm
	.align 32
	.type	perm, @object
	.size	perm, 36
perm:
	.zero	36
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"puzzle.in"
.LC2:
	.string	"%d"
.LC3:
	.string	"%s "
.LC4:
	.string	"Puzzle #%d: "
.LC5:
	.string	"NO"
.LC6:
	.string	"YES"
.LC7:
	.string	"MULTIPLE"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	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 -16[rbp], rax
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -28[rbp], 1
	jmp	.L2
.L10:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, tileSize[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rdx, rax
	lea	rax, tiles[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -20[rbp], 1
.L4:
	mov	eax, DWORD PTR tileSize[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L5
	add	DWORD PTR -24[rbp], 1
.L3:
	cmp	DWORD PTR -24[rbp], 8
	jle	.L6
	mov	DWORD PTR solutionsFound[rip], 0
	mov	edi, 0
	call	findSolutions
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR solutionsFound[rip]
	test	eax, eax
	jne	.L7
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L7:
	mov	eax, DWORD PTR solutionsFound[rip]
	cmp	eax, 1
	jne	.L9
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L9:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -28[rbp], 1
.L2:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L10
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	findSolutions
	.type	findSolutions, @function
findSolutions:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 9
	jne	.L14
	mov	eax, 0
	call	verify
	test	eax, eax
	je	.L20
	mov	eax, DWORD PTR solutionsFound[rip]
	add	eax, 1
	mov	DWORD PTR solutionsFound[rip], eax
	jmp	.L20
.L14:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, used[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L18
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, used[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, perm[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	edi, eax
	call	findSolutions
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, used[rip]
	mov	DWORD PTR [rdx+rax], 0
.L18:
	add	DWORD PTR -4[rbp], 1
.L17:
	cmp	DWORD PTR -4[rbp], 8
	jle	.L19
	jmp	.L13
.L20:
	nop
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	findSolutions, .-findSolutions
	.globl	build
	.type	build, @function
build:
.LFB2:
	.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 -16[rbp], 0
	jmp	.L22
.L29:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L23
.L28:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L24
.L27:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L25
.L26:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, perm[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR tileSize[rip]
	imul	eax, DWORD PTR -16[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR tileSize[rip]
	imul	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	edi, [rcx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	r8, eax
	movsx	rdx, edx
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rcx
	sal	rdx, 2
	add	rdx, rcx
	add	rdx, rdx
	add	rax, rdx
	lea	rdx, [rax+r8]
	lea	rax, tiles[rip]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	movsx	rdi, edi
	movsx	rcx, esi
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	add	rax, rax
	lea	rcx, [rax+rdi]
	lea	rax, board[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
.L25:
	mov	eax, DWORD PTR tileSize[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L26
	add	DWORD PTR -8[rbp], 1
.L24:
	mov	eax, DWORD PTR tileSize[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L27
	add	DWORD PTR -12[rbp], 1
.L23:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L28
	add	DWORD PTR -16[rbp], 1
.L22:
	cmp	DWORD PTR -16[rbp], 2
	jle	.L29
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	build, .-build
	.globl	verify
	.type	verify, @function
verify:
.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, 16
	mov	eax, 0
	call	build
	mov	DWORD PTR -8[rbp], 1
	jmp	.L31
.L36:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L32
.L35:
	mov	eax, DWORD PTR tileSize[rip]
	imul	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, board[rip]
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR tileSize[rip]
	imul	eax, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rsi]
	lea	rax, board[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	je	.L33
	mov	eax, 0
	jmp	.L34
.L33:
	add	DWORD PTR -4[rbp], 1
.L32:
	mov	edx, DWORD PTR tileSize[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jl	.L35
	add	DWORD PTR -8[rbp], 1
.L31:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L36
	mov	DWORD PTR -8[rbp], 1
	jmp	.L37
.L41:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L38
.L40:
	mov	eax, DWORD PTR tileSize[rip]
	imul	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, board[rip]
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR tileSize[rip]
	imul	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rsi]
	lea	rax, board[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	je	.L39
	mov	eax, 0
	jmp	.L34
.L39:
	add	DWORD PTR -4[rbp], 1
.L38:
	mov	edx, DWORD PTR tileSize[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jl	.L40
	add	DWORD PTR -8[rbp], 1
.L37:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L41
	mov	eax, 1
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	verify, .-verify
	.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	"72012944.c"
	.text
	.comm	board,900,4
	.comm	tiles,900,4
	.comm	tileSize,4,4
	.comm	solutionsFound,4,4
	.global	used
	.bss
	.align	2
	.type	used, %object
	.size	used, 36
used:
	.space	36
	.comm	perm,36,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"puzzle.in\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"%s \000"
	.align	2
.LC4:
	.ascii	"Puzzle #%d: \000"
	.align	2
.LC5:
	.ascii	"NO\000"
	.align	2
.LC6:
	.ascii	"YES\000"
	.align	2
.LC7:
	.ascii	"MULTIPLE\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L13+4
	ldr	r0, .L13+8
	bl	fopen
	str	r0, [fp, #-12]
	sub	r3, fp, #28
	mov	r2, r3
	ldr	r1, .L13+12
	ldr	r0, [fp, #-12]
	bl	__isoc99_fscanf
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L2
.L10:
	ldr	r2, .L13+16
	ldr	r1, .L13+12
	ldr	r0, [fp, #-12]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L4
.L5:
	ldr	r3, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	ldr	r1, [fp, #-20]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, .L13+20
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L13+24
	ldr	r0, [fp, #-12]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r3, .L13+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #8
	ble	.L6
	ldr	r3, .L13+28
	mov	r2, #0
	str	r2, [r3]
	mov	r0, #0
	bl	findSolutions
	ldr	r1, [fp, #-24]
	ldr	r0, .L13+32
	bl	printf
	ldr	r3, .L13+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L13+36
	bl	printf
	b	.L8
.L7:
	ldr	r3, .L13+28
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L9
	ldr	r0, .L13+40
	bl	printf
	b	.L8
.L9:
	ldr	r0, .L13+44
	bl	printf
.L8:
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L10
	ldr	r0, [fp, #-12]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	tileSize
	.word	tiles
	.word	.LC3
	.word	solutionsFound
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.align	2
	.global	findSolutions
	.syntax unified
	.arm
	.fpu softvfp
	.type	findSolutions, %function
findSolutions:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	bne	.L16
	bl	verify
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L23
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23
	str	r3, [r2]
	b	.L22
.L16:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L19
.L21:
	ldr	r2, .L23+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L20
	ldr	r2, .L23+4
	ldr	r3, [fp, #-8]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r1, .L23+8
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r0, r3
	bl	findSolutions
	ldr	r2, .L23+4
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L20:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	ble	.L21
	b	.L15
.L22:
	nop
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	solutionsFound
	.word	used
	.word	perm
	.size	findSolutions, .-findSolutions
	.align	2
	.global	build
	.syntax unified
	.arm
	.fpu softvfp
	.type	build, %function
build:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L26
.L33:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L27
.L32:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L28
.L31:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L29
.L30:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, .L34
	ldr	r0, [r2, r3, lsl #2]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r1, r2, r3
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-8]
	add	ip, r2, r3
	ldr	lr, .L34+8
	ldr	r3, [fp, #-12]
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r2, lr, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r2, .L34+12
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	add	r3, r3, ip
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L29:
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L28:
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L27:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L32
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L26:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	ble	.L33
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	perm
	.word	tileSize
	.word	tiles
	.word	board
	.size	build, .-build
	.align	2
	.global	verify
	.syntax unified
	.arm
	.fpu softvfp
	.type	verify, %function
verify:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	build
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L37
.L42:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L38
.L41:
	ldr	r3, .L48
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	sub	r2, r3, #1
	ldr	r1, .L48+4
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L48
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	mul	r2, r3, r2
	ldr	r0, .L48+4
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r0, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	beq	.L39
	mov	r3, #0
	b	.L40
.L39:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L38:
	ldr	r3, .L48
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L41
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L37:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L42
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L43
.L47:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L44
.L46:
	ldr	r3, .L48
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	sub	r1, r3, #1
	ldr	r0, .L48+4
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L48
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	mul	r0, r2, r3
	ldr	ip, .L48+4
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, ip, r3
	add	r3, r3, r0
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	beq	.L45
	mov	r3, #0
	b	.L40
.L45:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L44:
	ldr	r3, .L48
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L46
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L43:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L47
	mov	r3, #1
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	tileSize
	.word	board
	.size	verify, .-verify
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
