	.file	"13189.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 8
	.type	a, @object
	.size	a, 9
a:
	.zero	9
	.globl	i
	.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	yoko
	.data
	.align 4
	.type	yoko, @object
	.size	yoko, 4
yoko:
	.long	3
	.globl	tate
	.align 4
	.type	tate, @object
	.size	tate, 4
tate:
	.long	3
	.section	.rodata
.LC0:
	.string	"o\343\201\256\345\213\235\343\201\241"
.LC1:
	.string	"x\343\201\256\345\213\235\343\201\241"
.LC2:
	.string	"\345\274\225\343\201\215\345\210\206\343\201\221"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	mov	ecx, 45
	lea	rdx, a[rip]
	mov	edi, eax
	call	set
	mov	ecx, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	lea	rdx, a[rip]
	mov	esi, ecx
	mov	edi, eax
	call	show
.L7:
	mov	esi, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	mov	ecx, 111
	lea	rdx, a[rip]
	mov	edi, eax
	call	turn
	test	eax, eax
	je	.L2
	mov	esi, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	mov	ecx, 111
	lea	rdx, a[rip]
	mov	edi, eax
	call	turn
	cmp	eax, 1
	je	.L2
	mov	ecx, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	lea	rdx, a[rip]
	mov	esi, ecx
	mov	edi, eax
	call	show
.L2:
	mov	ecx, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	lea	rdx, a[rip]
	mov	esi, ecx
	mov	edi, eax
	call	show
	mov	esi, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	mov	ecx, 111
	lea	rdx, a[rip]
	mov	edi, eax
	call	judge
	test	eax, eax
	jne	.L12
	mov	esi, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	mov	ecx, 120
	lea	rdx, a[rip]
	mov	edi, eax
	call	turn
	test	eax, eax
	je	.L5
	mov	esi, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	mov	ecx, 120
	lea	rdx, a[rip]
	mov	edi, eax
	call	turn
	cmp	eax, 1
	je	.L5
	mov	ecx, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	lea	rdx, a[rip]
	mov	esi, ecx
	mov	edi, eax
	call	show
.L5:
	mov	ecx, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	lea	rdx, a[rip]
	mov	esi, ecx
	mov	edi, eax
	call	show
	mov	esi, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	mov	ecx, 120
	lea	rdx, a[rip]
	mov	edi, eax
	call	judge
	test	eax, eax
	jne	.L13
	jmp	.L7
.L12:
	nop
	jmp	.L4
.L13:
	nop
.L4:
	mov	esi, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	mov	ecx, 111
	lea	rdx, a[rip]
	mov	edi, eax
	call	judge
	cmp	eax, 1
	jne	.L8
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L8:
	mov	esi, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	mov	ecx, 120
	lea	rdx, a[rip]
	mov	edi, eax
	call	judge
	cmp	eax, 1
	jne	.L9
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L9:
	mov	esi, DWORD PTR tate[rip]
	mov	eax, DWORD PTR yoko[rip]
	mov	ecx, 111
	lea	rdx, a[rip]
	mov	edi, eax
	call	judge
	cmp	eax, 2
	jne	.L10
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L10:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	set
	.type	set, @function
set:
.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 -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	eax, ecx
	mov	BYTE PTR -36[rbp], al
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -8[rbp], rdx
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L15
.L18:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L16
.L17:
	mov	edx, DWORD PTR -12[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rcx, rdx
	mov	rdx, QWORD PTR -32[rbp]
	lea	rsi, [rcx+rdx]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	movzx	ecx, BYTE PTR -36[rbp]
	mov	BYTE PTR [rsi+rdx], cl
	add	DWORD PTR -16[rbp], 1
.L16:
	mov	edx, DWORD PTR -16[rbp]
	cmp	edx, DWORD PTR -24[rbp]
	jl	.L17
	add	DWORD PTR -12[rbp], 1
.L15:
	mov	edx, DWORD PTR -12[rbp]
	cmp	edx, DWORD PTR -20[rbp]
	jl	.L18
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	set, .-set
	.section	.rodata
.LC3:
	.string	" %d"
.LC4:
	.string	"%d"
.LC5:
	.string	" %lc"
	.text
	.globl	show
	.type	show, @function
show:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -48[rbp], rdx
	mov	ebx, DWORD PTR -40[rbp]
	movsx	rax, ebx
	sub	rax, 1
	mov	QWORD PTR -24[rbp], rax
	movsx	rax, ebx
	mov	r8, rax
	mov	r9d, 0
	mov	edi, 32
	call	putchar@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR i[rip]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L21:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -36[rbp], eax
	jg	.L22
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L23
.L26:
	mov	eax, DWORD PTR i[rip]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR j[rip], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR j[rip]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L24:
	mov	eax, DWORD PTR j[rip]
	cmp	DWORD PTR -40[rbp], eax
	jg	.L25
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L23:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -36[rbp], eax
	jg	.L26
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	show, .-show
	.section	.rodata
.LC6:
	.string	"%c\343\201\256\347\225\252\343\201\247\343\201\231\n"
.LC7:
	.string	"\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204"
.LC8:
	.string	"%d %d"
.LC9:
	.string	"\345\205\245\345\212\233\343\201\225\343\202\214\343\201\246\343\201\204\343\201\276\343\201\231"
	.text
	.globl	turn
	.type	turn, @function
turn:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	QWORD PTR -64[rbp], rdx
	mov	eax, ecx
	mov	BYTE PTR -68[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	ebx, DWORD PTR -56[rbp]
	movsx	rax, ebx
	sub	rax, 1
	mov	QWORD PTR -32[rbp], rax
	movsx	rax, ebx
	mov	r8, rax
	mov	r9d, 0
	movsx	eax, BYTE PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdx, -36[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 45
	je	.L29
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L31
.L29:
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	movzx	edx, BYTE PTR -68[rbp]
	mov	BYTE PTR [rcx+rax], dl
	mov	eax, 0
.L31:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	turn, .-turn
	.globl	judge
	.type	judge, @function
judge:
.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	eax, ecx
	mov	BYTE PTR -36[rbp], al
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -8[rbp], rdx
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	mov	DWORD PTR j[rip], 0
	jmp	.L34
.L41:
	mov	DWORD PTR i[rip], 0
	jmp	.L35
.L40:
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rcx, rdx
	mov	rdx, QWORD PTR -32[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR j[rip]
	movsx	rdx, edx
	movzx	edx, BYTE PTR [rcx+rdx]
	cmp	BYTE PTR -36[rbp], dl
	jne	.L64
	mov	edx, DWORD PTR -20[rbp]
	lea	ecx, -1[rdx]
	mov	edx, DWORD PTR i[rip]
	cmp	ecx, edx
	jne	.L38
	mov	eax, 1
	jmp	.L39
.L38:
	mov	edx, DWORD PTR i[rip]
	add	edx, 1
	mov	DWORD PTR i[rip], edx
.L35:
	mov	edx, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], edx
	jg	.L40
	jmp	.L37
.L64:
	nop
.L37:
	mov	edx, DWORD PTR j[rip]
	add	edx, 1
	mov	DWORD PTR j[rip], edx
.L34:
	mov	edx, DWORD PTR j[rip]
	cmp	DWORD PTR -24[rbp], edx
	jg	.L41
	mov	DWORD PTR i[rip], 0
	jmp	.L42
.L48:
	mov	DWORD PTR j[rip], 0
	jmp	.L43
.L47:
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rcx, rdx
	mov	rdx, QWORD PTR -32[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR j[rip]
	movsx	rdx, edx
	movzx	edx, BYTE PTR [rcx+rdx]
	cmp	BYTE PTR -36[rbp], dl
	jne	.L65
	mov	edx, DWORD PTR -24[rbp]
	lea	ecx, -1[rdx]
	mov	edx, DWORD PTR j[rip]
	cmp	ecx, edx
	jne	.L46
	mov	eax, 1
	jmp	.L39
.L46:
	mov	edx, DWORD PTR j[rip]
	add	edx, 1
	mov	DWORD PTR j[rip], edx
.L43:
	mov	edx, DWORD PTR j[rip]
	cmp	DWORD PTR -24[rbp], edx
	jg	.L47
	jmp	.L45
.L65:
	nop
.L45:
	mov	edx, DWORD PTR i[rip]
	add	edx, 1
	mov	DWORD PTR i[rip], edx
.L42:
	mov	edx, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], edx
	jg	.L48
	mov	DWORD PTR i[rip], 0
	jmp	.L49
.L53:
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rcx, rdx
	mov	rdx, QWORD PTR -32[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR i[rip]
	movsx	rdx, edx
	movzx	edx, BYTE PTR [rcx+rdx]
	cmp	BYTE PTR -36[rbp], dl
	jne	.L66
	mov	edx, DWORD PTR -20[rbp]
	lea	ecx, -1[rdx]
	mov	edx, DWORD PTR i[rip]
	cmp	ecx, edx
	jne	.L52
	mov	eax, 1
	jmp	.L39
.L52:
	mov	edx, DWORD PTR i[rip]
	add	edx, 1
	mov	DWORD PTR i[rip], edx
.L49:
	mov	edx, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], edx
	jg	.L53
	jmp	.L51
.L66:
	nop
.L51:
	mov	DWORD PTR i[rip], 0
	jmp	.L54
.L58:
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rcx, rdx
	mov	rdx, QWORD PTR -32[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -20[rbp]
	sub	edx, 1
	mov	esi, DWORD PTR i[rip]
	sub	edx, esi
	movsx	rdx, edx
	movzx	edx, BYTE PTR [rcx+rdx]
	cmp	BYTE PTR -36[rbp], dl
	jne	.L67
	mov	edx, DWORD PTR -20[rbp]
	lea	ecx, -1[rdx]
	mov	edx, DWORD PTR i[rip]
	cmp	ecx, edx
	jne	.L57
	mov	eax, 1
	jmp	.L39
.L57:
	mov	edx, DWORD PTR i[rip]
	add	edx, 1
	mov	DWORD PTR i[rip], edx
.L54:
	mov	edx, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], edx
	jg	.L58
	jmp	.L56
.L67:
	nop
.L56:
	mov	DWORD PTR i[rip], 0
	jmp	.L59
.L63:
	mov	DWORD PTR j[rip], 0
	jmp	.L60
.L62:
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rcx, rdx
	mov	rdx, QWORD PTR -32[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR j[rip]
	movsx	rdx, edx
	movzx	edx, BYTE PTR [rcx+rdx]
	cmp	dl, 45
	jne	.L61
	mov	eax, 0
	jmp	.L39
.L61:
	mov	edx, DWORD PTR j[rip]
	add	edx, 1
	mov	DWORD PTR j[rip], edx
.L60:
	mov	edx, DWORD PTR j[rip]
	cmp	DWORD PTR -24[rbp], edx
	jg	.L62
	mov	edx, DWORD PTR i[rip]
	add	edx, 1
	mov	DWORD PTR i[rip], edx
.L59:
	mov	edx, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], edx
	jg	.L63
	mov	eax, 2
.L39:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	judge, .-judge
	.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	"13189.c"
	.text
	.comm	a,9,4
	.global	i
	.bss
	.align	2
	.type	i, %object
	.size	i, 4
i:
	.space	4
	.global	j
	.align	2
	.type	j, %object
	.size	j, 4
j:
	.space	4
	.global	yoko
	.data
	.align	2
	.type	yoko, %object
	.size	yoko, 4
yoko:
	.word	3
	.global	tate
	.align	2
	.type	tate, %object
	.size	tate, 4
tate:
	.word	3
	.section	.rodata
	.align	2
.LC0:
	.ascii	"o\343\201\256\345\213\235\343\201\241\000"
	.align	2
.LC1:
	.ascii	"x\343\201\256\345\213\235\343\201\241\000"
	.align	2
.LC2:
	.ascii	"\345\274\225\343\201\215\345\210\206\343\201\221\000"
	.text
	.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
	ldr	r3, .L14
	ldr	r0, [r3]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	mov	r3, #45
	ldr	r2, .L14+8
	bl	set
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r2, .L14+4
	ldr	r1, [r2]
	ldr	r2, .L14+8
	mov	r0, r3
	bl	show
.L7:
	ldr	r3, .L14
	ldr	r0, [r3]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	mov	r3, #111
	ldr	r2, .L14+8
	bl	turn
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L14
	ldr	r0, [r3]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	mov	r3, #111
	ldr	r2, .L14+8
	bl	turn
	mov	r3, r0
	cmp	r3, #1
	beq	.L2
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r2, .L14+4
	ldr	r1, [r2]
	ldr	r2, .L14+8
	mov	r0, r3
	bl	show
.L2:
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r2, .L14+4
	ldr	r1, [r2]
	ldr	r2, .L14+8
	mov	r0, r3
	bl	show
	ldr	r3, .L14
	ldr	r0, [r3]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	mov	r3, #111
	ldr	r2, .L14+8
	bl	judge
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L14
	ldr	r0, [r3]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	mov	r3, #120
	ldr	r2, .L14+8
	bl	turn
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L14
	ldr	r0, [r3]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	mov	r3, #120
	ldr	r2, .L14+8
	bl	turn
	mov	r3, r0
	cmp	r3, #1
	beq	.L5
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r2, .L14+4
	ldr	r1, [r2]
	ldr	r2, .L14+8
	mov	r0, r3
	bl	show
.L5:
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r2, .L14+4
	ldr	r1, [r2]
	ldr	r2, .L14+8
	mov	r0, r3
	bl	show
	ldr	r3, .L14
	ldr	r0, [r3]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	mov	r3, #120
	ldr	r2, .L14+8
	bl	judge
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	b	.L7
.L12:
	nop
	b	.L4
.L13:
	nop
.L4:
	ldr	r3, .L14
	ldr	r0, [r3]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	mov	r3, #111
	ldr	r2, .L14+8
	bl	judge
	mov	r3, r0
	cmp	r3, #1
	bne	.L8
	ldr	r0, .L14+12
	bl	puts
.L8:
	ldr	r3, .L14
	ldr	r0, [r3]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	mov	r3, #120
	ldr	r2, .L14+8
	bl	judge
	mov	r3, r0
	cmp	r3, #1
	bne	.L9
	ldr	r0, .L14+16
	bl	puts
.L9:
	ldr	r3, .L14
	ldr	r0, [r3]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	mov	r3, #111
	ldr	r2, .L14+8
	bl	judge
	mov	r3, r0
	cmp	r3, #2
	bne	.L10
	ldr	r0, .L14+20
	bl	puts
.L10:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	yoko
	.word	tate
	.word	a
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.align	2
	.global	set
	.syntax unified
	.arm
	.fpu softvfp
	.type	set, %function
set:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	strb	r3, [fp, #-33]
	ldr	ip, [fp, #-28]
	sub	r3, ip, #1
	str	r3, [fp, #-8]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L17
.L20:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L18
.L19:
	mov	r2, ip
	ldr	r3, [fp, #-12]
	mul	r3, r2, r3
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-33]
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L18:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L17:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L20
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	set, .-set
	.section	.rodata
	.align	2
.LC3:
	.ascii	" %d\000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	" %lc\000"
	.text
	.align	2
	.global	show
	.syntax unified
	.arm
	.fpu softvfp
	.type	show, %function
show:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r4, [fp, #-28]
	sub	r3, r4, #1
	str	r3, [fp, #-16]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, #32
	bl	putchar
	ldr	r3, .L30
	mov	r2, #0
	str	r2, [r3]
	b	.L23
.L24:
	ldr	r3, .L30
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L30+4
	bl	printf
	ldr	r3, .L30
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30
	str	r3, [r2]
.L23:
	ldr	r3, .L30
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bgt	.L24
	mov	r0, #10
	bl	putchar
	ldr	r3, .L30
	mov	r2, #0
	str	r2, [r3]
	b	.L25
.L28:
	ldr	r3, .L30
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L30+8
	bl	printf
	ldr	r3, .L30+12
	mov	r2, #0
	str	r2, [r3]
	b	.L26
.L27:
	mov	r2, r4
	ldr	r3, .L30
	ldr	r3, [r3]
	mul	r3, r2, r3
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, .L30+12
	ldr	r3, [r3]
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L30+16
	bl	printf
	ldr	r3, .L30+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+12
	str	r3, [r2]
.L26:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bgt	.L27
	mov	r0, #10
	bl	putchar
	ldr	r3, .L30
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30
	str	r3, [r2]
.L25:
	ldr	r3, .L30
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bgt	.L28
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	i
	.word	.LC3
	.word	.LC4
	.word	j
	.word	.LC5
	.size	show, .-show
	.section	.rodata
	.align	2
.LC6:
	.ascii	"%c\343\201\256\347\225\252\343\201\247\343\201\231\012"
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"\345\205\245\345\212\233\343\201\227\343\201\246\343"
	.ascii	"\201\217\343\201\240\343\201\225\343\201\204\000"
	.align	2
.LC8:
	.ascii	"%d %d\000"
	.align	2
.LC9:
	.ascii	"\345\205\245\345\212\233\343\201\225\343\202\214\343"
	.ascii	"\201\246\343\201\204\343\201\276\343\201\231\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	turn
	.syntax unified
	.arm
	.fpu softvfp
	.type	turn, %function
turn:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	strb	r3, [fp, #-41]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r4, [fp, #-36]
	sub	r3, r4, #1
	str	r3, [fp, #-20]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L37+4
	bl	printf
	ldr	r0, .L37+8
	bl	puts
	sub	r2, fp, #24
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L37+12
	bl	__isoc99_scanf
	mov	r3, r4
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L33
	ldr	r0, .L37+16
	bl	puts
	mov	r3, #1
	b	.L35
.L33:
	mov	r3, r4
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	ldrb	r1, [fp, #-41]
	strb	r1, [r2, r3]
	mov	r3, #0
.L35:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC10
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	turn, .-turn
	.align	2
	.global	judge
	.syntax unified
	.arm
	.fpu softvfp
	.type	judge, %function
judge:
	@ 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
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-25]
	ldr	ip, [fp, #-20]
	sub	r3, ip, #1
	str	r3, [fp, #-8]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3]
	b	.L40
.L47:
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3]
	b	.L41
.L46:
	mov	r2, ip
	ldr	r3, .L74+4
	ldr	r3, [r3]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, .L74
	ldr	r3, [r3]
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L70
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	ldr	r3, .L74+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L44
	mov	r3, #1
	b	.L45
.L44:
	ldr	r3, .L74+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L74+4
	str	r3, [r2]
.L41:
	ldr	r3, .L74+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L46
	b	.L43
.L70:
	nop
.L43:
	ldr	r3, .L74
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L74
	str	r3, [r2]
.L40:
	ldr	r3, .L74
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L47
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3]
	b	.L48
.L54:
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3]
	b	.L49
.L53:
	mov	r2, ip
	ldr	r3, .L74+4
	ldr	r3, [r3]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, .L74
	ldr	r3, [r3]
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L71
	ldr	r3, [fp, #-20]
	sub	r2, r3, #1
	ldr	r3, .L74
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L52
	mov	r3, #1
	b	.L45
.L52:
	ldr	r3, .L74
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L74
	str	r3, [r2]
.L49:
	ldr	r3, .L74
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L53
	b	.L51
.L71:
	nop
.L51:
	ldr	r3, .L74+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L74+4
	str	r3, [r2]
.L48:
	ldr	r3, .L74+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L54
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3]
	b	.L55
.L59:
	mov	r2, ip
	ldr	r3, .L74+4
	ldr	r3, [r3]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, .L74+4
	ldr	r3, [r3]
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L72
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	ldr	r3, .L74+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L58
	mov	r3, #1
	b	.L45
.L58:
	ldr	r3, .L74+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L74+4
	str	r3, [r2]
.L55:
	ldr	r3, .L74+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L59
	b	.L57
.L72:
	nop
.L57:
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3]
	b	.L60
.L64:
	mov	r2, ip
	ldr	r3, .L74+4
	ldr	r3, [r3]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, .L74+4
	ldr	r3, [r3]
	sub	r3, r1, r3
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L73
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	ldr	r3, .L74+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L63
	mov	r3, #1
	b	.L45
.L63:
	ldr	r3, .L74+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L74+4
	str	r3, [r2]
.L60:
	ldr	r3, .L74+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L64
	b	.L62
.L73:
	nop
.L62:
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3]
	b	.L65
.L69:
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3]
	b	.L66
.L68:
	mov	r2, ip
	ldr	r3, .L74+4
	ldr	r3, [r3]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, .L74
	ldr	r3, [r3]
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L67
	mov	r3, #0
	b	.L45
.L67:
	ldr	r3, .L74
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L74
	str	r3, [r2]
.L66:
	ldr	r3, .L74
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L68
	ldr	r3, .L74+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L74+4
	str	r3, [r2]
.L65:
	ldr	r3, .L74+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L69
	mov	r3, #2
.L45:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L75:
	.align	2
.L74:
	.word	j
	.word	i
	.size	judge, .-judge
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
