	.file	"980959.c"
	.intel_syntax noprefix
	.text
	.globl	place
	.data
	.align 8
	.type	place, @object
	.size	place, 10
place:
	.ascii	"0123456789"
	.section	.rodata
.LC0:
	.string	"\t\t\tTIC-TAC-TOE"
.LC1:
	.string	"\t\t\tPlayer-1==>X"
.LC2:
	.string	"\t\t\tPlayer-2==>O\n"
.LC3:
	.string	"\t\t\t%c | %c | %c\n"
.LC4:
	.string	"\t\t\t__  __  __"
	.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	movzx	eax, BYTE PTR place[rip+3]
	movsx	ecx, al
	movzx	eax, BYTE PTR place[rip+2]
	movsx	edx, al
	movzx	eax, BYTE PTR place[rip+1]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	movzx	eax, BYTE PTR place[rip+6]
	movsx	ecx, al
	movzx	eax, BYTE PTR place[rip+5]
	movsx	edx, al
	movzx	eax, BYTE PTR place[rip+4]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	movzx	eax, BYTE PTR place[rip+9]
	movsx	ecx, al
	movzx	eax, BYTE PTR place[rip+8]
	movsx	edx, al
	movzx	eax, BYTE PTR place[rip+7]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	board, .-board
	.globl	check
	.type	check, @function
check:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	edx, BYTE PTR place[rip+1]
	movzx	eax, BYTE PTR place[rip+2]
	cmp	dl, al
	jne	.L3
	movzx	edx, BYTE PTR place[rip+2]
	movzx	eax, BYTE PTR place[rip+3]
	cmp	dl, al
	jne	.L3
	mov	eax, 1
	jmp	.L4
.L3:
	movzx	edx, BYTE PTR place[rip+4]
	movzx	eax, BYTE PTR place[rip+5]
	cmp	dl, al
	jne	.L5
	movzx	edx, BYTE PTR place[rip+5]
	movzx	eax, BYTE PTR place[rip+6]
	cmp	dl, al
	jne	.L5
	mov	eax, 1
	jmp	.L4
.L5:
	movzx	edx, BYTE PTR place[rip+7]
	movzx	eax, BYTE PTR place[rip+8]
	cmp	dl, al
	jne	.L6
	movzx	edx, BYTE PTR place[rip+8]
	movzx	eax, BYTE PTR place[rip+9]
	cmp	dl, al
	jne	.L6
	mov	eax, 1
	jmp	.L4
.L6:
	movzx	edx, BYTE PTR place[rip+1]
	movzx	eax, BYTE PTR place[rip+4]
	cmp	dl, al
	jne	.L7
	movzx	edx, BYTE PTR place[rip+4]
	movzx	eax, BYTE PTR place[rip+7]
	cmp	dl, al
	jne	.L7
	mov	eax, 1
	jmp	.L4
.L7:
	movzx	edx, BYTE PTR place[rip+2]
	movzx	eax, BYTE PTR place[rip+5]
	cmp	dl, al
	jne	.L8
	movzx	edx, BYTE PTR place[rip+5]
	movzx	eax, BYTE PTR place[rip+8]
	cmp	dl, al
	jne	.L8
	mov	eax, 1
	jmp	.L4
.L8:
	movzx	edx, BYTE PTR place[rip+3]
	movzx	eax, BYTE PTR place[rip+6]
	cmp	dl, al
	jne	.L9
	movzx	edx, BYTE PTR place[rip+6]
	movzx	eax, BYTE PTR place[rip+9]
	cmp	dl, al
	jne	.L9
	mov	eax, 1
	jmp	.L4
.L9:
	movzx	edx, BYTE PTR place[rip+1]
	movzx	eax, BYTE PTR place[rip+5]
	cmp	dl, al
	jne	.L10
	movzx	edx, BYTE PTR place[rip+5]
	movzx	eax, BYTE PTR place[rip+9]
	cmp	dl, al
	jne	.L10
	mov	eax, 1
	jmp	.L4
.L10:
	movzx	edx, BYTE PTR place[rip+3]
	movzx	eax, BYTE PTR place[rip+5]
	cmp	dl, al
	jne	.L11
	movzx	edx, BYTE PTR place[rip+5]
	movzx	eax, BYTE PTR place[rip+7]
	cmp	dl, al
	jne	.L11
	mov	eax, 1
	jmp	.L4
.L11:
	movzx	eax, BYTE PTR place[rip+1]
	cmp	al, 49
	je	.L12
	movzx	eax, BYTE PTR place[rip+2]
	cmp	al, 50
	je	.L12
	movzx	eax, BYTE PTR place[rip+3]
	cmp	al, 51
	je	.L12
	movzx	eax, BYTE PTR place[rip+4]
	cmp	al, 52
	je	.L12
	movzx	eax, BYTE PTR place[rip+5]
	cmp	al, 53
	je	.L12
	movzx	eax, BYTE PTR place[rip+6]
	cmp	al, 54
	je	.L12
	movzx	eax, BYTE PTR place[rip+7]
	cmp	al, 55
	je	.L12
	movzx	eax, BYTE PTR place[rip+8]
	cmp	al, 56
	je	.L12
	movzx	eax, BYTE PTR place[rip+9]
	cmp	al, 57
	je	.L12
	mov	eax, 0
	jmp	.L4
.L12:
	mov	eax, -1
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	check, .-check
	.section	.rodata
.LC5:
	.string	"Player-%d ->"
.LC6:
	.string	"%d"
.LC7:
	.string	"Player-%d wins\n"
.LC8:
	.string	"Game draws"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 1
	mov	eax, 0
	call	board
.L30:
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	DWORD PTR -16[rbp], 1
	jne	.L14
	mov	BYTE PTR -21[rbp], 88
	jmp	.L15
.L14:
	mov	BYTE PTR -21[rbp], 79
.L15:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 1
	jne	.L16
	movzx	eax, BYTE PTR place[rip+1]
	cmp	al, 49
	jne	.L16
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, place[rip]
	movzx	edx, BYTE PTR -21[rbp]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L17
.L16:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jne	.L18
	movzx	eax, BYTE PTR place[rip+2]
	cmp	al, 50
	jne	.L18
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, place[rip]
	movzx	edx, BYTE PTR -21[rbp]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 3
	jne	.L19
	movzx	eax, BYTE PTR place[rip+3]
	cmp	al, 51
	jne	.L19
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, place[rip]
	movzx	edx, BYTE PTR -21[rbp]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 4
	jne	.L20
	movzx	eax, BYTE PTR place[rip+4]
	cmp	al, 52
	jne	.L20
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, place[rip]
	movzx	edx, BYTE PTR -21[rbp]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L17
.L20:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 5
	jne	.L21
	movzx	eax, BYTE PTR place[rip+5]
	cmp	al, 53
	jne	.L21
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, place[rip]
	movzx	edx, BYTE PTR -21[rbp]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L17
.L21:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 6
	jne	.L22
	movzx	eax, BYTE PTR place[rip+6]
	cmp	al, 54
	jne	.L22
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, place[rip]
	movzx	edx, BYTE PTR -21[rbp]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L17
.L22:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 7
	jne	.L23
	movzx	eax, BYTE PTR place[rip+7]
	cmp	al, 55
	jne	.L23
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, place[rip]
	movzx	edx, BYTE PTR -21[rbp]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L17
.L23:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 8
	jne	.L24
	movzx	eax, BYTE PTR place[rip+8]
	cmp	al, 56
	jne	.L24
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, place[rip]
	movzx	edx, BYTE PTR -21[rbp]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L17
.L24:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 9
	jne	.L17
	movzx	eax, BYTE PTR place[rip+9]
	cmp	al, 57
	jne	.L17
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, place[rip]
	movzx	edx, BYTE PTR -21[rbp]
	mov	BYTE PTR [rax+rcx], dl
.L17:
	mov	eax, 0
	call	check
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 1
	jne	.L25
	mov	eax, 0
	call	board
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L26
.L25:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L27
	mov	eax, 0
	call	board
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L26
.L27:
	mov	eax, 0
	call	board
	cmp	DWORD PTR -16[rbp], 1
	jne	.L28
	mov	DWORD PTR -16[rbp], 2
	jmp	.L30
.L28:
	mov	DWORD PTR -16[rbp], 1
	jmp	.L30
.L26:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"980959.c"
	.text
	.global	place
	.data
	.align	2
	.type	place, %object
	.size	place, 10
place:
	.ascii	"0123456789"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\011\011\011TIC-TAC-TOE\000"
	.align	2
.LC1:
	.ascii	"\011\011\011Player-1==>X\000"
	.align	2
.LC2:
	.ascii	"\011\011\011Player-2==>O\012\000"
	.align	2
.LC3:
	.ascii	"\011\011\011%c | %c | %c\012\000"
	.align	2
.LC4:
	.ascii	"\011\011\011__  __  __\000"
	.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
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	ldr	r0, .L2+4
	bl	puts
	ldr	r0, .L2+8
	bl	puts
	ldr	r3, .L2+12
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L2+12
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L2+12
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	ldr	r0, .L2+16
	bl	printf
	ldr	r0, .L2+20
	bl	puts
	ldr	r3, .L2+12
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L2+12
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L2+12
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	ldr	r0, .L2+16
	bl	printf
	ldr	r0, .L2+20
	bl	puts
	ldr	r3, .L2+12
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L2+12
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L2+12
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	ldr	r0, .L2+16
	bl	printf
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	place
	.word	.LC3
	.word	.LC4
	.size	board, .-board
	.align	2
	.global	check
	.syntax unified
	.arm
	.fpu softvfp
	.type	check, %function
check:
	@ 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, .L15
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L5
	ldr	r3, .L15
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L5
	mov	r3, #1
	b	.L6
.L5:
	ldr	r3, .L15
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L7
	ldr	r3, .L15
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L7
	mov	r3, #1
	b	.L6
.L7:
	ldr	r3, .L15
	ldrb	r2, [r3, #7]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L8
	ldr	r3, .L15
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L8
	mov	r3, #1
	b	.L6
.L8:
	ldr	r3, .L15
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L9
	ldr	r3, .L15
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L9
	mov	r3, #1
	b	.L6
.L9:
	ldr	r3, .L15
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L10
	ldr	r3, .L15
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L10
	mov	r3, #1
	b	.L6
.L10:
	ldr	r3, .L15
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L11
	ldr	r3, .L15
	ldrb	r2, [r3, #6]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L11
	mov	r3, #1
	b	.L6
.L11:
	ldr	r3, .L15
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L12
	ldr	r3, .L15
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L12
	mov	r3, #1
	b	.L6
.L12:
	ldr	r3, .L15
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L13
	ldr	r3, .L15
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, .L15
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L13
	mov	r3, #1
	b	.L6
.L13:
	ldr	r3, .L15
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #49
	beq	.L14
	ldr	r3, .L15
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r3, #50
	beq	.L14
	ldr	r3, .L15
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	cmp	r3, #51
	beq	.L14
	ldr	r3, .L15
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	cmp	r3, #52
	beq	.L14
	ldr	r3, .L15
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r3, #53
	beq	.L14
	ldr	r3, .L15
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	cmp	r3, #54
	beq	.L14
	ldr	r3, .L15
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	cmp	r3, #55
	beq	.L14
	ldr	r3, .L15
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r3, #56
	beq	.L14
	ldr	r3, .L15
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r3, #57
	beq	.L14
	mov	r3, #0
	b	.L6
.L14:
	mvn	r3, #0
.L6:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	place
	.size	check, .-check
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Player-%d ->\000"
	.align	2
.LC6:
	.ascii	"%d\000"
	.align	2
.LC7:
	.ascii	"Player-%d wins\012\000"
	.align	2
.LC8:
	.ascii	"Game draws\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-16]
	bl	board
.L34:
	ldr	r1, [fp, #-16]
	ldr	r0, .L37+4
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L37+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L18
	mov	r3, #88
	strb	r3, [fp, #-21]
	b	.L19
.L18:
	mov	r3, #79
	strb	r3, [fp, #-21]
.L19:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L20
	ldr	r3, .L37+12
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L20
	ldr	r3, [fp, #-20]
	ldr	r1, .L37+12
	ldrb	r2, [fp, #-21]
	strb	r2, [r1, r3]
	b	.L21
.L20:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L22
	ldr	r3, .L37+12
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r3, #50
	bne	.L22
	ldr	r3, [fp, #-20]
	ldr	r1, .L37+12
	ldrb	r2, [fp, #-21]
	strb	r2, [r1, r3]
	b	.L21
.L22:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	bne	.L23
	ldr	r3, .L37+12
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	cmp	r3, #51
	bne	.L23
	ldr	r3, [fp, #-20]
	ldr	r1, .L37+12
	ldrb	r2, [fp, #-21]
	strb	r2, [r1, r3]
	b	.L21
.L23:
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	bne	.L24
	ldr	r3, .L37+12
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	cmp	r3, #52
	bne	.L24
	ldr	r3, [fp, #-20]
	ldr	r1, .L37+12
	ldrb	r2, [fp, #-21]
	strb	r2, [r1, r3]
	b	.L21
.L24:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	bne	.L25
	ldr	r3, .L37+12
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r3, #53
	bne	.L25
	ldr	r3, [fp, #-20]
	ldr	r1, .L37+12
	ldrb	r2, [fp, #-21]
	strb	r2, [r1, r3]
	b	.L21
.L25:
	ldr	r3, [fp, #-20]
	cmp	r3, #6
	bne	.L26
	ldr	r3, .L37+12
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	cmp	r3, #54
	bne	.L26
	ldr	r3, [fp, #-20]
	ldr	r1, .L37+12
	ldrb	r2, [fp, #-21]
	strb	r2, [r1, r3]
	b	.L21
.L26:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	bne	.L27
	ldr	r3, .L37+12
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	cmp	r3, #55
	bne	.L27
	ldr	r3, [fp, #-20]
	ldr	r1, .L37+12
	ldrb	r2, [fp, #-21]
	strb	r2, [r1, r3]
	b	.L21
.L27:
	ldr	r3, [fp, #-20]
	cmp	r3, #8
	bne	.L28
	ldr	r3, .L37+12
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r3, #56
	bne	.L28
	ldr	r3, [fp, #-20]
	ldr	r1, .L37+12
	ldrb	r2, [fp, #-21]
	strb	r2, [r1, r3]
	b	.L21
.L28:
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	bne	.L21
	ldr	r3, .L37+12
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r3, #57
	bne	.L21
	ldr	r3, [fp, #-20]
	ldr	r1, .L37+12
	ldrb	r2, [fp, #-21]
	strb	r2, [r1, r3]
.L21:
	bl	check
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L29
	bl	board
	ldr	r1, [fp, #-16]
	ldr	r0, .L37+16
	bl	printf
	b	.L30
.L29:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L31
	bl	board
	ldr	r0, .L37+20
	bl	printf
	b	.L30
.L31:
	bl	board
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L32
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L34
.L32:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L34
.L30:
	mov	r3, #0
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC9
	.word	.LC5
	.word	.LC6
	.word	place
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
