	.file	"193894109.c"
	.intel_syntax noprefix
	.text
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 361
p:
	.zero	361
	.globl	l
	.align 32
	.type	l, @object
	.size	l, 361
l:
	.zero	361
	.globl	ma
	.align 32
	.type	ma, @object
	.size	ma, 361
ma:
	.zero	361
	.globl	ml
	.align 32
	.type	ml, @object
	.size	ml, 361
ml:
	.zero	361
	.globl	mymove
	.align 4
	.type	mymove, @object
	.size	mymove, 4
mymove:
	.zero	4
	.globl	umove
	.align 4
	.type	umove, @object
	.size	umove, 4
umove:
	.zero	4
	.globl	rd
	.align 4
	.type	rd, @object
	.size	rd, 4
rd:
	.zero	4
	.globl	lib
	.align 4
	.type	lib, @object
	.size	lib, 4
lib:
	.zero	4
	.globl	play
	.align 4
	.type	play, @object
	.size	play, 4
play:
	.zero	4
	.globl	pass
	.align 4
	.type	pass, @object
	.size	pass, 4
pass:
	.zero	4
	.globl	mik
	.align 4
	.type	mik, @object
	.size	mik, 4
mik:
	.zero	4
	.globl	mjk
	.align 4
	.type	mjk, @object
	.size	mjk, 4
mjk:
	.zero	4
	.globl	uik
	.align 4
	.type	uik, @object
	.size	uik, 4
uik:
	.zero	4
	.globl	ujk
	.align 4
	.type	ujk, @object
	.size	ujk, 4
ujk:
	.zero	4
	.globl	mk
	.align 4
	.type	mk, @object
	.size	mk, 4
mk:
	.zero	4
	.globl	uk
	.align 4
	.type	uk, @object
	.size	uk, 4
uk:
	.zero	4
	.globl	opn
	.align 32
	.type	opn, @object
	.size	opn, 36
opn:
	.zero	36
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"gnugo.dat"
.LC2:
	.string	"%c"
.LC3:
	.string	"%d %d %d "
.LC4:
	.string	"%d "
	.align 8
.LC5:
	.string	"Number of handicap for black (0 to 17)? "
.LC6:
	.string	"%d"
.LC7:
	.string	"\nChoose side(b or w)? "
.LC8:
	.string	"your move? "
.LC9:
	.string	"%s"
	.align 8
.LC10:
	.string	"Do you want to count score (y or n)? "
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], 0
	call	showinst@PLT
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L2
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -44[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rax, p[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
.L4:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 18
	jle	.L5
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
.L3:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 18
	jle	.L6
	mov	rax, QWORD PTR -32[rbp]
	lea	r8, uk[rip]
	lea	rcx, mk[rip]
	lea	rdx, mymove[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -44[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, opn[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
.L7:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 8
	jle	.L8
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edx, DWORD PTR mymove[rip]
	mov	eax, 3
	sub	eax, edx
	mov	DWORD PTR umove[rip], eax
	lea	rdi, .LC1[rip]
	call	unlink@PLT
	jmp	.L9
.L2:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, opn[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
.L10:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 8
	jle	.L11
	mov	DWORD PTR opn[rip+16], 0
	mov	DWORD PTR -44[rbp], 0
	jmp	.L12
.L15:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, p[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
.L13:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 18
	jle	.L14
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
.L12:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 18
	jle	.L15
	mov	DWORD PTR mk[rip], 0
	mov	DWORD PTR uk[rip], 0
.L9:
	mov	DWORD PTR play[rip], 1
	mov	DWORD PTR pass[rip], 0
	mov	DWORD PTR mik[rip], -1
	mov	DWORD PTR mjk[rip], -1
	mov	DWORD PTR uik[rip], -1
	mov	DWORD PTR ujk[rip], -1
	lea	rdi, rd[rip]
	call	seed@PLT
	cmp	DWORD PTR -36[rbp], 0
	jne	.L16
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	sethand@PLT
	call	showboard@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -23[rbp]
	cmp	al, 98
	jne	.L17
	mov	DWORD PTR mymove[rip], 1
	mov	DWORD PTR umove[rip], 2
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	je	.L16
	lea	rdx, -40[rbp]
	lea	rax, -44[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	genmove@PLT
	mov	ecx, DWORD PTR mymove[rip]
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, p[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], cl
	jmp	.L16
.L17:
	mov	DWORD PTR mymove[rip], 2
	mov	DWORD PTR umove[rip], 1
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	jne	.L16
	lea	rdx, -40[rbp]
	lea	rax, -44[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	genmove@PLT
	mov	ecx, DWORD PTR mymove[rip]
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, p[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], cl
.L16:
	call	showboard@PLT
	jmp	.L18
.L22:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -18[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -40[rbp]
	lea	rcx, -44[rbp]
	lea	rax, -18[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getmove@PLT
	mov	eax, DWORD PTR play[rip]
	test	eax, eax
	jle	.L19
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	js	.L20
	mov	ecx, DWORD PTR umove[rip]
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, p[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], cl
	mov	eax, DWORD PTR mymove[rip]
	mov	edi, eax
	call	examboard@PLT
.L20:
	mov	eax, DWORD PTR pass[rip]
	cmp	eax, 2
	je	.L21
	lea	rdx, -40[rbp]
	lea	rax, -44[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	genmove@PLT
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	js	.L21
	mov	ecx, DWORD PTR mymove[rip]
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, p[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], cl
	mov	eax, DWORD PTR umove[rip]
	mov	edi, eax
	call	examboard@PLT
.L21:
	call	showboard@PLT
.L19:
	mov	eax, DWORD PTR pass[rip]
	cmp	eax, 2
	jne	.L18
	mov	DWORD PTR play[rip], 0
.L18:
	mov	eax, DWORD PTR play[rip]
	test	eax, eax
	jg	.L22
	mov	eax, DWORD PTR play[rip]
	test	eax, eax
	jne	.L23
	call	getchar@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -23[rbp]
	cmp	al, 121
	jne	.L23
	call	endgame@PLT
.L23:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"193894109.c"
	.text
	.comm	p,361,4
	.comm	l,361,4
	.comm	ma,361,4
	.comm	ml,361,4
	.comm	mymove,4,4
	.comm	umove,4,4
	.comm	rd,4,4
	.comm	lib,4,4
	.comm	play,4,4
	.comm	pass,4,4
	.comm	mik,4,4
	.comm	mjk,4,4
	.comm	uik,4,4
	.comm	ujk,4,4
	.comm	mk,4,4
	.comm	uk,4,4
	.comm	opn,36,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"gnugo.dat\000"
	.align	2
.LC2:
	.ascii	"%c\000"
	.align	2
.LC3:
	.ascii	"%d %d %d \000"
	.align	2
.LC4:
	.ascii	"%d \000"
	.align	2
.LC5:
	.ascii	"Number of handicap for black (0 to 17)? \000"
	.align	2
.LC6:
	.ascii	"%d\000"
	.align	2
.LC7:
	.ascii	"\012Choose side(b or w)? \000"
	.align	2
.LC8:
	.ascii	"your move? \000"
	.align	2
.LC9:
	.ascii	"%s\000"
	.align	2
.LC10:
	.ascii	"Do you want to count score (y or n)? \000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	bl	showinst
	ldr	r1, .L26+4
	ldr	r0, .L26+8
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L2
	mov	r3, #1
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L4
.L5:
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r2, .L26+12
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L26+16
	ldr	r0, [fp, #-32]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L4:
	ldr	r3, [fp, #-40]
	cmp	r3, #18
	ble	.L5
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L3:
	ldr	r3, [fp, #-44]
	cmp	r3, #18
	ble	.L6
	ldr	r3, .L26+20
	str	r3, [sp]
	ldr	r3, .L26+24
	ldr	r2, .L26+28
	ldr	r1, .L26+32
	ldr	r0, [fp, #-32]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L7
.L8:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, .L26+36
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L26+40
	ldr	r0, [fp, #-32]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L7:
	ldr	r3, [fp, #-44]
	cmp	r3, #8
	ble	.L8
	ldr	r0, [fp, #-32]
	bl	fclose
	ldr	r3, .L26+28
	ldr	r3, [r3]
	rsb	r3, r3, #3
	ldr	r2, .L26+44
	str	r3, [r2]
	ldr	r0, .L26+8
	bl	unlink
	b	.L9
.L2:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L10
.L11:
	ldr	r3, [fp, #-44]
	ldr	r2, .L26+36
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L10:
	ldr	r3, [fp, #-44]
	cmp	r3, #8
	ble	.L11
	ldr	r3, .L26+36
	mov	r2, #0
	str	r2, [r3, #16]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L12
.L15:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L13
.L14:
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-40]
	ldr	r0, .L26+12
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L13:
	ldr	r3, [fp, #-40]
	cmp	r3, #18
	ble	.L14
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L12:
	ldr	r3, [fp, #-44]
	cmp	r3, #18
	ble	.L15
	ldr	r3, .L26+24
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L26+20
	mov	r2, #0
	str	r2, [r3]
.L9:
	ldr	r3, .L26+48
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L26+52
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L26+56
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L26+60
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L26+64
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L26+68
	mvn	r2, #0
	str	r2, [r3]
	ldr	r0, .L26+72
	bl	seed
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L26+76
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L26+80
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	sethand
	bl	showboard
	ldr	r0, .L26+84
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L26+16
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	cmp	r3, #98
	bne	.L17
	ldr	r3, .L26+28
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L26+44
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L16
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	genmove
	ldr	r3, .L26+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-40]
	and	ip, r3, #255
	ldr	r0, .L26+12
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, ip
	strb	r2, [r3]
	b	.L16
.L17:
	ldr	r3, .L26+28
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, .L26+44
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L16
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	genmove
	ldr	r3, .L26+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-40]
	and	ip, r3, #255
	ldr	r0, .L26+12
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, ip
	strb	r2, [r3]
.L16:
	bl	showboard
	b	.L18
.L22:
	ldr	r0, .L26+88
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L26+92
	bl	__isoc99_scanf
	sub	r2, fp, #40
	sub	r1, fp, #44
	sub	r3, fp, #20
	mov	r0, r3
	bl	getmove
	ldr	r3, .L26+48
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L19
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	blt	.L20
	ldr	r3, .L26+44
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-40]
	and	ip, r3, #255
	ldr	r0, .L26+12
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, ip
	strb	r2, [r3]
	ldr	r3, .L26+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	examboard
.L20:
	ldr	r3, .L26+52
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L21
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	genmove
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	blt	.L21
	ldr	r3, .L26+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-40]
	and	ip, r3, #255
	ldr	r0, .L26+12
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, ip
	strb	r2, [r3]
	ldr	r3, .L26+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	examboard
.L21:
	bl	showboard
.L19:
	ldr	r3, .L26+52
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L18
	ldr	r3, .L26+48
	mov	r2, #0
	str	r2, [r3]
.L18:
	ldr	r3, .L26+48
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L22
	ldr	r3, .L26+48
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L23
	bl	getchar
	ldr	r0, .L26+96
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L26+16
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	cmp	r3, #121
	bne	.L23
	bl	endgame
.L23:
	mov	r3, #0
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	p
	.word	.LC2
	.word	uk
	.word	mk
	.word	mymove
	.word	.LC3
	.word	opn
	.word	.LC4
	.word	umove
	.word	play
	.word	pass
	.word	mik
	.word	mjk
	.word	uik
	.word	ujk
	.word	rd
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
