	.file	"156391964.c"
	.intel_syntax noprefix
	.text
	.globl	x
	.bss
	.type	x, @object
	.size	x, 1
x:
	.zero	1
	.globl	board
	.data
	.align 8
	.type	board, @object
	.size	board, 9
board:
	.ascii	"123456789"
	.globl	threes
	.align 16
	.type	threes, @object
	.size	threes, 24
threes:
	.string	""
	.string	"\001\002\003\004\005\006\007\b"
	.string	"\004\b\006\004\002"
	.ascii	"\003\006\001\004\007\002\005\b"
	.section	.rodata
.LC0:
	.string	"\n     *     *"
.LC1:
	.string	"\n  %c  *  %c  *  %c"
.LC2:
	.string	"\n*****************"
.LC3:
	.string	"\n  %c  *  %c  *  %c     "
.LC4:
	.string	"\n"
	.text
	.globl	printboard
	.type	printboard, @function
printboard:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR board[rip+2]
	movsx	ecx, al
	movzx	eax, BYTE PTR board[rip+1]
	movsx	edx, al
	movzx	eax, BYTE PTR board[rip]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR board[rip+5]
	movsx	ecx, al
	movzx	eax, BYTE PTR board[rip+4]
	movsx	edx, al
	movzx	eax, BYTE PTR board[rip+3]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR board[rip+8]
	movsx	ecx, al
	movzx	eax, BYTE PTR board[rip+7]
	movsx	edx, al
	movzx	eax, BYTE PTR board[rip+6]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	printboard, .-printboard
	.globl	domove
	.type	domove, @function
domove:
.LFB1:
	.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 -4[rbp], dl
	mov	BYTE PTR -8[rbp], al
	movzx	eax, BYTE PTR board[rip+4]
	cmp	BYTE PTR -4[rbp], al
	je	.L3
	movzx	eax, BYTE PTR board[rip+4]
	cmp	BYTE PTR -8[rbp], al
	je	.L3
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR board[rip+4], al
	mov	eax, 0
	jmp	.L4
.L3:
	mov	BYTE PTR x[rip], 0
	jmp	.L5
.L8:
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	jne	.L6
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 1
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	jne	.L6
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 2
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	je	.L6
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 2
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -8[rbp], al
	je	.L6
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 2
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rcx, board[rip]
	movzx	edx, BYTE PTR -4[rbp]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, 1
	jmp	.L4
.L6:
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 1
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	jne	.L7
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 2
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	jne	.L7
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	je	.L7
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -8[rbp], al
	je	.L7
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rcx, board[rip]
	movzx	edx, BYTE PTR -4[rbp]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, 1
	jmp	.L4
.L7:
	movzx	eax, BYTE PTR x[rip]
	add	eax, 1
	mov	BYTE PTR x[rip], al
.L5:
	movzx	eax, BYTE PTR x[rip]
	cmp	al, 8
	jne	.L8
	mov	BYTE PTR x[rip], 0
	jmp	.L9
.L12:
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -8[rbp], al
	jne	.L10
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 1
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -8[rbp], al
	jne	.L10
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 2
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	je	.L10
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 2
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -8[rbp], al
	je	.L10
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 2
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rcx, board[rip]
	movzx	edx, BYTE PTR -4[rbp]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, 0
	jmp	.L4
.L10:
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 1
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -8[rbp], al
	jne	.L11
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 2
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -8[rbp], al
	jne	.L11
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	je	.L11
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -8[rbp], al
	je	.L11
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rcx, board[rip]
	movzx	edx, BYTE PTR -4[rbp]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, 0
	jmp	.L4
.L11:
	movzx	eax, BYTE PTR x[rip]
	add	eax, 1
	mov	BYTE PTR x[rip], al
.L9:
	movzx	eax, BYTE PTR x[rip]
	cmp	al, 8
	jne	.L12
	mov	BYTE PTR x[rip], 0
	jmp	.L13
.L15:
	movzx	eax, BYTE PTR x[rip]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	je	.L14
	movzx	eax, BYTE PTR x[rip]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -8[rbp], al
	je	.L14
	movzx	eax, BYTE PTR x[rip]
	movsx	eax, al
	cdqe
	lea	rcx, board[rip]
	movzx	edx, BYTE PTR -4[rbp]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, 0
	jmp	.L4
.L14:
	movzx	eax, BYTE PTR x[rip]
	add	eax, 1
	mov	BYTE PTR x[rip], al
.L13:
	movzx	eax, BYTE PTR x[rip]
	cmp	al, 9
	jne	.L15
	mov	eax, 2
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	domove, .-domove
	.globl	human
	.type	human, @function
human:
.LFB2:
	.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	edx, edi
	mov	eax, esi
	mov	BYTE PTR -20[rbp], dl
	mov	BYTE PTR -24[rbp], al
.L21:
	mov	BYTE PTR -1[rbp], 10
	jmp	.L17
.L18:
	mov	eax, 0
	call	getk@PLT
	sub	eax, 49
	mov	BYTE PTR -1[rbp], al
.L17:
	cmp	BYTE PTR -1[rbp], 0
	js	.L18
	cmp	BYTE PTR -1[rbp], 9
	jg	.L18
	movsx	eax, BYTE PTR -1[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -20[rbp], al
	je	.L21
	movsx	eax, BYTE PTR -1[rbp]
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -24[rbp], al
	je	.L21
	movsx	eax, BYTE PTR -1[rbp]
	cdqe
	lea	rcx, board[rip]
	movzx	edx, BYTE PTR -20[rbp]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	human, .-human
	.globl	ckwin
	.type	ckwin, @function
ckwin:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	BYTE PTR x[rip], 0
	jmp	.L24
.L27:
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	jne	.L25
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 1
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	jne	.L25
	movzx	eax, BYTE PTR x[rip]
	movsx	edx, al
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, 2
	cdqe
	lea	rdx, threes[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	jne	.L25
	mov	eax, 1
	jmp	.L26
.L25:
	movzx	eax, BYTE PTR x[rip]
	add	eax, 1
	mov	BYTE PTR x[rip], al
.L24:
	movzx	eax, BYTE PTR x[rip]
	cmp	al, 8
	jne	.L27
	mov	eax, 0
.L26:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	ckwin, .-ckwin
	.globl	ckfree
	.type	ckfree, @function
ckfree:
.LFB4:
	.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 -4[rbp], dl
	mov	BYTE PTR -8[rbp], al
	mov	BYTE PTR x[rip], 0
	jmp	.L29
.L32:
	movzx	eax, BYTE PTR x[rip]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -4[rbp], al
	je	.L30
	movzx	eax, BYTE PTR x[rip]
	movsx	eax, al
	cdqe
	lea	rdx, board[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -8[rbp], al
	je	.L30
	mov	eax, 1
	jmp	.L31
.L30:
	movzx	eax, BYTE PTR x[rip]
	add	eax, 1
	mov	BYTE PTR x[rip], al
.L29:
	movzx	eax, BYTE PTR x[rip]
	cmp	al, 9
	jne	.L32
	mov	eax, 0
.L31:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	ckfree, .-ckfree
	.section	.rodata
.LC5:
	.string	"%c is the winner\n\n"
.LC6:
	.string	"No winners\n"
	.text
	.globl	ckgame
	.type	ckgame, @function
ckgame:
.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	edx, edi
	mov	eax, esi
	mov	BYTE PTR -4[rbp], dl
	mov	BYTE PTR -8[rbp], al
	movsx	eax, BYTE PTR -4[rbp]
	mov	edi, eax
	call	ckwin
	test	eax, eax
	je	.L34
	movsx	eax, BYTE PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L35
.L34:
	movsx	eax, BYTE PTR -8[rbp]
	mov	edi, eax
	call	ckwin
	test	eax, eax
	je	.L36
	movsx	eax, BYTE PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 2
	jmp	.L35
.L36:
	movsx	edx, BYTE PTR -8[rbp]
	movsx	eax, BYTE PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	ckfree
	test	eax, eax
	jne	.L37
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 3
	jmp	.L35
.L37:
	mov	eax, 0
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	ckgame, .-ckgame
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	printboard
	jmp	.L39
.L42:
	mov	esi, 79
	mov	edi, 88
	call	human
	mov	eax, 0
	call	printboard
	mov	esi, 79
	mov	edi, 88
	call	ckgame
	test	eax, eax
	je	.L40
	mov	eax, 0
	jmp	.L41
.L40:
	mov	esi, 88
	mov	edi, 79
	call	domove
	mov	eax, 0
	call	printboard
.L39:
	mov	esi, 79
	mov	edi, 88
	call	ckgame
	test	eax, eax
	je	.L42
	mov	eax, 0
.L41:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"156391964.c"
	.text
	.comm	x,1,1
	.global	board
	.data
	.align	2
	.type	board, %object
	.size	board, 9
board:
	.ascii	"123456789"
	.global	threes
	.align	2
	.type	threes, %object
	.size	threes, 24
threes:
	.ascii	"\000\001\002\003\004\005\006\007\010\000\004\010\006"
	.ascii	"\004\002\000\003\006\001\004\007\002\005\010"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012     *     *\000"
	.align	2
.LC1:
	.ascii	"\012  %c  *  %c  *  %c\000"
	.align	2
.LC2:
	.ascii	"\012*****************\000"
	.align	2
.LC3:
	.ascii	"\012  %c  *  %c  *  %c     \000"
	.align	2
.LC4:
	.ascii	"\012\000"
	.text
	.align	2
	.global	printboard
	.syntax unified
	.arm
	.fpu softvfp
	.type	printboard, %function
printboard:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	printf
	ldr	r3, .L2+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L2+4
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L2+4
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	ldr	r0, .L2+8
	bl	printf
	ldr	r0, .L2+12
	bl	printf
	ldr	r3, .L2+4
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L2+4
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L2+4
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	ldr	r0, .L2+8
	bl	printf
	ldr	r0, .L2+12
	bl	printf
	ldr	r3, .L2+4
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L2+4
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L2+4
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	ldr	r0, .L2+16
	bl	printf
	ldr	r0, .L2
	bl	printf
	ldr	r0, .L2+20
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	board
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	printboard, .-printboard
	.align	2
	.global	domove
	.syntax unified
	.arm
	.fpu softvfp
	.type	domove, %function
domove:
	@ 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, r0
	mov	r2, r1
	strb	r3, [fp, #-5]
	mov	r3, r2
	strb	r3, [fp, #-6]
	ldr	r3, .L18
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L5
	ldr	r3, .L18
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L5
	ldr	r2, .L18
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, #4]
	mov	r3, #0
	b	.L6
.L5:
	ldr	r3, .L18+4
	mov	r2, #0
	strb	r2, [r3]
	b	.L7
.L10:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L8
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L8
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L8
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L8
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, .L18
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, r1]
	mov	r3, #1
	b	.L6
.L8:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L9
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L9
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L9
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L9
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, .L18
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, r1]
	mov	r3, #1
	b	.L6
.L9:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L18+4
	strb	r2, [r3]
.L7:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #8
	bne	.L10
	ldr	r3, .L18+4
	mov	r2, #0
	strb	r2, [r3]
	b	.L11
.L14:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L12
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L12
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L12
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L12
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, .L18
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, r1]
	mov	r3, #0
	b	.L6
.L12:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L13
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L13
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L13
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L13
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L18+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, .L18
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, r1]
	mov	r3, #0
	b	.L6
.L13:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L18+4
	strb	r2, [r3]
.L11:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #8
	bne	.L14
	ldr	r3, .L18+4
	mov	r2, #0
	strb	r2, [r3]
	b	.L15
.L17:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L16
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L18
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L16
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, .L18
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, r1]
	mov	r3, #0
	b	.L6
.L16:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L18+4
	strb	r2, [r3]
.L15:
	ldr	r3, .L18+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L17
	mov	r3, #2
.L6:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L19:
	.align	2
.L18:
	.word	board
	.word	x
	.word	threes
	.size	domove, .-domove
	.align	2
	.global	human
	.syntax unified
	.arm
	.fpu softvfp
	.type	human, %function
human:
	@ 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
	mov	r2, r1
	strb	r3, [fp, #-13]
	mov	r3, r2
	strb	r3, [fp, #-14]
.L25:
	mov	r3, #10
	strb	r3, [fp, #-5]
	b	.L21
.L22:
	bl	getk
	mov	r3, r0
	and	r3, r3, #255
	sub	r3, r3, #49
	strb	r3, [fp, #-5]
.L21:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #9
	bhi	.L22
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L27
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L25
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L27
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L25
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r1, .L27
	ldrb	r2, [fp, #-13]
	strb	r2, [r1, r3]
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	board
	.size	human, .-human
	.align	2
	.global	ckwin
	.syntax unified
	.arm
	.fpu softvfp
	.type	ckwin, %function
ckwin:
	@ 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, r0
	strb	r3, [fp, #-5]
	ldr	r3, .L34
	mov	r2, #0
	strb	r2, [r3]
	b	.L30
.L33:
	ldr	r3, .L34
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L34+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L34+8
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L31
	ldr	r3, .L34
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	ldr	r2, .L34+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L34+8
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L31
	ldr	r3, .L34
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, .L34+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L34+8
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L31
	mov	r3, #1
	b	.L32
.L31:
	ldr	r3, .L34
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L34
	strb	r2, [r3]
.L30:
	ldr	r3, .L34
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #8
	bne	.L33
	mov	r3, #0
.L32:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L35:
	.align	2
.L34:
	.word	x
	.word	threes
	.word	board
	.size	ckwin, .-ckwin
	.align	2
	.global	ckfree
	.syntax unified
	.arm
	.fpu softvfp
	.type	ckfree, %function
ckfree:
	@ 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, r0
	mov	r2, r1
	strb	r3, [fp, #-5]
	mov	r3, r2
	strb	r3, [fp, #-6]
	ldr	r3, .L41
	mov	r2, #0
	strb	r2, [r3]
	b	.L37
.L40:
	ldr	r3, .L41
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L41+4
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L38
	ldr	r3, .L41
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L41+4
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L38
	mov	r3, #1
	b	.L39
.L38:
	ldr	r3, .L41
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L41
	strb	r2, [r3]
.L37:
	ldr	r3, .L41
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L40
	mov	r3, #0
.L39:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L42:
	.align	2
.L41:
	.word	x
	.word	board
	.size	ckfree, .-ckfree
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%c is the winner\012\012\000"
	.align	2
.LC6:
	.ascii	"No winners\012\000"
	.text
	.align	2
	.global	ckgame
	.syntax unified
	.arm
	.fpu softvfp
	.type	ckgame, %function
ckgame:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	mov	r2, r1
	strb	r3, [fp, #-5]
	mov	r3, r2
	strb	r3, [fp, #-6]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	ckwin
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L48
	bl	printf
	mov	r3, #1
	b	.L45
.L44:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	mov	r0, r3
	bl	ckwin
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L48
	bl	printf
	mov	r3, #2
	b	.L45
.L46:
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	ckfree
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	ldr	r0, .L48+4
	bl	puts
	mov	r3, #3
	b	.L45
.L47:
	mov	r3, #0
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC5
	.word	.LC6
	.size	ckgame, .-ckgame
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	printboard
	b	.L51
.L54:
	mov	r1, #79
	mov	r0, #88
	bl	human
	bl	printboard
	mov	r1, #79
	mov	r0, #88
	bl	ckgame
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	mov	r3, #0
	b	.L53
.L52:
	mov	r1, #88
	mov	r0, #79
	bl	domove
	bl	printboard
.L51:
	mov	r1, #79
	mov	r0, #88
	bl	ckgame
	mov	r3, r0
	cmp	r3, #0
	beq	.L54
	mov	r3, #0
.L53:
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
