	.file	"910459.c"
	.intel_syntax noprefix
	.text
	.globl	typeEdge
	.type	typeEdge, @function
typeEdge:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, edi
	mov	eax, esi
	mov	BYTE PTR -20[rbp], dl
	mov	BYTE PTR -24[rbp], al
	movzx	edx, BYTE PTR -20[rbp]
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, edx
	mov	BYTE PTR -1[rbp], al
	movzx	edx, BYTE PTR -1[rbp]
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, edx
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 2
	jne	.L2
	mov	BYTE PTR -2[rbp], 0
	jmp	.L3
.L4:
	movzx	eax, BYTE PTR -2[rbp]
	add	eax, 1
	mov	BYTE PTR -2[rbp], al
.L3:
	movzx	edx, BYTE PTR -20[rbp]
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, edx
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 2
	je	.L4
	cmp	BYTE PTR -2[rbp], 4
	jne	.L5
	movsx	eax, BYTE PTR -1[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 2
	jne	.L6
	mov	eax, 1
	jmp	.L7
.L6:
	movsx	eax, BYTE PTR -1[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L5
	mov	eax, 2
	jmp	.L7
.L5:
	movsx	eax, BYTE PTR -1[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 2
	jne	.L8
	mov	eax, 0
	jmp	.L7
.L8:
	cmp	BYTE PTR -2[rbp], 3
	jne	.L9
	mov	eax, 4
	jmp	.L7
.L9:
	movzx	edx, BYTE PTR -1[rbp]
	movzx	eax, BYTE PTR -24[rbp]
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, edx
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L10
	movzx	edx, BYTE PTR -20[rbp]
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, edx
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L10
	movzx	edx, BYTE PTR -20[rbp]
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, edx
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 2
	jne	.L10
	mov	eax, -3
	jmp	.L7
.L2:
	movsx	eax, BYTE PTR -20[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L10
	mov	BYTE PTR -2[rbp], 0
	jmp	.L11
.L12:
	movzx	eax, BYTE PTR -2[rbp]
	add	eax, 1
	mov	BYTE PTR -2[rbp], al
.L11:
	movzx	edx, BYTE PTR -20[rbp]
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, edx
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	je	.L12
	cmp	BYTE PTR -2[rbp], 4
	jne	.L13
	movsx	eax, BYTE PTR -1[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L14
	mov	eax, -1
	jmp	.L7
.L14:
	movsx	eax, BYTE PTR -1[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L13
	mov	eax, -2
	jmp	.L7
.L13:
	movsx	eax, BYTE PTR -1[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L15
	mov	eax, 0
	jmp	.L7
.L15:
	cmp	BYTE PTR -2[rbp], 3
	jne	.L16
	mov	eax, -4
	jmp	.L7
.L16:
	movzx	edx, BYTE PTR -1[rbp]
	movzx	eax, BYTE PTR -24[rbp]
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, edx
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 2
	jne	.L10
	movzx	edx, BYTE PTR -20[rbp]
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, edx
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L10
	movzx	edx, BYTE PTR -20[rbp]
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, edx
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L10
	mov	eax, 3
	jmp	.L7
.L10:
	mov	eax, 0
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	typeEdge, .-typeEdge
	.globl	discEdge
	.type	discEdge, @function
discEdge:
.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	ecx, esi
	mov	eax, edx
	mov	edx, edi
	mov	BYTE PTR -20[rbp], dl
	mov	edx, ecx
	mov	BYTE PTR -24[rbp], dl
	mov	BYTE PTR -28[rbp], al
	movzx	eax, BYTE PTR -24[rbp]
	mov	BYTE PTR -2[rbp], al
	mov	BYTE PTR -3[rbp], 0
	jmp	.L18
.L21:
	movsx	eax, BYTE PTR -24[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L32
	movzx	eax, BYTE PTR -3[rbp]
	add	eax, 1
	mov	BYTE PTR -3[rbp], al
	movzx	edx, BYTE PTR -24[rbp]
	movzx	eax, BYTE PTR -28[rbp]
	add	eax, edx
	mov	BYTE PTR -24[rbp], al
.L18:
	cmp	BYTE PTR -3[rbp], 7
	jle	.L21
	jmp	.L20
.L32:
	nop
.L20:
	mov	BYTE PTR -5[rbp], 0
	jmp	.L22
.L31:
	movsx	eax, BYTE PTR -5[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, ptn.0[rip]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	mov	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR -3[rbp]
	cmp	al, BYTE PTR -1[rbp]
	jne	.L33
	movzx	eax, BYTE PTR -2[rbp]
	mov	BYTE PTR -24[rbp], al
	mov	BYTE PTR -4[rbp], 0
	jmp	.L25
.L29:
	cmp	BYTE PTR -20[rbp], 2
	jne	.L26
	movsx	eax, BYTE PTR -24[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	ecx, al
	movsx	eax, BYTE PTR -5[rbp]
	movsx	edx, BYTE PTR -4[rbp]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, ptn.0[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cmp	ecx, eax
	je	.L27
	jmp	.L28
.L26:
	movsx	eax, BYTE PTR -24[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	ecx, al
	movsx	eax, BYTE PTR -5[rbp]
	movsx	edx, BYTE PTR -4[rbp]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, ptn.0[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, 51
	sub	eax, edx
	cmp	ecx, eax
	jne	.L34
.L27:
	movzx	edx, BYTE PTR -24[rbp]
	movzx	eax, BYTE PTR -28[rbp]
	add	eax, edx
	mov	BYTE PTR -24[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	add	eax, 1
	mov	BYTE PTR -4[rbp], al
.L25:
	movsx	eax, BYTE PTR -5[rbp]
	movsx	edx, BYTE PTR -4[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, ptn.0[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L29
	jmp	.L28
.L34:
	nop
.L28:
	movzx	eax, BYTE PTR -4[rbp]
	cmp	al, BYTE PTR -1[rbp]
	jne	.L24
	movsx	eax, BYTE PTR -5[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rdx, rax
	lea	rax, ptn.0[rip+8]
	movzx	eax, BYTE PTR [rdx+rax]
	jmp	.L30
.L33:
	nop
.L24:
	movzx	eax, BYTE PTR -5[rbp]
	add	eax, 1
	mov	BYTE PTR -5[rbp], al
.L22:
	cmp	BYTE PTR -5[rbp], 20
	jle	.L31
	mov	eax, 0
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	discEdge, .-discEdge
	.globl	stable
	.type	stable, @function
stable:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	ecx, esi
	mov	eax, edx
	mov	edx, edi
	mov	BYTE PTR -20[rbp], dl
	mov	edx, ecx
	mov	BYTE PTR -24[rbp], dl
	mov	BYTE PTR -28[rbp], al
	mov	BYTE PTR -1[rbp], 0
	jmp	.L36
.L37:
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 5
	mov	BYTE PTR -1[rbp], al
.L36:
	movzx	edx, BYTE PTR -24[rbp]
	movzx	eax, BYTE PTR -28[rbp]
	add	eax, edx
	mov	BYTE PTR -24[rbp], al
	movsx	eax, BYTE PTR -24[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -20[rbp], al
	je	.L37
	movzx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	stable, .-stable
	.globl	corner
	.type	corner, @function
corner:
.LFB3:
	.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, 40
	.cfi_offset 3, -24
	mov	ecx, esi
	mov	eax, edx
	mov	edx, edi
	mov	BYTE PTR -36[rbp], dl
	mov	edx, ecx
	mov	BYTE PTR -40[rbp], dl
	mov	BYTE PTR -44[rbp], al
	movsx	eax, BYTE PTR -36[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 2
	jne	.L40
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	typeEdge
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], 2
	je	.L41
	cmp	BYTE PTR -17[rbp], -3
	jne	.L42
.L41:
	mov	eax, -5
	jmp	.L43
.L42:
	cmp	BYTE PTR -17[rbp], 4
	jne	.L44
	mov	eax, 8
	jmp	.L43
.L44:
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, eax
	mov	edi, 2
	call	stable
	mov	ebx, eax
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, eax
	mov	edi, 2
	call	discEdge
	add	eax, ebx
	add	eax, 20
	jmp	.L43
.L40:
	movsx	eax, BYTE PTR -36[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L45
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	typeEdge
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], -2
	je	.L46
	cmp	BYTE PTR -17[rbp], 3
	jne	.L47
.L46:
	mov	eax, 5
	jmp	.L43
.L47:
	cmp	BYTE PTR -17[rbp], -4
	jne	.L48
	mov	eax, -8
	jmp	.L43
.L48:
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, eax
	mov	edi, 1
	call	stable
	mov	ebx, eax
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, eax
	mov	edi, 1
	call	discEdge
	lea	edx, [rbx+rax]
	mov	eax, -20
	sub	eax, edx
	jmp	.L43
.L45:
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, eax
	mov	edi, 2
	call	dirTurn@PLT
	test	al, al
	je	.L49
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	typeEdge
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], 2
	je	.L50
	cmp	BYTE PTR -17[rbp], -3
	jne	.L51
.L50:
	mov	eax, -5
	jmp	.L43
.L51:
	cmp	BYTE PTR -17[rbp], 4
	jne	.L52
	mov	eax, 8
	jmp	.L43
.L52:
	mov	eax, 20
	jmp	.L43
.L49:
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, eax
	mov	edi, 1
	call	dirTurn@PLT
	test	al, al
	je	.L53
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	typeEdge
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], -2
	je	.L54
	cmp	BYTE PTR -17[rbp], 3
	jne	.L55
.L54:
	mov	eax, 5
	jmp	.L43
.L55:
	cmp	BYTE PTR -17[rbp], -4
	jne	.L56
	mov	eax, -8
	jmp	.L43
.L56:
	mov	eax, -20
	jmp	.L43
.L53:
	movsx	edx, BYTE PTR -36[rbp]
	movsx	eax, BYTE PTR -40[rbp]
	add	edx, eax
	movsx	eax, BYTE PTR -44[rbp]
	add	eax, edx
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 2
	jne	.L57
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	typeEdge
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], -2
	je	.L58
	cmp	BYTE PTR -17[rbp], 3
	jne	.L59
.L58:
	mov	eax, 5
	jmp	.L43
.L59:
	mov	eax, -19
	jmp	.L43
.L57:
	movsx	edx, BYTE PTR -36[rbp]
	movsx	eax, BYTE PTR -40[rbp]
	add	edx, eax
	movsx	eax, BYTE PTR -44[rbp]
	add	eax, edx
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L60
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	typeEdge
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], 2
	je	.L61
	cmp	BYTE PTR -17[rbp], -3
	jne	.L62
.L61:
	mov	eax, -5
	jmp	.L43
.L62:
	mov	eax, 19
	jmp	.L43
.L60:
	movsx	edx, BYTE PTR -40[rbp]
	movsx	eax, BYTE PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	typeEdge
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], 1
	jne	.L63
	mov	eax, 6
	jmp	.L43
.L63:
	cmp	BYTE PTR -17[rbp], 2
	jne	.L64
	mov	eax, 7
	jmp	.L43
.L64:
	cmp	BYTE PTR -17[rbp], 3
	jne	.L65
	mov	eax, 6
	jmp	.L43
.L65:
	cmp	BYTE PTR -17[rbp], 4
	jne	.L66
	mov	eax, 1
	jmp	.L43
.L66:
	cmp	BYTE PTR -17[rbp], -1
	jne	.L67
	mov	eax, -6
	jmp	.L43
.L67:
	cmp	BYTE PTR -17[rbp], -2
	jne	.L68
	mov	eax, -7
	jmp	.L43
.L68:
	cmp	BYTE PTR -17[rbp], -3
	jne	.L69
	mov	eax, -6
	jmp	.L43
.L69:
	cmp	BYTE PTR -17[rbp], -4
	jne	.L70
	mov	eax, -1
	jmp	.L43
.L70:
	movsx	edx, BYTE PTR -36[rbp]
	movsx	eax, BYTE PTR -40[rbp]
	add	eax, edx
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 1
	jne	.L71
	movsx	edx, BYTE PTR -36[rbp]
	movsx	eax, BYTE PTR -40[rbp]
	add	edx, eax
	movsx	eax, BYTE PTR -40[rbp]
	add	eax, edx
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L71
	mov	eax, 10
	jmp	.L43
.L71:
	movsx	edx, BYTE PTR -36[rbp]
	movsx	eax, BYTE PTR -40[rbp]
	add	eax, edx
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 2
	jne	.L72
	movsx	edx, BYTE PTR -36[rbp]
	movsx	eax, BYTE PTR -40[rbp]
	add	edx, eax
	movsx	eax, BYTE PTR -40[rbp]
	add	eax, edx
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L72
	mov	eax, -10
	jmp	.L43
.L72:
	mov	eax, 0
.L43:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	corner, .-corner
	.globl	e2x
	.type	e2x, @function
e2x:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	BYTE PTR -26[rbp], 0
	jmp	.L74
.L93:
	movzx	eax, BYTE PTR -26[rbp]
	mov	BYTE PTR board[rip+25], al
	mov	BYTE PTR -25[rbp], 0
	jmp	.L75
.L92:
	movzx	eax, BYTE PTR -25[rbp]
	mov	BYTE PTR board[rip+20], al
	mov	BYTE PTR -24[rbp], 0
	jmp	.L76
.L91:
	movzx	eax, BYTE PTR -24[rbp]
	mov	BYTE PTR board[rip+17], al
	mov	BYTE PTR -23[rbp], 0
	jmp	.L77
.L90:
	movzx	eax, BYTE PTR -23[rbp]
	mov	BYTE PTR board[rip+16], al
	mov	BYTE PTR -22[rbp], 0
	jmp	.L78
.L89:
	movzx	eax, BYTE PTR -22[rbp]
	mov	BYTE PTR board[rip+15], al
	mov	BYTE PTR -21[rbp], 0
	jmp	.L79
.L88:
	movzx	eax, BYTE PTR -21[rbp]
	mov	BYTE PTR board[rip+14], al
	mov	BYTE PTR -20[rbp], 0
	jmp	.L80
.L87:
	movzx	eax, BYTE PTR -20[rbp]
	mov	BYTE PTR board[rip+13], al
	mov	BYTE PTR -19[rbp], 0
	jmp	.L81
.L86:
	movzx	eax, BYTE PTR -19[rbp]
	mov	BYTE PTR board[rip+12], al
	mov	BYTE PTR -18[rbp], 0
	jmp	.L82
.L85:
	movzx	eax, BYTE PTR -18[rbp]
	mov	BYTE PTR board[rip+11], al
	mov	BYTE PTR -17[rbp], 0
	jmp	.L83
.L84:
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR board[rip+10], al
	mov	rbx, QWORD PTR ef[rip]
	mov	edx, 9
	mov	esi, 1
	mov	edi, 10
	call	corner
	movsx	r12d, al
	mov	edx, 9
	mov	esi, -1
	mov	edi, 17
	call	corner
	movsx	eax, al
	add	eax, r12d
	mov	rsi, rbx
	mov	edi, eax
	call	fputc@PLT
	movzx	eax, BYTE PTR -17[rbp]
	add	eax, 1
	mov	BYTE PTR -17[rbp], al
.L83:
	cmp	BYTE PTR -17[rbp], 2
	jle	.L84
	movzx	eax, BYTE PTR -18[rbp]
	add	eax, 1
	mov	BYTE PTR -18[rbp], al
.L82:
	cmp	BYTE PTR -18[rbp], 2
	jle	.L85
	movzx	eax, BYTE PTR -19[rbp]
	add	eax, 1
	mov	BYTE PTR -19[rbp], al
.L81:
	cmp	BYTE PTR -19[rbp], 2
	jle	.L86
	movzx	eax, BYTE PTR -20[rbp]
	add	eax, 1
	mov	BYTE PTR -20[rbp], al
.L80:
	cmp	BYTE PTR -20[rbp], 2
	jle	.L87
	movzx	eax, BYTE PTR -21[rbp]
	add	eax, 1
	mov	BYTE PTR -21[rbp], al
.L79:
	cmp	BYTE PTR -21[rbp], 2
	jle	.L88
	movzx	eax, BYTE PTR -22[rbp]
	add	eax, 1
	mov	BYTE PTR -22[rbp], al
.L78:
	cmp	BYTE PTR -22[rbp], 2
	jle	.L89
	movzx	eax, BYTE PTR -23[rbp]
	add	eax, 1
	mov	BYTE PTR -23[rbp], al
.L77:
	cmp	BYTE PTR -23[rbp], 2
	jle	.L90
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, 1
	mov	BYTE PTR -24[rbp], al
.L76:
	cmp	BYTE PTR -24[rbp], 2
	jle	.L91
	movzx	eax, BYTE PTR -25[rbp]
	add	eax, 1
	mov	BYTE PTR -25[rbp], al
.L75:
	cmp	BYTE PTR -25[rbp], 2
	jle	.L92
	movzx	eax, BYTE PTR -26[rbp]
	add	eax, 1
	mov	BYTE PTR -26[rbp], al
.L74:
	cmp	BYTE PTR -26[rbp], 2
	jle	.L93
	mov	BYTE PTR board[rip+25], 0
	movzx	eax, BYTE PTR board[rip+25]
	mov	BYTE PTR board[rip+20], al
	movzx	eax, BYTE PTR board[rip+20]
	mov	BYTE PTR board[rip+17], al
	movzx	eax, BYTE PTR board[rip+17]
	mov	BYTE PTR board[rip+16], al
	movzx	eax, BYTE PTR board[rip+16]
	mov	BYTE PTR board[rip+15], al
	movzx	eax, BYTE PTR board[rip+15]
	mov	BYTE PTR board[rip+14], al
	movzx	eax, BYTE PTR board[rip+14]
	mov	BYTE PTR board[rip+13], al
	movzx	eax, BYTE PTR board[rip+13]
	mov	BYTE PTR board[rip+12], al
	movzx	eax, BYTE PTR board[rip+12]
	mov	BYTE PTR board[rip+11], al
	movzx	eax, BYTE PTR board[rip+11]
	mov	BYTE PTR board[rip+10], al
	nop
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	e2x, .-e2x
	.data
	.align 32
	.type	ptn.0, @object
	.size	ptn.0, 189
ptn.0:
	.string	"212"
	.zero	4
	.byte	3
	.string	"2112"
	.zero	3
	.byte	-10
	.string	"2122"
	.zero	3
	.byte	-10
	.string	"21112"
	.zero	2
	.byte	-20
	.string	"21122"
	.zero	2
	.byte	-19
	.string	"21222"
	.zero	2
	.byte	-18
	.string	"211112"
	.zero	1
	.byte	-30
	.string	"211122"
	.zero	1
	.byte	-27
	.string	"211222"
	.zero	1
	.byte	-25
	.string	"212222"
	.zero	1
	.byte	-20
	.string	"2111112"
	.byte	-30
	.string	"2111122"
	.byte	-30
	.string	"2111222"
	.byte	-27
	.string	"2112222"
	.byte	-25
	.string	"2122222"
	.byte	-23
	.ascii	"21111112"
	.byte	-30
	.ascii	"21111122"
	.byte	-20
	.ascii	"21111222"
	.byte	-10
	.ascii	"21112222"
	.byte	0
	.ascii	"21122222"
	.byte	0
	.ascii	"21222222"
	.byte	0
	.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	"910459.c"
	.text
	.align	2
	.global	typeEdge
	.syntax unified
	.arm
	.fpu softvfp
	.type	typeEdge, %function
typeEdge:
	@ 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
	mov	r3, r0
	mov	r2, r1
	strb	r3, [fp, #-13]
	mov	r3, r2
	strb	r3, [fp, #-14]
	ldrb	r2, [fp, #-13]
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	strb	r3, [fp, #-5]
	ldrb	r2, [fp, #-5]
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L2
	mov	r3, #0
	strb	r3, [fp, #-6]
	b	.L3
.L4:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-6]
.L3:
	ldrb	r2, [fp, #-13]
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L4
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L5
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L6
	mov	r3, #1
	b	.L7
.L6:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	mov	r3, #2
	b	.L7
.L5:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L8
	mov	r3, #0
	b	.L7
.L8:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L9
	mov	r3, #4
	b	.L7
.L9:
	ldrb	r2, [fp, #-5]
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	and	r2, r3, #255
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L10
	ldrb	r2, [fp, #-13]
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L10
	ldrb	r2, [fp, #-13]
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L10
	mov	r3, #253
	b	.L7
.L2:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L10
	mov	r3, #0
	strb	r3, [fp, #-6]
	b	.L11
.L12:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-6]
.L11:
	ldrb	r2, [fp, #-13]
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L12
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L13
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L14
	mov	r3, #255
	b	.L7
.L14:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	mov	r3, #254
	b	.L7
.L13:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L15
	mov	r3, #0
	b	.L7
.L15:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L16
	mov	r3, #252
	b	.L7
.L16:
	ldrb	r2, [fp, #-5]
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	and	r2, r3, #255
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L10
	ldrb	r2, [fp, #-13]
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L10
	ldrb	r2, [fp, #-13]
	ldrb	r3, [fp, #-14]
	add	r3, r2, r3
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L10
	mov	r3, #3
	b	.L7
.L10:
	mov	r3, #0
.L7:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L18:
	.align	2
.L17:
	.word	board
	.size	typeEdge, .-typeEdge
	.align	2
	.global	discEdge
	.syntax unified
	.arm
	.fpu softvfp
	.type	discEdge, %function
discEdge:
	@ 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, r0
	strb	r3, [fp, #-13]
	mov	r3, r1
	strb	r3, [fp, #-14]
	mov	r3, r2
	strb	r3, [fp, #-15]
	ldrb	r3, [fp, #-14]
	strb	r3, [fp, #-6]
	mov	r3, #0
	strb	r3, [fp, #-7]
	b	.L20
.L23:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldr	r2, .L37
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L34
	ldrb	r3, [fp, #-7]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-7]
	ldrb	r2, [fp, #-14]
	ldrb	r3, [fp, #-15]
	add	r3, r2, r3
	strb	r3, [fp, #-14]
.L20:
	ldrb	r3, [fp, #-7]	@ zero_extendqisi2
	cmp	r3, #7
	bls	.L23
	b	.L22
.L34:
	nop
.L22:
	mov	r3, #0
	strb	r3, [fp, #-9]
	b	.L24
.L33:
	ldrb	r2, [fp, #-9]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, .L37+4
	add	r3, r3, r2
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r2, [fp, #-7]	@ zero_extendqisi2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L35
	ldrb	r3, [fp, #-6]
	strb	r3, [fp, #-14]
	mov	r3, #0
	strb	r3, [fp, #-8]
	b	.L27
.L31:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L28
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldr	r2, .L37
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	ip, r3
	ldrb	r2, [fp, #-9]	@ zero_extendqisi2
	ldrb	r1, [fp, #-8]	@ zero_extendqisi2
	ldr	r0, .L37+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
	sub	r3, r3, #48
	cmp	ip, r3
	beq	.L29
	b	.L30
.L28:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldr	r2, .L37
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	ip, r3
	ldrb	r2, [fp, #-9]	@ zero_extendqisi2
	ldrb	r1, [fp, #-8]	@ zero_extendqisi2
	ldr	r0, .L37+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
	rsb	r3, r3, #51
	cmp	ip, r3
	bne	.L36
.L29:
	ldrb	r2, [fp, #-14]
	ldrb	r3, [fp, #-15]
	add	r3, r2, r3
	strb	r3, [fp, #-14]
	ldrb	r3, [fp, #-8]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-8]
.L27:
	ldrb	r2, [fp, #-9]	@ zero_extendqisi2
	ldrb	r1, [fp, #-8]	@ zero_extendqisi2
	ldr	r0, .L37+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	.L31
	b	.L30
.L36:
	nop
.L30:
	ldrb	r2, [fp, #-8]	@ zero_extendqisi2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L26
	ldrb	r2, [fp, #-9]	@ zero_extendqisi2
	ldr	r1, .L37+4
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L32
.L35:
	nop
.L26:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-9]
.L24:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #20
	bls	.L33
	mov	r3, #0
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	board
	.word	ptn.4804
	.size	discEdge, .-discEdge
	.align	2
	.global	stable
	.syntax unified
	.arm
	.fpu softvfp
	.type	stable, %function
stable:
	@ 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
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r3, r1
	strb	r3, [fp, #-14]
	mov	r3, r2
	strb	r3, [fp, #-15]
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L40
.L41:
	ldrb	r3, [fp, #-5]
	add	r3, r3, #5
	strb	r3, [fp, #-5]
.L40:
	ldrb	r2, [fp, #-14]
	ldrb	r3, [fp, #-15]
	add	r3, r2, r3
	strb	r3, [fp, #-14]
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldr	r2, .L43
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L41
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L44:
	.align	2
.L43:
	.word	board
	.size	stable, .-stable
	.align	2
	.global	corner
	.syntax unified
	.arm
	.fpu softvfp
	.type	corner, %function
corner:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	mov	r3, r0
	strb	r3, [fp, #-21]
	mov	r3, r1
	strb	r3, [fp, #-22]
	mov	r3, r2
	strb	r3, [fp, #-23]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	ldr	r2, .L67
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L46
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	typeEdge
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L47
	mov	r3, #251
	b	.L48
.L47:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L49
	mov	r3, #8
	b	.L48
.L49:
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, #2
	bl	stable
	mov	r3, r0
	mov	r4, r3
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, #2
	bl	discEdge
	mov	r3, r0
	add	r3, r4, r3
	and	r3, r3, #255
	add	r3, r3, #20
	and	r3, r3, #255
	b	.L48
.L46:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	ldr	r2, .L67
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L50
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	typeEdge
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L51
	mov	r3, #5
	b	.L48
.L51:
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, #1
	bl	stable
	mov	r3, r0
	mov	r4, r3
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, #1
	bl	discEdge
	mov	r3, r0
	add	r3, r4, r3
	and	r2, r3, #255
	mvn	r3, #19
	sub	r3, r3, r2
	and	r3, r3, #255
	b	.L48
.L50:
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, #2
	bl	dirTurn
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	typeEdge
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L53
	mov	r3, #251
	b	.L48
.L53:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L54
	mov	r3, #8
	b	.L48
.L54:
	mov	r3, #20
	b	.L48
.L52:
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, #1
	bl	dirTurn
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	typeEdge
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L56
	mov	r3, #5
	b	.L48
.L56:
	mov	r3, #236
	b	.L48
.L55:
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	add	r2, r2, r3
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	add	r3, r2, r3
	ldr	r2, .L67
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L57
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	typeEdge
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L58
	mov	r3, #5
	b	.L48
.L58:
	mov	r3, #237
	b	.L48
.L57:
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	add	r2, r2, r3
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	add	r3, r2, r3
	ldr	r2, .L67
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L59
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	typeEdge
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L60
	mov	r3, #251
	b	.L48
.L60:
	mov	r3, #19
	b	.L48
.L59:
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	typeEdge
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L61
	mov	r3, #6
	b	.L48
.L61:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L62
	mov	r3, #7
	b	.L48
.L62:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L63
	mov	r3, #6
	b	.L48
.L63:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L64
	mov	r3, #1
	b	.L48
.L64:
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	add	r3, r2, r3
	ldr	r2, .L67
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L65
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	add	r2, r2, r3
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	add	r3, r2, r3
	ldr	r2, .L67
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L65
	mov	r3, #10
	b	.L48
.L65:
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	add	r3, r2, r3
	ldr	r2, .L67
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L66
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	add	r2, r2, r3
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	add	r3, r2, r3
	ldr	r2, .L67
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L66
	mov	r3, #246
	b	.L48
.L66:
	mov	r3, #0
.L48:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L68:
	.align	2
.L67:
	.word	board
	.size	corner, .-corner
	.align	2
	.global	e2x
	.syntax unified
	.arm
	.fpu softvfp
	.type	e2x, %function
e2x:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	mov	r3, #0
	strb	r3, [fp, #-22]
	b	.L70
.L89:
	ldr	r2, .L90
	ldrb	r3, [fp, #-22]
	strb	r3, [r2, #25]
	mov	r3, #0
	strb	r3, [fp, #-21]
	b	.L71
.L88:
	ldr	r2, .L90
	ldrb	r3, [fp, #-21]
	strb	r3, [r2, #20]
	mov	r3, #0
	strb	r3, [fp, #-20]
	b	.L72
.L87:
	ldr	r2, .L90
	ldrb	r3, [fp, #-20]
	strb	r3, [r2, #17]
	mov	r3, #0
	strb	r3, [fp, #-19]
	b	.L73
.L86:
	ldr	r2, .L90
	ldrb	r3, [fp, #-19]
	strb	r3, [r2, #16]
	mov	r3, #0
	strb	r3, [fp, #-18]
	b	.L74
.L85:
	ldr	r2, .L90
	ldrb	r3, [fp, #-18]
	strb	r3, [r2, #15]
	mov	r3, #0
	strb	r3, [fp, #-17]
	b	.L75
.L84:
	ldr	r2, .L90
	ldrb	r3, [fp, #-17]
	strb	r3, [r2, #14]
	mov	r3, #0
	strb	r3, [fp, #-16]
	b	.L76
.L83:
	ldr	r2, .L90
	ldrb	r3, [fp, #-16]
	strb	r3, [r2, #13]
	mov	r3, #0
	strb	r3, [fp, #-15]
	b	.L77
.L82:
	ldr	r2, .L90
	ldrb	r3, [fp, #-15]
	strb	r3, [r2, #12]
	mov	r3, #0
	strb	r3, [fp, #-14]
	b	.L78
.L81:
	ldr	r2, .L90
	ldrb	r3, [fp, #-14]
	strb	r3, [r2, #11]
	mov	r3, #0
	strb	r3, [fp, #-13]
	b	.L79
.L80:
	ldr	r2, .L90
	ldrb	r3, [fp, #-13]
	strb	r3, [r2, #10]
	mov	r2, #9
	mov	r1, #1
	mov	r0, #10
	bl	corner
	mov	r3, r0
	mov	r4, r3
	mov	r2, #9
	mov	r1, #255
	mov	r0, #17
	bl	corner
	mov	r3, r0
	add	r3, r4, r3
	ldr	r2, .L90+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	fputc
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-13]
.L79:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L80
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-14]
.L78:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L81
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-15]
.L77:
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L82
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-16]
.L76:
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L83
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-17]
.L75:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L84
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-18]
.L74:
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L85
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-19]
.L73:
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L86
	ldrb	r3, [fp, #-20]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-20]
.L72:
	ldrb	r3, [fp, #-20]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L87
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-21]
.L71:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L88
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-22]
.L70:
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L89
	ldr	r3, .L90
	mov	r2, #0
	strb	r2, [r3, #25]
	ldr	r3, .L90
	ldrb	r2, [r3, #25]	@ zero_extendqisi2
	ldr	r3, .L90
	strb	r2, [r3, #20]
	ldr	r3, .L90
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldr	r3, .L90
	strb	r2, [r3, #17]
	ldr	r3, .L90
	ldrb	r2, [r3, #17]	@ zero_extendqisi2
	ldr	r3, .L90
	strb	r2, [r3, #16]
	ldr	r3, .L90
	ldrb	r2, [r3, #16]	@ zero_extendqisi2
	ldr	r3, .L90
	strb	r2, [r3, #15]
	ldr	r3, .L90
	ldrb	r2, [r3, #15]	@ zero_extendqisi2
	ldr	r3, .L90
	strb	r2, [r3, #14]
	ldr	r3, .L90
	ldrb	r2, [r3, #14]	@ zero_extendqisi2
	ldr	r3, .L90
	strb	r2, [r3, #13]
	ldr	r3, .L90
	ldrb	r2, [r3, #13]	@ zero_extendqisi2
	ldr	r3, .L90
	strb	r2, [r3, #12]
	ldr	r3, .L90
	ldrb	r2, [r3, #12]	@ zero_extendqisi2
	ldr	r3, .L90
	strb	r2, [r3, #11]
	ldr	r3, .L90
	ldrb	r2, [r3, #11]	@ zero_extendqisi2
	ldr	r3, .L90
	strb	r2, [r3, #10]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L91:
	.align	2
.L90:
	.word	board
	.word	ef
	.size	e2x, .-e2x
	.data
	.align	2
	.type	ptn.4804, %object
	.size	ptn.4804, 189
ptn.4804:
	.ascii	"212\000"
	.space	4
	.byte	3
	.ascii	"2112\000"
	.space	3
	.byte	-10
	.ascii	"2122\000"
	.space	3
	.byte	-10
	.ascii	"21112\000"
	.space	2
	.byte	-20
	.ascii	"21122\000"
	.space	2
	.byte	-19
	.ascii	"21222\000"
	.space	2
	.byte	-18
	.ascii	"211112\000"
	.space	1
	.byte	-30
	.ascii	"211122\000"
	.space	1
	.byte	-27
	.ascii	"211222\000"
	.space	1
	.byte	-25
	.ascii	"212222\000"
	.space	1
	.byte	-20
	.ascii	"2111112\000"
	.byte	-30
	.ascii	"2111122\000"
	.byte	-30
	.ascii	"2111222\000"
	.byte	-27
	.ascii	"2112222\000"
	.byte	-25
	.ascii	"2122222\000"
	.byte	-23
	.ascii	"21111112"
	.byte	-30
	.ascii	"21111122"
	.byte	-20
	.ascii	"21111222"
	.byte	-10
	.ascii	"21112222"
	.byte	0
	.ascii	"21122222"
	.byte	0
	.ascii	"21222222"
	.byte	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
