	.file	"945998.c"
	.intel_syntax noprefix
	.text
	.globl	board
	.data
	.align 32
	.type	board, @object
	.size	board, 36
board:
	.long	7
	.long	8
	.long	9
	.long	4
	.long	5
	.long	6
	.long	1
	.long	2
	.long	3
	.globl	o
	.align 4
	.type	o, @object
	.size	o, 4
o:
	.long	100
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.long	10000
	.globl	marks
	.section	.rodata
	.type	marks, @object
	.size	marks, 2
marks:
	.ascii	"ox"
.LC0:
	.string	"-+-+-"
.LC1:
	.string	"%d"
	.text
	.globl	show
	.type	show, @function
show:
.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, 16
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L12:
	cmp	DWORD PTR -12[rbp], 0
	je	.L3
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L3:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L11:
	cmp	DWORD PTR -8[rbp], 0
	je	.L5
	mov	edi, 124
	call	putchar@PLT
.L5:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, board[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR o[rip]
	cmp	DWORD PTR -4[rbp], eax
	je	.L6
	mov	eax, DWORD PTR x[rip]
	cmp	DWORD PTR -4[rbp], eax
	jne	.L7
.L6:
	mov	eax, DWORD PTR o[rip]
	cmp	DWORD PTR -4[rbp], eax
	jne	.L8
	mov	eax, 111
	movsx	eax, al
	jmp	.L9
.L8:
	mov	eax, 120
	movsx	eax, al
.L9:
	mov	edi, eax
	call	putchar@PLT
	jmp	.L10
.L7:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, board[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	add	DWORD PTR -8[rbp], 1
.L4:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L11
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L12
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	show, .-show
	.globl	exist
	.type	exist, @function
exist:
.LFB1:
	.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 -20[rbp], edi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L14
.L19:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L15
.L18:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, board[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L16
	mov	eax, 1
	jmp	.L17
.L16:
	add	DWORD PTR -4[rbp], 1
.L15:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L18
	add	DWORD PTR -8[rbp], 1
.L14:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L19
	mov	eax, 0
.L17:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	exist, .-exist
	.globl	update
	.type	update, @function
update:
.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 -20[rbp], edi
	mov	eax, esi
	mov	BYTE PTR -24[rbp], al
	mov	DWORD PTR -8[rbp], 0
	jmp	.L21
.L28:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L22
.L27:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, board[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L23
	mov	eax, 111
	cmp	BYTE PTR -24[rbp], al
	jne	.L24
	mov	edx, DWORD PTR o[rip]
	jmp	.L25
.L24:
	mov	edx, DWORD PTR x[rip]
.L25:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, board[rip]
	mov	DWORD PTR [rcx+rax], edx
	jmp	.L20
.L23:
	add	DWORD PTR -4[rbp], 1
.L22:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L27
	add	DWORD PTR -8[rbp], 1
.L21:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L28
.L20:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	update, .-update
	.globl	check
	.type	check, @function
check:
.LFB3:
	.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 -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L30
.L38:
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L31
.L34:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, board[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, board[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jne	.L32
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, board[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -8[rbp], eax
.L32:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	cmp	eax, 2
	jne	.L33
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, board[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -4[rbp], eax
.L33:
	add	DWORD PTR -20[rbp], 1
.L31:
	cmp	DWORD PTR -20[rbp], 2
	jle	.L34
	mov	edx, DWORD PTR o[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -16[rbp], eax
	je	.L35
	mov	edx, DWORD PTR o[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -12[rbp], eax
	je	.L35
	mov	edx, DWORD PTR x[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -16[rbp], eax
	je	.L35
	mov	edx, DWORD PTR x[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -12[rbp], eax
	jne	.L36
.L35:
	mov	eax, 1
	jmp	.L37
.L36:
	add	DWORD PTR -24[rbp], 1
.L30:
	cmp	DWORD PTR -24[rbp], 2
	jle	.L38
	mov	edx, DWORD PTR o[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -8[rbp], eax
	je	.L39
	mov	edx, DWORD PTR o[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	je	.L39
	mov	edx, DWORD PTR x[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -8[rbp], eax
	je	.L39
	mov	edx, DWORD PTR x[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jne	.L40
.L39:
	mov	eax, 1
	jmp	.L37
.L40:
	mov	eax, 0
.L37:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	check, .-check
	.globl	even
	.type	even, @function
even:
.LFB4:
	.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 -8[rbp], 0
	jmp	.L42
.L47:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L43
.L46:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, board[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jle	.L44
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, board[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 9
	jg	.L44
	mov	eax, 0
	jmp	.L45
.L44:
	add	DWORD PTR -4[rbp], 1
.L43:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L46
	add	DWORD PTR -8[rbp], 1
.L42:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L47
	mov	eax, 1
.L45:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	even, .-even
	.section	.rodata
.LC2:
	.string	"%c> "
.LC3:
	.string	"ERROR"
.LC4:
	.string	"%c win!\n"
.LC5:
	.string	"even."
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L57:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L49
.L56:
	mov	eax, 0
	call	show
.L52:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, marks[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	js	.L50
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 10
	jg	.L50
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	exist
	test	eax, eax
	jne	.L51
.L50:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L52
.L51:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, marks[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	edx, al
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	update
	mov	eax, 0
	call	check
	test	eax, eax
	je	.L53
	mov	eax, 0
	call	show
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, marks[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L58
.L53:
	mov	eax, 0
	call	even
	test	eax, eax
	je	.L61
	mov	eax, 0
	call	show
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L58
.L61:
	nop
	add	DWORD PTR -12[rbp], 1
.L49:
	cmp	DWORD PTR -12[rbp], 1
	jle	.L56
	jmp	.L57
.L58:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"945998.c"
	.text
	.global	board
	.data
	.align	2
	.type	board, %object
	.size	board, 36
board:
	.word	7
	.word	8
	.word	9
	.word	4
	.word	5
	.word	6
	.word	1
	.word	2
	.word	3
	.global	o
	.align	2
	.type	o, %object
	.size	o, 4
o:
	.word	100
	.global	x
	.align	2
	.type	x, %object
	.size	x, 4
x:
	.word	10000
	.global	marks
	.section	.rodata
	.align	2
	.type	marks, %object
	.size	marks, 2
marks:
	.ascii	"ox"
	.align	2
.LC0:
	.ascii	"-+-+-\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.text
	.align	2
	.global	show
	.syntax unified
	.arm
	.fpu softvfp
	.type	show, %function
show:
	@ 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, #-16]
	b	.L2
.L12:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L3
	ldr	r0, .L13
	bl	puts
.L3:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L11:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L5
	mov	r0, #124
	bl	putchar
.L5:
	ldr	r1, .L13+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L6
	ldr	r3, .L13+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L7
.L6:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L8
	mov	r3, #111
	b	.L9
.L8:
	mov	r3, #120
.L9:
	mov	r0, r3
	bl	putchar
	b	.L10
.L7:
	ldr	r1, .L13+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L13+16
	bl	printf
.L10:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L11
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L12
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	board
	.word	o
	.word	x
	.word	.LC1
	.size	show, .-show
	.align	2
	.global	exist
	.syntax unified
	.arm
	.fpu softvfp
	.type	exist, %function
exist:
	@ 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
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L16
.L21:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L17
.L20:
	ldr	r1, .L22
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L18
	mov	r3, #1
	b	.L19
.L18:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L17:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L20
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L16:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L21
	mov	r3, #0
.L19:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L23:
	.align	2
.L22:
	.word	board
	.size	exist, .-exist
	.align	2
	.global	update
	.syntax unified
	.arm
	.fpu softvfp
	.type	update, %function
update:
	@ 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
	str	r0, [fp, #-16]
	mov	r3, r1
	strb	r3, [fp, #-17]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L25
.L32:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L26
.L31:
	ldr	r1, .L33
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L27
	mov	r2, #111
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L28
	ldr	r3, .L33+4
	ldr	r2, [r3]
	b	.L29
.L28:
	ldr	r3, .L33+8
	ldr	r2, [r3]
.L29:
	ldr	r0, .L33
	ldr	r1, [fp, #-12]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	ldr	r1, [fp, #-8]
	add	r3, r3, r1
	str	r2, [r0, r3, lsl #2]
	b	.L24
.L27:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L26:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L31
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L25:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L32
.L24:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L34:
	.align	2
.L33:
	.word	board
	.word	o
	.word	x
	.size	update, .-update
	.align	2
	.global	check
	.syntax unified
	.arm
	.fpu softvfp
	.type	check, %function
check:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L36
.L44:
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L37
.L40:
	ldr	r1, .L47
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r1, .L47
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L38
	ldr	r2, .L47
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #4]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
.L38:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	cmp	r3, #2
	bne	.L39
	ldr	r1, .L47
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
.L39:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L37:
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	ble	.L40
	ldr	r3, .L47+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L41
	ldr	r3, .L47+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L41
	ldr	r3, .L47+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L41
	ldr	r3, .L47+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L42
.L41:
	mov	r3, #1
	b	.L43
.L42:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L36:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	ble	.L44
	ldr	r3, .L47+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L45
	ldr	r3, .L47+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L45
	ldr	r3, .L47+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L45
	ldr	r3, .L47+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L46
.L45:
	mov	r3, #1
	b	.L43
.L46:
	mov	r3, #0
.L43:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L48:
	.align	2
.L47:
	.word	board
	.word	o
	.word	x
	.size	check, .-check
	.align	2
	.global	even
	.syntax unified
	.arm
	.fpu softvfp
	.type	even, %function
even:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L50
.L55:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L51
.L54:
	ldr	r1, .L56
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	ble	.L52
	ldr	r1, .L56
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #9
	bgt	.L52
	mov	r3, #0
	b	.L53
.L52:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L51:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L54
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L50:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L55
	mov	r3, #1
.L53:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L57:
	.align	2
.L56:
	.word	board
	.size	even, .-even
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%c> \000"
	.align	2
.LC3:
	.ascii	"ERROR\000"
	.align	2
.LC4:
	.ascii	"%c win!\012\000"
	.align	2
.LC5:
	.ascii	"even.\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L67:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L59
.L66:
	bl	show
.L62:
	ldr	r2, .L72+4
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L72+8
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L72+12
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L60
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	bgt	.L60
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	exist
	mov	r3, r0
	cmp	r3, #0
	bne	.L61
.L60:
	ldr	r0, .L72+16
	bl	puts
	b	.L62
.L61:
	ldr	r2, [fp, #-16]
	ldr	r1, .L72+4
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, r2
	bl	update
	bl	check
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
	bl	show
	ldr	r2, .L72+4
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L72+20
	bl	printf
	mov	r3, #0
	b	.L68
.L63:
	bl	even
	mov	r3, r0
	cmp	r3, #0
	beq	.L71
	bl	show
	ldr	r0, .L72+24
	bl	puts
	mov	r3, #0
	b	.L68
.L71:
	nop
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L59:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	ble	.L66
	b	.L67
.L68:
	ldr	r2, .L72
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L69
	bl	__stack_chk_fail
.L69:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC6
	.word	marks
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
