	.file	"183894.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\n\n\t 0   1   2\n"
.LC1:
	.string	" %c "
.LC2:
	.string	"  %d"
.LC3:
	.string	"\n\t-----------"
.LC4:
	.string	"\nJOGADOR 1 = 0\nJOGADOR 2 = X"
	.align 8
.LC5:
	.string	"\nJOGADOR %d: Digite a linha e a coluna que deseja jogar: "
.LC6:
	.string	"%d%d"
	.align 8
.LC7:
	.string	"\nParabens! O jogador 1 venceu por linha!"
	.align 8
.LC8:
	.string	"\nParabens! O jogador 2 venceu por linha!"
	.align 8
.LC9:
	.string	"\nParabens! O jogador 1 venceu por coluna!"
	.align 8
.LC10:
	.string	"\nParabens! O jogador 2 venceu por coluna!"
	.align 8
.LC11:
	.string	"\nParabens! O jogador 1 venceu na diag. principal!"
	.align 8
.LC12:
	.string	"\nParabens! O jogador 2 venceu na diag. principal!"
	.align 8
.LC13:
	.string	"\nParabens! O jogador 1 venceu na diag. secindaria!"
	.align 8
.LC14:
	.string	"\nParabens! O jogador 2 venceu na diag. secundaria!"
.LC15:
	.string	"\nDeu Velha!"
	.align 8
.LC16:
	.string	"\nDigite 1 para jogar novamente: "
.LC17:
	.string	"%d"
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L48:
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rbp
	add	rax, rcx
	sub	rax, 17
	mov	BYTE PTR [rax], 32
	add	DWORD PTR -36[rbp], 1
.L3:
	cmp	DWORD PTR -36[rbp], 2
	jle	.L4
	add	DWORD PTR -40[rbp], 1
.L2:
	cmp	DWORD PTR -40[rbp], 2
	jle	.L5
.L38:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -40[rbp], 0
	jmp	.L6
.L13:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L7
.L11:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L8
	mov	edi, 9
	call	putchar@PLT
.L8:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rbp
	add	rax, rcx
	sub	rax, 17
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -36[rbp], 1
	jg	.L9
	mov	edi, 124
	call	putchar@PLT
.L9:
	cmp	DWORD PTR -36[rbp], 2
	jne	.L10
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	add	DWORD PTR -36[rbp], 1
.L7:
	cmp	DWORD PTR -36[rbp], 2
	jle	.L11
	cmp	DWORD PTR -40[rbp], 1
	jg	.L12
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -40[rbp], 1
.L6:
	cmp	DWORD PTR -40[rbp], 2
	jle	.L13
.L14:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -48[rbp]
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	js	.L14
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 2
	jg	.L14
	mov	eax, DWORD PTR -48[rbp]
	test	eax, eax
	js	.L14
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 2
	jg	.L14
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rbp
	add	rax, rcx
	sub	rax, 17
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L14
	cmp	DWORD PTR -32[rbp], 1
	jne	.L15
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rbp
	add	rax, rcx
	sub	rax, 17
	mov	BYTE PTR [rax], 48
	add	DWORD PTR -32[rbp], 1
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rbp
	add	rax, rcx
	sub	rax, 17
	mov	BYTE PTR [rax], 88
	mov	DWORD PTR -32[rbp], 1
.L16:
	add	DWORD PTR -24[rbp], 1
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 48
	jne	.L17
	movzx	eax, BYTE PTR -16[rbp]
	cmp	al, 48
	jne	.L17
	movzx	eax, BYTE PTR -15[rbp]
	cmp	al, 48
	je	.L18
.L17:
	movzx	eax, BYTE PTR -14[rbp]
	cmp	al, 48
	jne	.L19
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	jne	.L19
	movzx	eax, BYTE PTR -12[rbp]
	cmp	al, 48
	je	.L18
.L19:
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 48
	jne	.L20
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 48
	jne	.L20
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 48
	jne	.L20
.L18:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 1
.L20:
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 88
	jne	.L21
	movzx	eax, BYTE PTR -16[rbp]
	cmp	al, 88
	jne	.L21
	movzx	eax, BYTE PTR -15[rbp]
	cmp	al, 88
	je	.L22
.L21:
	movzx	eax, BYTE PTR -14[rbp]
	cmp	al, 88
	jne	.L23
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 88
	jne	.L23
	movzx	eax, BYTE PTR -12[rbp]
	cmp	al, 88
	je	.L22
.L23:
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 88
	jne	.L24
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 88
	jne	.L24
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 88
	jne	.L24
.L22:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 1
.L24:
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 48
	jne	.L25
	movzx	eax, BYTE PTR -14[rbp]
	cmp	al, 48
	jne	.L25
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 48
	je	.L26
.L25:
	movzx	eax, BYTE PTR -16[rbp]
	cmp	al, 48
	jne	.L27
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	jne	.L27
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 48
	je	.L26
.L27:
	movzx	eax, BYTE PTR -15[rbp]
	cmp	al, 48
	jne	.L28
	movzx	eax, BYTE PTR -12[rbp]
	cmp	al, 48
	jne	.L28
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 48
	jne	.L28
.L26:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 1
.L28:
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 88
	jne	.L29
	movzx	eax, BYTE PTR -14[rbp]
	cmp	al, 88
	jne	.L29
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 88
	je	.L30
.L29:
	movzx	eax, BYTE PTR -16[rbp]
	cmp	al, 88
	jne	.L31
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 88
	jne	.L31
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 88
	je	.L30
.L31:
	movzx	eax, BYTE PTR -15[rbp]
	cmp	al, 88
	jne	.L32
	movzx	eax, BYTE PTR -12[rbp]
	cmp	al, 88
	jne	.L32
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 88
	jne	.L32
.L30:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 1
.L32:
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 48
	jne	.L33
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	jne	.L33
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 48
	jne	.L33
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 1
.L33:
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 88
	jne	.L34
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 88
	jne	.L34
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 88
	jne	.L34
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 1
.L34:
	movzx	eax, BYTE PTR -15[rbp]
	cmp	al, 48
	jne	.L35
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	jne	.L35
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 48
	jne	.L35
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 1
.L35:
	movzx	eax, BYTE PTR -15[rbp]
	cmp	al, 88
	jne	.L36
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 88
	jne	.L36
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 88
	jne	.L36
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 1
.L36:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L37
	cmp	DWORD PTR -24[rbp], 8
	jle	.L38
.L37:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -40[rbp], 0
	jmp	.L39
.L46:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L40
.L44:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L41
	mov	edi, 9
	call	putchar@PLT
.L41:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rbp
	add	rax, rcx
	sub	rax, 17
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -36[rbp], 1
	jg	.L42
	mov	edi, 124
	call	putchar@PLT
.L42:
	cmp	DWORD PTR -36[rbp], 2
	jne	.L43
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L43:
	add	DWORD PTR -36[rbp], 1
.L40:
	cmp	DWORD PTR -36[rbp], 2
	jle	.L44
	cmp	DWORD PTR -40[rbp], 1
	jg	.L45
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L45:
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -40[rbp], 1
.L39:
	cmp	DWORD PTR -40[rbp], 2
	jle	.L46
	cmp	DWORD PTR -28[rbp], 0
	jne	.L47
	lea	rdi, .LC15[rip]
	call	puts@PLT
.L47:
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 1
	je	.L48
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.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	"183894.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\012\011 0   1   2\012\000"
	.align	2
.LC1:
	.ascii	" %c \000"
	.align	2
.LC2:
	.ascii	"  %d\000"
	.align	2
.LC3:
	.ascii	"\012\011-----------\000"
	.align	2
.LC4:
	.ascii	"\012JOGADOR 1 = 0\012JOGADOR 2 = X\000"
	.align	2
.LC5:
	.ascii	"\012JOGADOR %d: Digite a linha e a coluna que desej"
	.ascii	"a jogar: \000"
	.align	2
.LC6:
	.ascii	"%d%d\000"
	.align	2
.LC7:
	.ascii	"\012Parabens! O jogador 1 venceu por linha!\000"
	.align	2
.LC8:
	.ascii	"\012Parabens! O jogador 2 venceu por linha!\000"
	.align	2
.LC9:
	.ascii	"\012Parabens! O jogador 1 venceu por coluna!\000"
	.align	2
.LC10:
	.ascii	"\012Parabens! O jogador 2 venceu por coluna!\000"
	.align	2
.LC11:
	.ascii	"\012Parabens! O jogador 1 venceu na diag. principal"
	.ascii	"!\000"
	.align	2
.LC12:
	.ascii	"\012Parabens! O jogador 2 venceu na diag. principal"
	.ascii	"!\000"
	.align	2
.LC13:
	.ascii	"\012Parabens! O jogador 1 venceu na diag. secindari"
	.ascii	"a!\000"
	.align	2
.LC14:
	.ascii	"\012Parabens! O jogador 2 venceu na diag. secundari"
	.ascii	"a!\000"
	.align	2
.LC15:
	.ascii	"\012Deu Velha!\000"
	.align	2
.LC16:
	.ascii	"\012Digite 1 para jogar novamente: \000"
	.align	2
.LC17:
	.ascii	"%d\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L48:
	mov	r3, #1
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L3
.L4:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	sub	r3, r3, #16
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L3:
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	ble	.L4
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	ble	.L5
.L38:
	ldr	r0, .L51+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L6
.L13:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L7
.L11:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L8
	mov	r0, #9
	bl	putchar
.L8:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	sub	r3, r3, #16
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L51+8
	bl	printf
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bgt	.L9
	mov	r0, #124
	bl	putchar
.L9:
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	bne	.L10
	ldr	r1, [fp, #-40]
	ldr	r0, .L51+12
	bl	printf
.L10:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L7:
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	ble	.L11
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bgt	.L12
	ldr	r0, .L51+16
	bl	printf
.L12:
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L6:
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	ble	.L13
.L14:
	ldr	r0, .L51+20
	bl	puts
	ldr	r1, [fp, #-32]
	ldr	r0, .L51+24
	bl	printf
	sub	r2, fp, #48
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L51+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	blt	.L14
	ldr	r3, [fp, #-52]
	cmp	r3, #2
	bgt	.L14
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	blt	.L14
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	bgt	.L14
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, r1
	sub	r3, r3, #16
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L14
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L15
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, r1
	sub	r3, r3, #16
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L16
.L15:
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, r1
	sub	r3, r3, #16
	mov	r2, #88
	strb	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-32]
.L16:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldrb	r3, [fp, #-20]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L17
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L17
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L18
.L17:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L19
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L19
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L18
.L19:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L20
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L20
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L20
.L18:
	ldr	r0, .L51+32
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-28]
.L20:
	ldrb	r3, [fp, #-20]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L21
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L21
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
.L21:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L23
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L23
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
.L23:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L24
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L24
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L24
.L22:
	ldr	r0, .L51+36
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-28]
.L24:
	ldrb	r3, [fp, #-20]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L25
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L25
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L26
.L25:
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L27
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L27
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L26
.L27:
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L28
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L28
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L28
.L26:
	ldr	r0, .L51+40
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-28]
.L28:
	ldrb	r3, [fp, #-20]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L29
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L29
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L30
.L29:
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L31
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L31
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L30
.L31:
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L32
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L32
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L32
.L30:
	ldr	r0, .L51+44
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-28]
.L32:
	ldrb	r3, [fp, #-20]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L33
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L33
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L33
	ldr	r0, .L51+48
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-28]
.L33:
	ldrb	r3, [fp, #-20]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L34
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L34
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L34
	ldr	r0, .L51+52
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-28]
.L34:
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L35
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L35
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L35
	ldr	r0, .L51+56
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-28]
.L35:
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L36
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L36
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L36
	ldr	r0, .L51+60
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-28]
.L36:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-24]
	cmp	r3, #8
	ble	.L38
.L37:
	ldr	r0, .L51+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L39
.L46:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L40
.L44:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L41
	mov	r0, #9
	bl	putchar
.L41:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	sub	r3, r3, #16
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L51+8
	bl	printf
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bgt	.L42
	mov	r0, #124
	bl	putchar
.L42:
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	bne	.L43
	ldr	r1, [fp, #-40]
	ldr	r0, .L51+12
	bl	printf
.L43:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L40:
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	ble	.L44
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bgt	.L45
	ldr	r0, .L51+16
	bl	printf
.L45:
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L39:
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	ble	.L46
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L47
	ldr	r0, .L51+64
	bl	puts
.L47:
	ldr	r0, .L51+68
	bl	puts
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L51+72
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	cmp	r3, #1
	beq	.L48
	mov	r3, #0
	ldr	r2, .L51
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC18
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
