	.file	"190057.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\354\235\264\353\246\204\354\235\204 \354\236\205\353\240\245\355\225\230\354\213\234\354\230\244"
.LC1:
	.string	"\355\217\260\353\262\210\355\230\270\353\245\274 \354\236\205\353\240\245\355\225\230\354\213\234\354\230\244"
.LC2:
	.string	"\352\267\270\353\247\214\355\225\240\353\236\230?"
.LC3:
	.string	"\352\262\260\352\263\274\353\212\224 : %s\t %s\n"
	.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
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -120[rbp], 0
.L9:
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -116[rbp], eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -120[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	add	rax, rcx
	lea	rdx, -112[rax]
	movzx	eax, BYTE PTR -125[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -120[rbp], 1
.L2:
	call	getchar@PLT
	mov	BYTE PTR -125[rbp], al
	cmp	BYTE PTR -125[rbp], 10
	jne	.L3
	mov	eax, DWORD PTR -120[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	add	rax, rcx
	sub	rax, 112
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -116[rbp]
	add	eax, 1
	mov	DWORD PTR -124[rbp], eax
	mov	DWORD PTR -120[rbp], 0
	mov	BYTE PTR -125[rbp], 0
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -120[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	add	rax, rcx
	lea	rdx, -64[rax]
	movzx	eax, BYTE PTR -125[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -120[rbp], 1
.L4:
	call	getchar@PLT
	mov	BYTE PTR -125[rbp], al
	cmp	BYTE PTR -125[rbp], 10
	jne	.L5
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	BYTE PTR -125[rbp], 0
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
.L6:
	call	getchar@PLT
	mov	BYTE PTR -125[rbp], al
	cmp	BYTE PTR -125[rbp], 10
	jne	.L6
	cmp	BYTE PTR -125[rbp], 121
	je	.L15
	jmp	.L9
.L15:
	nop
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	jmp	.L10
.L11:
	lea	rcx, -64[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rsi, -112[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -124[rbp], 1
	add	DWORD PTR -124[rbp], 1
.L10:
	cmp	DWORD PTR -124[rbp], 3
	jle	.L11
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"190057.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\354\235\264\353\246\204\354\235\204 \354\236\205\353"
	.ascii	"\240\245\355\225\230\354\213\234\354\230\244\000"
	.align	2
.LC1:
	.ascii	"\355\217\260\353\262\210\355\230\270\353\245\274 \354"
	.ascii	"\236\205\353\240\245\355\225\230\354\213\234\354\230"
	.ascii	"\244\000"
	.align	2
.LC2:
	.ascii	"\352\267\270\353\247\214\355\225\240\353\236\230?\000"
	.align	2
.LC3:
	.ascii	"\352\262\260\352\263\274\353\212\224 : %s\011 %s\012"
	.ascii	"\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-104]
.L9:
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-100]
	ldr	r0, .L16+4
	bl	puts
	b	.L2
.L3:
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	sub	r3, r3, #92
	ldrb	r2, [fp, #-109]
	strb	r2, [r3]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L2:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-109]
	ldrb	r3, [fp, #-109]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L3
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	sub	r3, r3, #92
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-104]
	mov	r3, #0
	strb	r3, [fp, #-109]
	ldr	r0, .L16+8
	bl	puts
	b	.L4
.L5:
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	sub	r3, r3, #52
	ldrb	r2, [fp, #-109]
	strb	r2, [r3]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L4:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-109]
	ldrb	r3, [fp, #-109]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L5
	ldr	r3, .L16+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r3, #0
	strb	r3, [fp, #-109]
	ldr	r0, .L16+16
	bl	puts
	nop
.L6:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-109]
	ldrb	r3, [fp, #-109]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L6
	ldrb	r3, [fp, #-109]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L15
	b	.L9
.L15:
	nop
	mov	r3, #0
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L10
.L11:
	sub	r1, fp, #96
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r0, r1, r3
	sub	r1, fp, #56
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, r3
	mov	r1, r0
	ldr	r0, .L16+20
	bl	printf
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L10:
	ldr	r3, [fp, #-108]
	cmp	r3, #3
	ble	.L11
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	stdin
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
