	.file	"203868.c"
	.intel_syntax noprefix
	.text
	.globl	i
	.bss
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	brd
	.align 32
	.type	brd, @object
	.size	brd, 36
brd:
	.zero	36
	.globl	position
	.align 4
	.type	position, @object
	.size	position, 4
position:
	.zero	4
	.globl	user
	.align 4
	.type	user, @object
	.size	user, 4
user:
	.zero	4
	.globl	play
	.data
	.type	play, @object
	.size	play, 1
play:
	.byte	1
	.text
	.globl	board
	.type	board, @function
board:
.LFB0:
	.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 i[rip], 0
	jmp	.L2
.L5:
	mov	DWORD PTR j[rip], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	DWORD PTR [rdx+rax], 9
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L3:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 2
	jle	.L4
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L5
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	board, .-board
	.section	.rodata
.LC0:
	.string	"|_|"
.LC1:
	.string	" X "
.LC2:
	.string	" O "
	.text
	.globl	display
	.type	display, @function
display:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L7
.L13:
	mov	DWORD PTR j[rip], 0
	jmp	.L8
.L12:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 9
	jne	.L9
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L9:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L11
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L11:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L10
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L8:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 2
	jle	.L12
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L7:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L13
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	display, .-display
	.globl	switch_user
	.type	switch_user, @function
switch_user:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 65
	jne	.L15
	mov	DWORD PTR user[rip], 66
	jmp	.L17
.L15:
	mov	DWORD PTR user[rip], 65
.L17:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	switch_user, .-switch_user
	.globl	row
	.type	row, @function
row:
.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 i[rip], 0
	jmp	.L19
.L27:
	mov	DWORD PTR j[rip], 0
	jmp	.L20
.L23:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L21
	add	DWORD PTR -8[rbp], 1
	jmp	.L22
.L21:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L22
	add	DWORD PTR -4[rbp], 1
.L22:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L20:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 2
	jle	.L23
	cmp	DWORD PTR -8[rbp], 3
	jne	.L24
	mov	eax, 65
	jmp	.L18
.L24:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L26
	mov	eax, 66
	jmp	.L18
.L26:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L19:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L27
.L18:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	row, .-row
	.globl	diagonal
	.type	diagonal, @function
diagonal:
.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
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR i[rip], 0
	jmp	.L29
.L37:
	mov	DWORD PTR j[rip], 0
	jmp	.L30
.L33:
	mov	eax, DWORD PTR j[rip]
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L31
	add	DWORD PTR -8[rbp], 1
	jmp	.L32
.L31:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L32
	add	DWORD PTR -4[rbp], 1
.L32:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L30:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 2
	jle	.L33
	cmp	DWORD PTR -8[rbp], 3
	jne	.L34
	mov	eax, 65
	jmp	.L28
.L34:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L36
	mov	eax, 66
	jmp	.L28
.L36:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L29:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L37
.L28:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	diagonal, .-diagonal
	.globl	column
	.type	column, @function
column:
.LFB5:
	.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 i[rip], 0
	jmp	.L39
.L47:
	mov	DWORD PTR j[rip], 0
	jmp	.L40
.L43:
	mov	eax, DWORD PTR j[rip]
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L41
	add	DWORD PTR -8[rbp], 1
	jmp	.L42
.L41:
	mov	eax, DWORD PTR j[rip]
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L42
	add	DWORD PTR -4[rbp], 1
.L42:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L40:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 2
	jle	.L43
	cmp	DWORD PTR -8[rbp], 3
	jne	.L44
	mov	eax, 65
	jmp	.L38
.L44:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L46
	mov	eax, 66
	jmp	.L38
.L46:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L39:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L47
.L38:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	column, .-column
	.section	.rodata
.LC3:
	.string	"\n%c's Win."
.LC4:
	.string	"\nIt's a Tie."
	.text
	.globl	win
	.type	win, @function
win:
.LFB6:
	.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 -8[rbp], 0
	mov	eax, 0
	call	diagonal
	mov	DWORD PTR -4[rbp], eax
	mov	eax, 0
	call	diagonal
	mov	DWORD PTR -4[rbp], eax
	mov	eax, 0
	call	column
	mov	DWORD PTR -4[rbp], eax
	mov	eax, 0
	call	row
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 65
	je	.L49
	cmp	DWORD PTR -4[rbp], 66
	jne	.L50
.L49:
	mov	eax, 0
	call	display
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR play[rip], 0
.L50:
	mov	DWORD PTR i[rip], 0
	jmp	.L51
.L55:
	mov	DWORD PTR j[rip], 0
	jmp	.L52
.L54:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, brd[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 9
	jne	.L53
	mov	DWORD PTR -8[rbp], 1
.L53:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L52:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 2
	jle	.L54
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L51:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L55
	cmp	DWORD PTR -8[rbp], 0
	jne	.L58
	cmp	DWORD PTR -4[rbp], 65
	je	.L57
	cmp	DWORD PTR -4[rbp], 66
	jne	.L58
.L57:
	mov	eax, 0
	call	display
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR play[rip], 0
.L58:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	win, .-win
	.globl	insert
	.type	insert, @function
insert:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR position[rip]
	cmp	eax, 1
	jne	.L60
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 65
	jne	.L61
	mov	DWORD PTR brd[rip], 1
	jmp	.L78
.L61:
	mov	DWORD PTR brd[rip], 0
	jmp	.L78
.L60:
	mov	eax, DWORD PTR position[rip]
	cmp	eax, 2
	jne	.L63
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 65
	jne	.L64
	mov	DWORD PTR brd[rip+4], 1
	jmp	.L78
.L64:
	mov	DWORD PTR brd[rip+4], 0
	jmp	.L78
.L63:
	mov	eax, DWORD PTR position[rip]
	cmp	eax, 3
	jne	.L65
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 65
	jne	.L66
	mov	DWORD PTR brd[rip+8], 1
	jmp	.L78
.L66:
	mov	DWORD PTR brd[rip+8], 0
	jmp	.L78
.L65:
	mov	eax, DWORD PTR position[rip]
	cmp	eax, 4
	jne	.L67
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 65
	jne	.L68
	mov	DWORD PTR brd[rip+12], 1
	jmp	.L78
.L68:
	mov	DWORD PTR brd[rip+12], 0
	jmp	.L78
.L67:
	mov	eax, DWORD PTR position[rip]
	cmp	eax, 5
	jne	.L69
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 65
	jne	.L70
	mov	DWORD PTR brd[rip+16], 1
	jmp	.L78
.L70:
	mov	DWORD PTR brd[rip+16], 0
	jmp	.L78
.L69:
	mov	eax, DWORD PTR position[rip]
	cmp	eax, 6
	jne	.L71
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 65
	jne	.L72
	mov	DWORD PTR brd[rip+20], 1
	jmp	.L78
.L72:
	mov	DWORD PTR brd[rip+20], 0
	jmp	.L78
.L71:
	mov	eax, DWORD PTR position[rip]
	cmp	eax, 7
	jne	.L73
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 65
	jne	.L74
	mov	DWORD PTR brd[rip+24], 1
	jmp	.L78
.L74:
	mov	DWORD PTR brd[rip+24], 0
	jmp	.L78
.L73:
	mov	eax, DWORD PTR position[rip]
	cmp	eax, 8
	jne	.L75
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 65
	jne	.L76
	mov	DWORD PTR brd[rip+28], 1
	jmp	.L78
.L76:
	mov	DWORD PTR brd[rip+28], 0
	jmp	.L78
.L75:
	mov	eax, DWORD PTR position[rip]
	cmp	eax, 9
	jne	.L78
	mov	eax, DWORD PTR user[rip]
	cmp	eax, 65
	jne	.L77
	mov	DWORD PTR brd[rip+32], 1
	jmp	.L78
.L77:
	mov	DWORD PTR brd[rip+32], 0
.L78:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	insert, .-insert
	.section	.rodata
.LC5:
	.string	"\nIt's %c's turn."
.LC6:
	.string	"\nEnter your choice: "
.LC7:
	.string	"%d"
	.text
	.globl	game
	.type	game, @function
game:
.LFB8:
	.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 user[rip], 65
	mov	eax, 0
	call	board
	jmp	.L80
.L81:
	mov	eax, 0
	call	display
	mov	eax, DWORD PTR user[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, position[rip]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, 0
	call	insert
	mov	eax, 0
	call	win
	mov	eax, 0
	call	switch_user
.L80:
	movzx	eax, BYTE PTR play[rip]
	test	al, al
	jne	.L81
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	game, .-game
	.globl	main
	.type	main, @function
main:
.LFB9:
	.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	game
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"203868.c"
	.text
	.comm	i,4,4
	.comm	j,4,4
	.comm	brd,36,4
	.comm	position,4,4
	.comm	user,4,4
	.global	play
	.data
	.type	play, %object
	.size	play, 1
play:
	.byte	1
	.text
	.align	2
	.global	board
	.syntax unified
	.arm
	.fpu softvfp
	.type	board, %function
board:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L6
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L5:
	ldr	r3, .L6+4
	mov	r2, #0
	str	r2, [r3]
	b	.L3
.L4:
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, .L6+4
	ldr	r1, [r3]
	ldr	r0, .L6+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	mov	r2, #9
	str	r2, [r0, r3, lsl #2]
	ldr	r3, .L6+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+4
	str	r3, [r2]
.L3:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L4
	ldr	r3, .L6
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6
	str	r3, [r2]
.L2:
	ldr	r3, .L6
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L5
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	i
	.word	j
	.word	brd
	.size	board, .-board
	.section	.rodata
	.align	2
.LC0:
	.ascii	"|_|\000"
	.align	2
.LC1:
	.ascii	" X \000"
	.align	2
.LC2:
	.ascii	" O \000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #10
	bl	putchar
	ldr	r3, .L16
	mov	r2, #0
	str	r2, [r3]
	b	.L9
.L15:
	ldr	r3, .L16+4
	mov	r2, #0
	str	r2, [r3]
	b	.L10
.L14:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, .L16+4
	ldr	r1, [r3]
	ldr	r0, .L16+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #9
	bne	.L11
	ldr	r0, .L16+12
	bl	printf
	b	.L12
.L11:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, .L16+4
	ldr	r1, [r3]
	ldr	r0, .L16+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #1
	bne	.L13
	ldr	r0, .L16+16
	bl	printf
	b	.L12
.L13:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, .L16+4
	ldr	r1, [r3]
	ldr	r0, .L16+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #0
	bne	.L12
	ldr	r0, .L16+20
	bl	printf
.L12:
	ldr	r3, .L16+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+4
	str	r3, [r2]
.L10:
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L14
	mov	r0, #10
	bl	putchar
	ldr	r3, .L16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16
	str	r3, [r2]
.L9:
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L15
	nop
	nop
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	i
	.word	j
	.word	brd
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	display, .-display
	.align	2
	.global	switch_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	switch_user, %function
switch_user:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r3, #65
	bne	.L19
	ldr	r3, .L22
	mov	r2, #66
	str	r2, [r3]
	b	.L21
.L19:
	ldr	r3, .L22
	mov	r2, #65
	str	r2, [r3]
.L21:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L23:
	.align	2
.L22:
	.word	user
	.size	switch_user, .-switch_user
	.align	2
	.global	row
	.syntax unified
	.arm
	.fpu softvfp
	.type	row, %function
row:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L34
	mov	r2, #0
	str	r2, [r3]
	b	.L25
.L33:
	ldr	r3, .L34+4
	mov	r2, #0
	str	r2, [r3]
	b	.L26
.L29:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, .L34+4
	ldr	r1, [r3]
	ldr	r0, .L34+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #1
	bne	.L27
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L28
.L27:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, .L34+4
	ldr	r1, [r3]
	ldr	r0, .L34+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L28:
	ldr	r3, .L34+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L34+4
	str	r3, [r2]
.L26:
	ldr	r3, .L34+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L29
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L30
	mov	r3, #65
	b	.L24
.L30:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L32
	mov	r3, #66
	b	.L24
.L32:
	ldr	r3, .L34
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L34
	str	r3, [r2]
.L25:
	ldr	r3, .L34
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L33
.L24:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L35:
	.align	2
.L34:
	.word	i
	.word	j
	.word	brd
	.size	row, .-row
	.align	2
	.global	diagonal
	.syntax unified
	.arm
	.fpu softvfp
	.type	diagonal, %function
diagonal:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L46
	mov	r2, #0
	str	r2, [r3]
	b	.L37
.L45:
	ldr	r3, .L46+4
	mov	r2, #0
	str	r2, [r3]
	b	.L38
.L41:
	ldr	r3, .L46+4
	ldr	r2, [r3]
	ldr	r3, .L46
	ldr	r1, [r3]
	ldr	r0, .L46+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #1
	bne	.L39
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L40
.L39:
	ldr	r3, .L46
	ldr	r2, [r3]
	ldr	r3, .L46+4
	ldr	r1, [r3]
	ldr	r0, .L46+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L40:
	ldr	r3, .L46+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L46+4
	str	r3, [r2]
.L38:
	ldr	r3, .L46+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L41
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L42
	mov	r3, #65
	b	.L36
.L42:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L44
	mov	r3, #66
	b	.L36
.L44:
	ldr	r3, .L46
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L46
	str	r3, [r2]
.L37:
	ldr	r3, .L46
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L45
.L36:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L47:
	.align	2
.L46:
	.word	i
	.word	j
	.word	brd
	.size	diagonal, .-diagonal
	.align	2
	.global	column
	.syntax unified
	.arm
	.fpu softvfp
	.type	column, %function
column:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L58
	mov	r2, #0
	str	r2, [r3]
	b	.L49
.L57:
	ldr	r3, .L58+4
	mov	r2, #0
	str	r2, [r3]
	b	.L50
.L53:
	ldr	r3, .L58+4
	ldr	r2, [r3]
	ldr	r3, .L58
	ldr	r1, [r3]
	ldr	r0, .L58+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #1
	bne	.L51
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L52
.L51:
	ldr	r3, .L58+4
	ldr	r2, [r3]
	ldr	r3, .L58
	ldr	r1, [r3]
	ldr	r0, .L58+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L52:
	ldr	r3, .L58+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L58+4
	str	r3, [r2]
.L50:
	ldr	r3, .L58+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L53
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L54
	mov	r3, #65
	b	.L48
.L54:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L56
	mov	r3, #66
	b	.L48
.L56:
	ldr	r3, .L58
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L58
	str	r3, [r2]
.L49:
	ldr	r3, .L58
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L57
.L48:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L59:
	.align	2
.L58:
	.word	i
	.word	j
	.word	brd
	.size	column, .-column
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\012%c's Win.\000"
	.align	2
.LC4:
	.ascii	"\012It's a Tie.\000"
	.text
	.align	2
	.global	win
	.syntax unified
	.arm
	.fpu softvfp
	.type	win, %function
win:
	@ 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, #0
	str	r3, [fp, #-12]
	bl	diagonal
	str	r0, [fp, #-8]
	bl	diagonal
	str	r0, [fp, #-8]
	bl	column
	str	r0, [fp, #-8]
	bl	row
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #65
	beq	.L61
	ldr	r3, [fp, #-8]
	cmp	r3, #66
	bne	.L62
.L61:
	bl	display
	ldr	r1, [fp, #-8]
	ldr	r0, .L71
	bl	printf
	ldr	r3, .L71+4
	mov	r2, #0
	strb	r2, [r3]
.L62:
	ldr	r3, .L71+8
	mov	r2, #0
	str	r2, [r3]
	b	.L63
.L67:
	ldr	r3, .L71+12
	mov	r2, #0
	str	r2, [r3]
	b	.L64
.L66:
	ldr	r3, .L71+8
	ldr	r2, [r3]
	ldr	r3, .L71+12
	ldr	r1, [r3]
	ldr	r0, .L71+16
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #9
	bne	.L65
	mov	r3, #1
	str	r3, [fp, #-12]
.L65:
	ldr	r3, .L71+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L71+12
	str	r3, [r2]
.L64:
	ldr	r3, .L71+12
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L66
	ldr	r3, .L71+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L71+8
	str	r3, [r2]
.L63:
	ldr	r3, .L71+8
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L67
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L70
	ldr	r3, [fp, #-8]
	cmp	r3, #65
	beq	.L69
	ldr	r3, [fp, #-8]
	cmp	r3, #66
	bne	.L70
.L69:
	bl	display
	ldr	r0, .L71+20
	bl	printf
	ldr	r3, .L71+4
	mov	r2, #0
	strb	r2, [r3]
.L70:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC3
	.word	play
	.word	i
	.word	j
	.word	brd
	.word	.LC4
	.size	win, .-win
	.align	2
	.global	insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert, %function
insert:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L93
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L74
	ldr	r3, .L93+4
	ldr	r3, [r3]
	cmp	r3, #65
	bne	.L75
	ldr	r3, .L93+8
	mov	r2, #1
	str	r2, [r3]
	b	.L92
.L75:
	ldr	r3, .L93+8
	mov	r2, #0
	str	r2, [r3]
	b	.L92
.L74:
	ldr	r3, .L93
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L77
	ldr	r3, .L93+4
	ldr	r3, [r3]
	cmp	r3, #65
	bne	.L78
	ldr	r3, .L93+8
	mov	r2, #1
	str	r2, [r3, #4]
	b	.L92
.L78:
	ldr	r3, .L93+8
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L92
.L77:
	ldr	r3, .L93
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L79
	ldr	r3, .L93+4
	ldr	r3, [r3]
	cmp	r3, #65
	bne	.L80
	ldr	r3, .L93+8
	mov	r2, #1
	str	r2, [r3, #8]
	b	.L92
.L80:
	ldr	r3, .L93+8
	mov	r2, #0
	str	r2, [r3, #8]
	b	.L92
.L79:
	ldr	r3, .L93
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L81
	ldr	r3, .L93+4
	ldr	r3, [r3]
	cmp	r3, #65
	bne	.L82
	ldr	r3, .L93+8
	mov	r2, #1
	str	r2, [r3, #12]
	b	.L92
.L82:
	ldr	r3, .L93+8
	mov	r2, #0
	str	r2, [r3, #12]
	b	.L92
.L81:
	ldr	r3, .L93
	ldr	r3, [r3]
	cmp	r3, #5
	bne	.L83
	ldr	r3, .L93+4
	ldr	r3, [r3]
	cmp	r3, #65
	bne	.L84
	ldr	r3, .L93+8
	mov	r2, #1
	str	r2, [r3, #16]
	b	.L92
.L84:
	ldr	r3, .L93+8
	mov	r2, #0
	str	r2, [r3, #16]
	b	.L92
.L83:
	ldr	r3, .L93
	ldr	r3, [r3]
	cmp	r3, #6
	bne	.L85
	ldr	r3, .L93+4
	ldr	r3, [r3]
	cmp	r3, #65
	bne	.L86
	ldr	r3, .L93+8
	mov	r2, #1
	str	r2, [r3, #20]
	b	.L92
.L86:
	ldr	r3, .L93+8
	mov	r2, #0
	str	r2, [r3, #20]
	b	.L92
.L85:
	ldr	r3, .L93
	ldr	r3, [r3]
	cmp	r3, #7
	bne	.L87
	ldr	r3, .L93+4
	ldr	r3, [r3]
	cmp	r3, #65
	bne	.L88
	ldr	r3, .L93+8
	mov	r2, #1
	str	r2, [r3, #24]
	b	.L92
.L88:
	ldr	r3, .L93+8
	mov	r2, #0
	str	r2, [r3, #24]
	b	.L92
.L87:
	ldr	r3, .L93
	ldr	r3, [r3]
	cmp	r3, #8
	bne	.L89
	ldr	r3, .L93+4
	ldr	r3, [r3]
	cmp	r3, #65
	bne	.L90
	ldr	r3, .L93+8
	mov	r2, #1
	str	r2, [r3, #28]
	b	.L92
.L90:
	ldr	r3, .L93+8
	mov	r2, #0
	str	r2, [r3, #28]
	b	.L92
.L89:
	ldr	r3, .L93
	ldr	r3, [r3]
	cmp	r3, #9
	bne	.L92
	ldr	r3, .L93+4
	ldr	r3, [r3]
	cmp	r3, #65
	bne	.L91
	ldr	r3, .L93+8
	mov	r2, #1
	str	r2, [r3, #32]
	b	.L92
.L91:
	ldr	r3, .L93+8
	mov	r2, #0
	str	r2, [r3, #32]
.L92:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L94:
	.align	2
.L93:
	.word	position
	.word	user
	.word	brd
	.size	insert, .-insert
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012It's %c's turn.\000"
	.align	2
.LC6:
	.ascii	"\012Enter your choice: \000"
	.align	2
.LC7:
	.ascii	"%d\000"
	.text
	.align	2
	.global	game
	.syntax unified
	.arm
	.fpu softvfp
	.type	game, %function
game:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L98
	mov	r2, #65
	str	r2, [r3]
	bl	board
	b	.L96
.L97:
	bl	display
	ldr	r3, .L98
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L98+4
	bl	printf
	ldr	r0, .L98+8
	bl	printf
	ldr	r1, .L98+12
	ldr	r0, .L98+16
	bl	__isoc99_scanf
	bl	insert
	bl	win
	bl	switch_user
.L96:
	ldr	r3, .L98+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L97
	nop
	nop
	pop	{fp, pc}
.L99:
	.align	2
.L98:
	.word	user
	.word	.LC5
	.word	.LC6
	.word	position
	.word	.LC7
	.word	play
	.size	game, .-game
	.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	game
	nop
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
