	.file	"57407.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"> "
.LC1:
	.string	"%s"
.LC2:
	.string	"r"
.LC3:
	.string	"Cannot open %s\n"
.LC4:
	.string	"w"
.LC5:
	.string	"%s\n"
.LC6:
	.string	"%d %s"
.LC7:
	.string	"%d %s\n"
.LC8:
	.string	"%d"
	.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
	lea	r11, -61440[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3744
	mov	DWORD PTR -65172[rbp], edi
	mov	QWORD PTR -65184[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -65164[rbp], 0
	mov	DWORD PTR -65160[rbp], 0
	mov	QWORD PTR -65120[rbp], 0
	mov	QWORD PTR -65112[rbp], 0
.L40:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -70[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -70[rbp]
	movsx	eax, al
	sub	eax, 100
	cmp	eax, 19
	ja	.L43
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L8-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L43-.L4
	.long	.L3-.L4
	.text
.L5:
	movzx	eax, BYTE PTR -69[rbp]
	cmp	al, 101
	jne	.L44
	movzx	eax, BYTE PTR -68[rbp]
	cmp	al, 97
	jne	.L44
	movzx	eax, BYTE PTR -67[rbp]
	cmp	al, 100
	jne	.L44
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -64[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -65120[rbp], rax
	cmp	QWORD PTR -65120[rbp], 0
	jne	.L10
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L10:
	lea	rax, -64[rbp]
	mov	edx, 53
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -65156[rbp], 0
	jmp	.L12
.L13:
	lea	rcx, -65104[rbp]
	mov	eax, DWORD PTR -65156[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	add	rax, rcx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -65156[rbp], 1
.L12:
	cmp	DWORD PTR -65156[rbp], 254
	jle	.L13
	mov	DWORD PTR -65164[rbp], 0
	jmp	.L14
.L15:
	add	DWORD PTR -65164[rbp], 1
.L14:
	lea	rcx, -65104[rbp]
	mov	eax, DWORD PTR -65164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	add	rcx, rax
	mov	rax, QWORD PTR -65120[rbp]
	mov	rdx, rax
	mov	esi, 255
	mov	rdi, rcx
	call	fgets@PLT
	test	rax, rax
	jne	.L15
	jmp	.L44
.L3:
	movzx	eax, BYTE PTR -69[rbp]
	cmp	al, 114
	jne	.L45
	movzx	eax, BYTE PTR -68[rbp]
	cmp	al, 105
	jne	.L45
	movzx	eax, BYTE PTR -67[rbp]
	cmp	al, 116
	jne	.L45
	movzx	eax, BYTE PTR -66[rbp]
	cmp	al, 101
	jne	.L45
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -64[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -65112[rbp], rax
	lea	rax, -64[rbp]
	mov	edx, 53
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -65152[rbp], 0
	jmp	.L17
.L23:
	mov	DWORD PTR -65144[rbp], 0
	mov	DWORD PTR -65148[rbp], 0
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -65148[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -65152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	add	rax, rbp
	add	rax, rcx
	sub	rax, 65104
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L19
	lea	rcx, -65104[rbp]
	mov	eax, DWORD PTR -65152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -65112[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	fputs@PLT
	mov	DWORD PTR -65144[rbp], 1
	jmp	.L20
.L19:
	add	DWORD PTR -65148[rbp], 1
.L18:
	cmp	DWORD PTR -65148[rbp], 254
	jle	.L21
.L20:
	cmp	DWORD PTR -65144[rbp], 0
	jne	.L22
	lea	rcx, -65104[rbp]
	mov	eax, DWORD PTR -65152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -65112[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L22:
	add	DWORD PTR -65152[rbp], 1
.L17:
	mov	eax, DWORD PTR -65152[rbp]
	cmp	eax, DWORD PTR -65164[rbp]
	jl	.L23
	mov	rax, QWORD PTR -65112[rbp]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L45
.L7:
	movzx	eax, BYTE PTR -69[rbp]
	cmp	al, 114
	jne	.L46
	movzx	eax, BYTE PTR -68[rbp]
	cmp	al, 105
	jne	.L46
	movzx	eax, BYTE PTR -67[rbp]
	cmp	al, 110
	jne	.L46
	movzx	eax, BYTE PTR -66[rbp]
	cmp	al, 116
	jne	.L46
	mov	DWORD PTR -65140[rbp], 0
	jmp	.L25
.L31:
	mov	DWORD PTR -65132[rbp], 0
	mov	DWORD PTR -65136[rbp], 0
	jmp	.L26
.L29:
	mov	eax, DWORD PTR -65136[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -65140[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	add	rax, rbp
	add	rax, rcx
	sub	rax, 65104
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L27
	lea	rcx, -65104[rbp]
	mov	eax, DWORD PTR -65140[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -65140[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -65132[rbp], 1
	jmp	.L28
.L27:
	add	DWORD PTR -65136[rbp], 1
.L26:
	cmp	DWORD PTR -65136[rbp], 254
	jle	.L29
.L28:
	cmp	DWORD PTR -65132[rbp], 0
	jne	.L30
	lea	rcx, -65104[rbp]
	mov	eax, DWORD PTR -65140[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -65140[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	add	DWORD PTR -65140[rbp], 1
.L25:
	mov	eax, DWORD PTR -65140[rbp]
	cmp	eax, DWORD PTR -65164[rbp]
	jl	.L31
	jmp	.L46
.L8:
	movzx	eax, BYTE PTR -69[rbp]
	cmp	al, 101
	jne	.L47
	movzx	eax, BYTE PTR -68[rbp]
	cmp	al, 108
	jne	.L47
	movzx	eax, BYTE PTR -67[rbp]
	cmp	al, 101
	jne	.L47
	movzx	eax, BYTE PTR -66[rbp]
	cmp	al, 116
	jne	.L47
	movzx	eax, BYTE PTR -65[rbp]
	cmp	al, 101
	jne	.L47
	lea	rax, -65168[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -65168[rbp]
	sub	eax, 1
	mov	DWORD PTR -65128[rbp], eax
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -65128[rbp]
	add	eax, 1
	lea	rcx, -65104[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rsi, -65104[rbp]
	mov	eax, DWORD PTR -65128[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 8
	sub	rax, rcx
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	add	DWORD PTR -65128[rbp], 1
.L33:
	mov	eax, DWORD PTR -65128[rbp]
	cmp	eax, DWORD PTR -65164[rbp]
	jl	.L34
	sub	DWORD PTR -65164[rbp], 1
	jmp	.L47
.L6:
	movzx	eax, BYTE PTR -69[rbp]
	cmp	al, 117
	jne	.L48
	movzx	eax, BYTE PTR -68[rbp]
	cmp	al, 105
	jne	.L48
	movzx	eax, BYTE PTR -67[rbp]
	cmp	al, 116
	jne	.L48
	cmp	QWORD PTR -65120[rbp], 0
	je	.L36
	mov	DWORD PTR -65124[rbp], 0
	jmp	.L37
.L38:
	lea	rcx, -65104[rbp]
	mov	eax, DWORD PTR -65124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	add	rax, rcx
	mov	edx, 255
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	add	DWORD PTR -65124[rbp], 1
.L37:
	cmp	DWORD PTR -65124[rbp], 254
	jle	.L38
	mov	rax, QWORD PTR -65120[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L36:
	cmp	QWORD PTR -65112[rbp], 0
	je	.L39
	mov	rax, QWORD PTR -65112[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L39:
	mov	DWORD PTR -65160[rbp], 1
	jmp	.L48
.L43:
	nop
	jmp	.L11
.L44:
	nop
	jmp	.L11
.L45:
	nop
	jmp	.L11
.L46:
	nop
	jmp	.L11
.L47:
	nop
	jmp	.L11
.L48:
	nop
.L11:
	cmp	DWORD PTR -65160[rbp], 1
	jne	.L40
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	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	"57407.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"> \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"Cannot open %s\012\000"
	.align	2
.LC4:
	.ascii	"w\000"
	.align	2
.LC5:
	.ascii	"%s\012\000"
	.align	2
.LC6:
	.ascii	"%d %s\000"
	.align	2
.LC7:
	.ascii	"%d %s\012\000"
	.align	2
.LC8:
	.ascii	"%d\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 = 65160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #65024
	sub	sp, sp, #140
	sub	r3, fp, #61440
	sub	r3, r3, #12
	str	r0, [r3, #-3716]
	sub	r3, fp, #61440
	sub	r3, r3, #12
	str	r1, [r3, #-3720]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3708]
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3704]
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3700]
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3696]
.L40:
	ldr	r0, .L49+4
	bl	printf
	sub	r3, fp, #80
	mov	r1, r3
	ldr	r0, .L49+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-80]	@ zero_extendqisi2
	sub	r3, r3, #100
	cmp	r3, #19
	ldrls	pc, [pc, r3, asl #2]
	b	.L43
.L4:
	.word	.L8
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L43
	.word	.L3
.L5:
	ldrb	r3, [fp, #-79]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L44
	ldrb	r3, [fp, #-78]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L44
	ldrb	r3, [fp, #-77]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L44
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L49+8
	bl	__isoc99_scanf
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #72
	ldr	r1, .L49+12
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-3700]
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3700]
	cmp	r3, #0
	bne	.L10
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L49+16
	bl	printf
	b	.L11
.L10:
	sub	r3, fp, #72
	mov	r2, #53
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3692]
	b	.L12
.L13:
	sub	r2, fp, #65024
	sub	r2, r2, #12
	sub	r2, r2, #72
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r1, [r3, #-3692]
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3692]
	add	r3, r3, #1
	str	r3, [r2, #-3692]
.L12:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3692]
	cmp	r3, #254
	ble	.L13
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3708]
	b	.L14
.L15:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3708]
	add	r3, r3, #1
	str	r3, [r2, #-3708]
.L14:
	sub	r2, fp, #65024
	sub	r2, r2, #12
	sub	r2, r2, #72
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r1, [r3, #-3708]
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	sub	r2, fp, #61440
	sub	r2, r2, #12
	ldr	r2, [r2, #-3700]
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	b	.L44
.L3:
	ldrb	r3, [fp, #-79]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L45
	ldrb	r3, [fp, #-78]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L45
	ldrb	r3, [fp, #-77]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L45
	ldrb	r3, [fp, #-76]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L45
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L49+8
	bl	__isoc99_scanf
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #72
	ldr	r1, .L49+20
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-3696]
	sub	r3, fp, #72
	mov	r2, #53
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3688]
	b	.L17
.L23:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3680]
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3684]
	b	.L18
.L21:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r2, [r3, #-3688]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	add	r2, r1, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3684]
	add	r3, r2, r3
	sub	r3, r3, #3648
	sub	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L19
	sub	r2, fp, #65024
	sub	r2, r2, #12
	sub	r2, r2, #72
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r1, [r3, #-3688]
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	sub	r2, fp, #61440
	sub	r2, r2, #12
	ldr	r1, [r2, #-3696]
	mov	r0, r3
	bl	fputs
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3680]
	b	.L20
.L19:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3684]
	add	r3, r3, #1
	str	r3, [r2, #-3684]
.L18:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3684]
	cmp	r3, #254
	ble	.L21
.L20:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3680]
	cmp	r3, #0
	bne	.L22
	sub	r2, fp, #65024
	sub	r2, r2, #12
	sub	r2, r2, #72
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r1, [r3, #-3688]
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	sub	r2, fp, #61440
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L49+24
	ldr	r0, [r0, #-3696]
	bl	fprintf
.L22:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3688]
	add	r3, r3, #1
	str	r3, [r2, #-3688]
.L17:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r2, [r2, #-3688]
	ldr	r3, [r3, #-3708]
	cmp	r2, r3
	blt	.L23
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r0, [r3, #-3696]
	bl	fflush
	b	.L45
.L7:
	ldrb	r3, [fp, #-79]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L46
	ldrb	r3, [fp, #-78]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L46
	ldrb	r3, [fp, #-77]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L46
	ldrb	r3, [fp, #-76]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L46
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3676]
	b	.L25
.L31:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3668]
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3672]
	b	.L26
.L29:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r2, [r3, #-3676]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	add	r2, r1, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3672]
	add	r3, r2, r3
	sub	r3, r3, #3648
	sub	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L27
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3676]
	add	r0, r3, #1
	sub	r2, fp, #65024
	sub	r2, r2, #12
	sub	r2, r2, #72
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r1, [r3, #-3676]
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r2, r3
	mov	r1, r0
	ldr	r0, .L49+28
	bl	printf
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3668]
	b	.L28
.L27:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3672]
	add	r3, r3, #1
	str	r3, [r2, #-3672]
.L26:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3672]
	cmp	r3, #254
	ble	.L29
.L28:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3668]
	cmp	r3, #0
	bne	.L30
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3676]
	add	r0, r3, #1
	sub	r2, fp, #65024
	sub	r2, r2, #12
	sub	r2, r2, #72
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r1, [r3, #-3676]
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r2, r3
	mov	r1, r0
	ldr	r0, .L49+32
	bl	printf
.L30:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3676]
	add	r3, r3, #1
	str	r3, [r2, #-3676]
.L25:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r2, [r2, #-3676]
	ldr	r3, [r3, #-3708]
	cmp	r2, r3
	blt	.L31
	b	.L46
.L8:
	ldrb	r3, [fp, #-79]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L47
	ldrb	r3, [fp, #-78]	@ zero_extendqisi2
	cmp	r3, #108
	bne	.L47
	ldrb	r3, [fp, #-77]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L47
	ldrb	r3, [fp, #-76]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L47
	ldrb	r3, [fp, #-75]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L47
	sub	r3, fp, #65024
	sub	r3, r3, #12
	sub	r3, r3, #128
	mov	r1, r3
	ldr	r0, .L49+36
	bl	__isoc99_scanf
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3712]
	sub	r2, fp, #61440
	sub	r2, r2, #12
	sub	r3, r3, #1
	str	r3, [r2, #-3664]
	b	.L33
.L34:
	sub	r2, fp, #65024
	sub	r2, r2, #12
	sub	r2, r2, #72
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r1, [r3, #-3664]
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r0, r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3664]
	add	r1, r3, #1
	sub	r2, fp, #65024
	sub	r2, r2, #12
	sub	r2, r2, #72
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r1, r3
	bl	strcpy
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3664]
	add	r3, r3, #1
	str	r3, [r2, #-3664]
.L33:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r2, [r2, #-3664]
	ldr	r3, [r3, #-3708]
	cmp	r2, r3
	blt	.L34
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3708]
	sub	r3, r3, #1
	str	r3, [r2, #-3708]
	b	.L47
.L6:
	ldrb	r3, [fp, #-79]	@ zero_extendqisi2
	cmp	r3, #117
	bne	.L48
	ldrb	r3, [fp, #-78]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L48
	ldrb	r3, [fp, #-77]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L48
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3700]
	cmp	r3, #0
	beq	.L36
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3660]
	b	.L37
.L38:
	sub	r2, fp, #65024
	sub	r2, r2, #12
	sub	r2, r2, #72
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r1, [r3, #-3660]
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r2, #255
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3660]
	add	r3, r3, #1
	str	r3, [r2, #-3660]
.L37:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3660]
	cmp	r3, #254
	ble	.L38
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r0, [r3, #-3700]
	bl	fclose
.L36:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3696]
	cmp	r3, #0
	beq	.L39
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r0, [r3, #-3696]
	bl	fclose
.L39:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3704]
	b	.L48
.L43:
	nop
	b	.L11
.L44:
	nop
	b	.L11
.L45:
	nop
	b	.L11
.L46:
	nop
	b	.L11
.L47:
	nop
	b	.L11
.L48:
	nop
.L11:
	sub	r3, fp, #61440
	sub	r3, r3, #12
	ldr	r3, [r3, #-3704]
	cmp	r3, #1
	bne	.L40
	mov	r3, #0
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.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
