	.file	"674534.c"
	.intel_syntax noprefix
	.text
	.globl	square
	.data
	.align 8
	.type	square, @object
	.size	square, 10
square:
	.ascii	"0123456789"
	.globl	choice
	.bss
	.align 4
	.type	choice, @object
	.size	choice, 4
choice:
	.zero	4
	.globl	player
	.align 4
	.type	player, @object
	.size	player, 4
player:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Player %d, enter a number: "
.LC1:
	.string	"%d"
.LC2:
	.string	"==>\007Player %d win "
.LC3:
	.string	"==>\007Game draw"
	.text
	.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
	sub	rsp, 16
	mov	DWORD PTR player[rip], 1
.L6:
	mov	eax, 0
	call	displayBoard
	mov	eax, DWORD PTR player[rip]
	and	eax, 1
	test	eax, eax
	je	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	eax, 2
.L3:
	mov	DWORD PTR player[rip], eax
	mov	eax, DWORD PTR player[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, choice[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR player[rip]
	cmp	eax, 1
	jne	.L4
	mov	eax, 88
	jmp	.L5
.L4:
	mov	eax, 79
.L5:
	mov	BYTE PTR -5[rbp], al
	movsx	eax, BYTE PTR -5[rbp]
	mov	edi, eax
	call	markBoard
	mov	eax, 0
	call	checkForWin
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR player[rip]
	add	eax, 1
	mov	DWORD PTR player[rip], eax
	cmp	DWORD PTR -4[rbp], -1
	je	.L6
	cmp	DWORD PTR -4[rbp], 1
	jne	.L7
	mov	eax, DWORD PTR player[rip]
	sub	eax, 1
	mov	DWORD PTR player[rip], eax
	mov	eax, DWORD PTR player[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L7:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	checkForWin
	.type	checkForWin, @function
checkForWin:
.LFB7:
	.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 -4[rbp], 0
	movzx	edx, BYTE PTR square[rip+1]
	movzx	eax, BYTE PTR square[rip+2]
	cmp	dl, al
	jne	.L11
	movzx	edx, BYTE PTR square[rip+2]
	movzx	eax, BYTE PTR square[rip+3]
	cmp	dl, al
	jne	.L11
	mov	DWORD PTR -4[rbp], 1
	jmp	.L12
.L11:
	movzx	edx, BYTE PTR square[rip+4]
	movzx	eax, BYTE PTR square[rip+5]
	cmp	dl, al
	jne	.L13
	movzx	edx, BYTE PTR square[rip+5]
	movzx	eax, BYTE PTR square[rip+6]
	cmp	dl, al
	jne	.L13
	mov	DWORD PTR -4[rbp], 1
	jmp	.L12
.L13:
	movzx	edx, BYTE PTR square[rip+7]
	movzx	eax, BYTE PTR square[rip+8]
	cmp	dl, al
	jne	.L14
	movzx	edx, BYTE PTR square[rip+8]
	movzx	eax, BYTE PTR square[rip+9]
	cmp	dl, al
	jne	.L14
	mov	DWORD PTR -4[rbp], 1
	jmp	.L12
.L14:
	movzx	edx, BYTE PTR square[rip+1]
	movzx	eax, BYTE PTR square[rip+4]
	cmp	dl, al
	jne	.L15
	movzx	edx, BYTE PTR square[rip+4]
	movzx	eax, BYTE PTR square[rip+7]
	cmp	dl, al
	jne	.L15
	mov	DWORD PTR -4[rbp], 1
	jmp	.L12
.L15:
	movzx	edx, BYTE PTR square[rip+2]
	movzx	eax, BYTE PTR square[rip+5]
	cmp	dl, al
	jne	.L16
	movzx	edx, BYTE PTR square[rip+5]
	movzx	eax, BYTE PTR square[rip+8]
	cmp	dl, al
	jne	.L16
	mov	DWORD PTR -4[rbp], 1
	jmp	.L12
.L16:
	movzx	edx, BYTE PTR square[rip+3]
	movzx	eax, BYTE PTR square[rip+6]
	cmp	dl, al
	jne	.L17
	movzx	edx, BYTE PTR square[rip+6]
	movzx	eax, BYTE PTR square[rip+9]
	cmp	dl, al
	jne	.L17
	mov	DWORD PTR -4[rbp], 1
	jmp	.L12
.L17:
	movzx	edx, BYTE PTR square[rip+1]
	movzx	eax, BYTE PTR square[rip+5]
	cmp	dl, al
	jne	.L18
	movzx	edx, BYTE PTR square[rip+5]
	movzx	eax, BYTE PTR square[rip+9]
	cmp	dl, al
	jne	.L18
	mov	DWORD PTR -4[rbp], 1
	jmp	.L12
.L18:
	movzx	edx, BYTE PTR square[rip+3]
	movzx	eax, BYTE PTR square[rip+5]
	cmp	dl, al
	jne	.L19
	movzx	edx, BYTE PTR square[rip+5]
	movzx	eax, BYTE PTR square[rip+7]
	cmp	dl, al
	jne	.L19
	mov	DWORD PTR -4[rbp], 1
	jmp	.L12
.L19:
	movzx	eax, BYTE PTR square[rip+1]
	cmp	al, 49
	je	.L20
	movzx	eax, BYTE PTR square[rip+2]
	cmp	al, 50
	je	.L20
	movzx	eax, BYTE PTR square[rip+3]
	cmp	al, 51
	je	.L20
	movzx	eax, BYTE PTR square[rip+4]
	cmp	al, 52
	je	.L20
	movzx	eax, BYTE PTR square[rip+5]
	cmp	al, 53
	je	.L20
	movzx	eax, BYTE PTR square[rip+6]
	cmp	al, 54
	je	.L20
	movzx	eax, BYTE PTR square[rip+7]
	cmp	al, 55
	je	.L20
	movzx	eax, BYTE PTR square[rip+8]
	cmp	al, 56
	je	.L20
	movzx	eax, BYTE PTR square[rip+9]
	cmp	al, 57
	je	.L20
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L20:
	mov	DWORD PTR -4[rbp], -1
.L12:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	checkForWin, .-checkForWin
	.section	.rodata
.LC4:
	.string	"clear"
.LC5:
	.string	"\n\n\tTic Tac Toe\n"
	.align 8
.LC6:
	.string	"Player 1 (X)  -  Player 2 (O)\n\n"
.LC7:
	.string	"     |     |     "
.LC8:
	.string	"  %c  |  %c  |  %c \n"
.LC9:
	.string	"_____|_____|_____"
.LC10:
	.string	"     |     |     \n"
	.text
	.globl	displayBoard
	.type	displayBoard, @function
displayBoard:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC4[rip]
	call	system@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	movzx	eax, BYTE PTR square[rip+3]
	movsx	ecx, al
	movzx	eax, BYTE PTR square[rip+2]
	movsx	edx, al
	movzx	eax, BYTE PTR square[rip+1]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	movzx	eax, BYTE PTR square[rip+6]
	movsx	ecx, al
	movzx	eax, BYTE PTR square[rip+5]
	movsx	edx, al
	movzx	eax, BYTE PTR square[rip+4]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	movzx	eax, BYTE PTR square[rip+9]
	movsx	ecx, al
	movzx	eax, BYTE PTR square[rip+8]
	movsx	edx, al
	movzx	eax, BYTE PTR square[rip+7]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	displayBoard, .-displayBoard
	.section	.rodata
.LC11:
	.string	"Invalid move "
	.text
	.globl	markBoard
	.type	markBoard, @function
markBoard:
.LFB9:
	.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	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 1
	jne	.L24
	movzx	eax, BYTE PTR square[rip+1]
	cmp	al, 49
	jne	.L24
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR square[rip+1], al
	jmp	.L25
.L24:
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 2
	jne	.L26
	movzx	eax, BYTE PTR square[rip+2]
	cmp	al, 50
	jne	.L26
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR square[rip+2], al
	jmp	.L25
.L26:
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 3
	jne	.L27
	movzx	eax, BYTE PTR square[rip+3]
	cmp	al, 51
	jne	.L27
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR square[rip+3], al
	jmp	.L25
.L27:
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 4
	jne	.L28
	movzx	eax, BYTE PTR square[rip+4]
	cmp	al, 52
	jne	.L28
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR square[rip+4], al
	jmp	.L25
.L28:
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 5
	jne	.L29
	movzx	eax, BYTE PTR square[rip+5]
	cmp	al, 53
	jne	.L29
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR square[rip+5], al
	jmp	.L25
.L29:
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 6
	jne	.L30
	movzx	eax, BYTE PTR square[rip+6]
	cmp	al, 54
	jne	.L30
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR square[rip+6], al
	jmp	.L25
.L30:
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 7
	jne	.L31
	movzx	eax, BYTE PTR square[rip+7]
	cmp	al, 55
	jne	.L31
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR square[rip+7], al
	jmp	.L25
.L31:
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 8
	jne	.L32
	movzx	eax, BYTE PTR square[rip+8]
	cmp	al, 56
	jne	.L32
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR square[rip+8], al
	jmp	.L25
.L32:
	mov	eax, DWORD PTR choice[rip]
	cmp	eax, 9
	jne	.L33
	movzx	eax, BYTE PTR square[rip+9]
	cmp	al, 57
	jne	.L33
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR square[rip+9], al
	jmp	.L25
.L33:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR player[rip]
	sub	eax, 1
	mov	DWORD PTR player[rip], eax
	call	getchar@PLT
	nop
.L25:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	markBoard, .-markBoard
	.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	"674534.c"
	.text
	.global	square
	.data
	.align	2
	.type	square, %object
	.size	square, 10
square:
	.ascii	"0123456789"
	.comm	choice,4,4
	.comm	player,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Player %d, enter a number: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"==>\007Player %d win \000"
	.align	2
.LC3:
	.ascii	"==>\007Game draw\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L10
	mov	r2, #1
	str	r2, [r3]
.L6:
	bl	displayBoard
	ldr	r3, .L10
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L2
	mov	r3, #1
	b	.L3
.L2:
	mov	r3, #2
.L3:
	ldr	r2, .L10
	str	r3, [r2]
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+4
	bl	printf
	ldr	r1, .L10+8
	ldr	r0, .L10+12
	bl	__isoc99_scanf
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L4
	mov	r3, #88
	b	.L5
.L4:
	mov	r3, #79
.L5:
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	markBoard
	bl	checkForWin
	str	r0, [fp, #-8]
	ldr	r3, .L10
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L10
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L6
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L7
	ldr	r3, .L10
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L10
	str	r3, [r2]
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+16
	bl	printf
	b	.L8
.L7:
	ldr	r0, .L10+20
	bl	printf
.L8:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	player
	.word	.LC0
	.word	choice
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.align	2
	.global	checkForWin
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkForWin, %function
checkForWin:
	@ 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, #-8]
	ldr	r3, .L24
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L13
	ldr	r3, .L24
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L13
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L13:
	ldr	r3, .L24
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L15
	ldr	r3, .L24
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L15
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L15:
	ldr	r3, .L24
	ldrb	r2, [r3, #7]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L16
	ldr	r3, .L24
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L16
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L16:
	ldr	r3, .L24
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L17
	ldr	r3, .L24
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L17
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L17:
	ldr	r3, .L24
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L18
	ldr	r3, .L24
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L18
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L18:
	ldr	r3, .L24
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L19
	ldr	r3, .L24
	ldrb	r2, [r3, #6]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L19
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L19:
	ldr	r3, .L24
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L20
	ldr	r3, .L24
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L20
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L20:
	ldr	r3, .L24
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L21
	ldr	r3, .L24
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, .L24
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L21
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L21:
	ldr	r3, .L24
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #49
	beq	.L22
	ldr	r3, .L24
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r3, #50
	beq	.L22
	ldr	r3, .L24
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	cmp	r3, #51
	beq	.L22
	ldr	r3, .L24
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	cmp	r3, #52
	beq	.L22
	ldr	r3, .L24
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r3, #53
	beq	.L22
	ldr	r3, .L24
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	cmp	r3, #54
	beq	.L22
	ldr	r3, .L24
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	cmp	r3, #55
	beq	.L22
	ldr	r3, .L24
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r3, #56
	beq	.L22
	ldr	r3, .L24
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r3, #57
	beq	.L22
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L14
.L22:
	mvn	r3, #0
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L25:
	.align	2
.L24:
	.word	square
	.size	checkForWin, .-checkForWin
	.section	.rodata
	.align	2
.LC4:
	.ascii	"clear\000"
	.align	2
.LC5:
	.ascii	"\012\012\011Tic Tac Toe\012\000"
	.align	2
.LC6:
	.ascii	"Player 1 (X)  -  Player 2 (O)\012\012\000"
	.align	2
.LC7:
	.ascii	"     |     |     \000"
	.align	2
.LC8:
	.ascii	"  %c  |  %c  |  %c \012\000"
	.align	2
.LC9:
	.ascii	"_____|_____|_____\000"
	.align	2
.LC10:
	.ascii	"     |     |     \012\000"
	.text
	.align	2
	.global	displayBoard
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayBoard, %function
displayBoard:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L27
	bl	system
	ldr	r0, .L27+4
	bl	puts
	ldr	r0, .L27+8
	bl	puts
	ldr	r0, .L27+12
	bl	puts
	ldr	r3, .L27+16
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L27+16
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L27+16
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	ldr	r0, .L27+20
	bl	printf
	ldr	r0, .L27+24
	bl	puts
	ldr	r0, .L27+12
	bl	puts
	ldr	r3, .L27+16
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L27+16
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L27+16
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	ldr	r0, .L27+20
	bl	printf
	ldr	r0, .L27+24
	bl	puts
	ldr	r0, .L27+12
	bl	puts
	ldr	r3, .L27+16
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L27+16
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L27+16
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	ldr	r0, .L27+20
	bl	printf
	ldr	r0, .L27+28
	bl	puts
	nop
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	square
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	displayBoard, .-displayBoard
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Invalid move \000"
	.text
	.align	2
	.global	markBoard
	.syntax unified
	.arm
	.fpu softvfp
	.type	markBoard, %function
markBoard:
	@ 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
	strb	r3, [fp, #-5]
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L30
	ldr	r3, .L40+4
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L30
	ldr	r2, .L40+4
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, #1]
	b	.L31
.L30:
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L32
	ldr	r3, .L40+4
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r3, #50
	bne	.L32
	ldr	r2, .L40+4
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, #2]
	b	.L31
.L32:
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L33
	ldr	r3, .L40+4
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	cmp	r3, #51
	bne	.L33
	ldr	r2, .L40+4
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, #3]
	b	.L31
.L33:
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L34
	ldr	r3, .L40+4
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	cmp	r3, #52
	bne	.L34
	ldr	r2, .L40+4
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, #4]
	b	.L31
.L34:
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r3, #5
	bne	.L35
	ldr	r3, .L40+4
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r3, #53
	bne	.L35
	ldr	r2, .L40+4
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, #5]
	b	.L31
.L35:
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r3, #6
	bne	.L36
	ldr	r3, .L40+4
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	cmp	r3, #54
	bne	.L36
	ldr	r2, .L40+4
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, #6]
	b	.L31
.L36:
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r3, #7
	bne	.L37
	ldr	r3, .L40+4
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	cmp	r3, #55
	bne	.L37
	ldr	r2, .L40+4
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, #7]
	b	.L31
.L37:
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r3, #8
	bne	.L38
	ldr	r3, .L40+4
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r3, #56
	bne	.L38
	ldr	r2, .L40+4
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, #8]
	b	.L31
.L38:
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r3, #9
	bne	.L39
	ldr	r3, .L40+4
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r3, #57
	bne	.L39
	ldr	r2, .L40+4
	ldrb	r3, [fp, #-5]
	strb	r3, [r2, #9]
	b	.L31
.L39:
	ldr	r0, .L40+8
	bl	printf
	ldr	r3, .L40+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L40+12
	str	r3, [r2]
	bl	getchar
	nop
.L31:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	choice
	.word	square
	.word	.LC11
	.word	player
	.size	markBoard, .-markBoard
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
