	.file	"693937.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \320\277\321\200\320\265\320\264\320\273\320\276\320\266\320\265\320\275\320\270\320\265:"
.LC1:
	.string	"\n"
	.align 8
.LC2:
	.string	"\320\222\321\213 \320\262\320\262\320\265\320\273\320\270 \321\201\320\273\320\265\320\264\321\203\321\216\321\211\320\265\320\265 \320\277\321\200\320\265\320\264\320\273\320\276\320\266\320\265\320\275\320\270\320\265:\n%s\n"
.LC3:
	.string	" "
.LC4:
	.string	"\320\241\320\273\320\276\320\262\320\276 \342\204\226%d: %s\n"
	.align 8
.LC5:
	.string	"\320\232\320\276\320\273\320\270\321\207\320\265\321\201\321\202\320\262\320\276 \321\201\320\273\320\276\320\262 = %d\n"
	.align 8
.LC6:
	.string	"\320\222\321\201\320\265 \321\201\320\273\320\276\320\262\320\260 \320\262 \320\260\320\273\321\204\320\260\320\262\320\270\321\202\320\275\320\276\320\274 \320\277\320\276\321\200\321\217\320\264\320\272\320\265:"
	.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
	push	rbx
	sub	rsp, 1096
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1056[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1056[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcspn@PLT
	mov	BYTE PTR -1056[rbp+rax], 0
	lea	rax, -1056[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1080[rbp], rax
	lea	rdx, -1056[rbp]
	mov	rax, QWORD PTR -1080[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -1080[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1088[rbp], rax
	mov	DWORD PTR -1100[rbp], 0
	jmp	.L2
.L3:
	add	DWORD PTR -1100[rbp], 1
	mov	rdx, QWORD PTR -1088[rbp]
	mov	eax, DWORD PTR -1100[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC3[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1088[rbp], rax
.L2:
	cmp	QWORD PTR -1088[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR -1080[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -1100[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1100[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1072[rbp], rax
	lea	rax, -1056[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1088[rbp], rax
	mov	DWORD PTR -1096[rbp], 0
	jmp	.L4
.L7:
	mov	rax, QWORD PTR -1088[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	edx, DWORD PTR -1096[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -1072[rbp]
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -1088[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	DWORD PTR -1092[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	tolower@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -1092[rbp], 1
.L5:
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1092[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L6
	lea	rsi, .LC3[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1088[rbp], rax
	add	DWORD PTR -1096[rbp], 1
.L4:
	cmp	QWORD PTR -1088[rbp], 0
	jne	.L7
	mov	DWORD PTR -1092[rbp], 0
	jmp	.L8
.L12:
	mov	DWORD PTR -1096[rbp], 0
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jle	.L10
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -1064[rbp], rax
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -1096[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -1072[rbp]
	add	rdx, rcx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -1064[rbp]
	mov	QWORD PTR [rdx], rax
.L10:
	add	DWORD PTR -1096[rbp], 1
.L9:
	mov	eax, DWORD PTR -1100[rbp]
	sub	eax, 1
	cmp	DWORD PTR -1096[rbp], eax
	jl	.L11
	add	DWORD PTR -1092[rbp], 1
.L8:
	mov	eax, DWORD PTR -1100[rbp]
	sub	eax, 1
	cmp	DWORD PTR -1092[rbp], eax
	jl	.L12
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -1096[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -1096[rbp], 1
.L13:
	mov	eax, DWORD PTR -1096[rbp]
	cmp	eax, DWORD PTR -1100[rbp]
	jl	.L14
	mov	DWORD PTR -1096[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -1096[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -1096[rbp], 1
.L15:
	mov	eax, DWORD PTR -1096[rbp]
	cmp	eax, DWORD PTR -1100[rbp]
	jl	.L16
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	mov	rbx, QWORD PTR -8[rbp]
	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	"693937.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\320\222\320\262\320\265\320\264\320\270\321\202\320"
	.ascii	"\265 \320\277\321\200\320\265\320\264\320\273\320\276"
	.ascii	"\320\266\320\265\320\275\320\270\320\265:\000"
	.align	2
.LC1:
	.ascii	"\012\000"
	.align	2
.LC2:
	.ascii	"\320\222\321\213 \320\262\320\262\320\265\320\273\320"
	.ascii	"\270 \321\201\320\273\320\265\320\264\321\203\321\216"
	.ascii	"\321\211\320\265\320\265 \320\277\321\200\320\265\320"
	.ascii	"\264\320\273\320\276\320\266\320\265\320\275\320\270"
	.ascii	"\320\265:\012%s\012\000"
	.align	2
.LC3:
	.ascii	" \000"
	.align	2
.LC4:
	.ascii	"\320\241\320\273\320\276\320\262\320\276 \342\204\226"
	.ascii	"%d: %s\012\000"
	.align	2
.LC5:
	.ascii	"\320\232\320\276\320\273\320\270\321\207\320\265\321"
	.ascii	"\201\321\202\320\262\320\276 \321\201\320\273\320\276"
	.ascii	"\320\262 = %d\012\000"
	.align	2
.LC6:
	.ascii	"\320\222\321\201\320\265 \321\201\320\273\320\276\320"
	.ascii	"\262\320\260 \320\262 \320\260\320\273\321\204\320\260"
	.ascii	"\320\262\320\270\321\202\320\275\320\276\320\274 \320"
	.ascii	"\277\320\276\321\200\321\217\320\264\320\272\320\265"
	.ascii	":\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1056
	sub	sp, sp, #4
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L19+4
	bl	puts
	ldr	r3, .L19+8
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L19+12
	mov	r0, r3
	bl	strcspn
	mov	r3, r0
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1028]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L19+16
	bl	printf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1052]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1052]
	bl	strcpy
	ldr	r1, .L19+20
	ldr	r0, [fp, #-1052]
	bl	strtok
	str	r0, [fp, #-1068]
	mov	r3, #0
	str	r3, [fp, #-1064]
	b	.L2
.L3:
	ldr	r3, [fp, #-1064]
	add	r3, r3, #1
	str	r3, [fp, #-1064]
	ldr	r2, [fp, #-1068]
	ldr	r1, [fp, #-1064]
	ldr	r0, .L19+24
	bl	printf
	ldr	r1, .L19+20
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1068]
.L2:
	ldr	r3, [fp, #-1068]
	cmp	r3, #0
	bne	.L3
	ldr	r0, [fp, #-1052]
	bl	free
	ldr	r1, [fp, #-1064]
	ldr	r0, .L19+28
	bl	printf
	ldr	r3, [fp, #-1064]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1048]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L19+20
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-1068]
	mov	r3, #0
	str	r3, [fp, #-1060]
	b	.L4
.L7:
	ldr	r0, [fp, #-1068]
	bl	strlen
	mov	r3, r0
	add	r1, r3, #1
	ldr	r3, [fp, #-1060]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-1060]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-1068]
	mov	r0, r3
	bl	strcpy
	mov	r3, #0
	str	r3, [fp, #-1056]
	b	.L5
.L6:
	ldr	r3, [fp, #-1060]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-1056]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r1, r0
	ldr	r3, [fp, #-1060]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-1056]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
.L5:
	ldr	r3, [fp, #-1060]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-1056]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	ldr	r1, .L19+20
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1068]
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1060]
.L4:
	ldr	r3, [fp, #-1068]
	cmp	r3, #0
	bne	.L7
	mov	r3, #0
	str	r3, [fp, #-1056]
	b	.L8
.L12:
	mov	r3, #0
	str	r3, [fp, #-1060]
	b	.L9
.L11:
	ldr	r3, [fp, #-1060]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	ble	.L10
	ldr	r3, [fp, #-1060]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-1044]
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r2, r2, r3
	ldr	r3, [fp, #-1060]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-1048]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	ldr	r2, [fp, #-1044]
	str	r2, [r3]
.L10:
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1060]
.L9:
	ldr	r3, [fp, #-1064]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1060]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
.L8:
	ldr	r3, [fp, #-1064]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1056]
	cmp	r2, r3
	blt	.L12
	ldr	r0, .L19+32
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-1060]
	b	.L13
.L14:
	ldr	r3, [fp, #-1060]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1060]
.L13:
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1064]
	cmp	r2, r3
	blt	.L14
	mov	r3, #0
	str	r3, [fp, #-1060]
	b	.L15
.L16:
	ldr	r3, [fp, #-1060]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1060]
.L15:
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1064]
	cmp	r2, r3
	blt	.L16
	ldr	r0, [fp, #-1048]
	bl	free
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC7
	.word	.LC0
	.word	stdin
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
