	.file	"32951377.c"
	.intel_syntax noprefix
	.text
	.globl	m
	.bss
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.section	.rodata
.LC0:
	.string	"START"
.LC1:
	.string	"END"
.LC2:
	.string	"ENDOFINPUT"
	.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, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3856
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR m[rip], 0
	mov	DWORD PTR -20216[rbp], 0
	mov	DWORD PTR -20224[rbp], 0
	jmp	.L2
.L8:
	lea	rax, -208[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rax, -208[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	mov	DWORD PTR m[rip], 1
	jmp	.L4
.L3:
	lea	rax, -208[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	DWORD PTR m[rip], 0
.L5:
	mov	eax, DWORD PTR m[rip]
	test	eax, eax
	je	.L6
	add	DWORD PTR -20216[rbp], 1
	lea	rcx, -20208[rbp]
	mov	eax, DWORD PTR -20216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	lea	rax, -208[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
.L6:
	lea	rax, -208[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L19
.L4:
	add	DWORD PTR -20224[rbp], 1
.L2:
	cmp	DWORD PTR -20224[rbp], 301
	jle	.L8
	jmp	.L7
.L19:
	nop
.L7:
	mov	DWORD PTR -20224[rbp], 0
	jmp	.L9
.L16:
	lea	rcx, -20208[rbp]
	mov	eax, DWORD PTR -20224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -20212[rbp], eax
	mov	DWORD PTR -20220[rbp], 0
	jmp	.L10
.L15:
	mov	eax, DWORD PTR -20220[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	add	rax, rcx
	sub	rax, 20208
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -20225[rbp], al
	cmp	BYTE PTR -20225[rbp], 64
	jle	.L20
	cmp	BYTE PTR -20225[rbp], 90
	jg	.L20
	cmp	BYTE PTR -20225[rbp], 69
	jg	.L14
	movzx	eax, BYTE PTR -20225[rbp]
	add	eax, 21
	mov	ecx, eax
	mov	eax, DWORD PTR -20220[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -20224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	add	rax, rsi
	sub	rax, 20208
	mov	BYTE PTR [rax], cl
	jmp	.L13
.L14:
	movzx	eax, BYTE PTR -20225[rbp]
	sub	eax, 5
	mov	ecx, eax
	mov	eax, DWORD PTR -20220[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -20224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	add	rax, rsi
	sub	rax, 20208
	mov	BYTE PTR [rax], cl
	jmp	.L13
.L20:
	nop
.L13:
	add	DWORD PTR -20220[rbp], 1
.L10:
	mov	eax, DWORD PTR -20220[rbp]
	cmp	eax, DWORD PTR -20212[rbp]
	jl	.L15
	lea	rcx, -20208[rbp]
	mov	eax, DWORD PTR -20224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -20224[rbp], 1
.L9:
	mov	eax, DWORD PTR -20224[rbp]
	cmp	eax, DWORD PTR -20216[rbp]
	jle	.L16
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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	"32951377.c"
	.text
	.comm	m,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"START\000"
	.align	2
.LC1:
	.ascii	"END\000"
	.align	2
.LC2:
	.ascii	"ENDOFINPUT\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 20224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #20224
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L21+4
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3828]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3836]
	b	.L2
.L8:
	sub	r3, fp, #208
	mov	r0, r3
	bl	gets
	sub	r3, fp, #208
	ldr	r1, .L21+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L21+4
	mov	r2, #1
	str	r2, [r3]
	b	.L4
.L3:
	sub	r3, fp, #208
	ldr	r1, .L21+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L21+4
	mov	r2, #0
	str	r2, [r3]
.L5:
	ldr	r3, .L21+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L6
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3828]
	add	r3, r3, #1
	str	r3, [r2, #-3828]
	sub	r2, fp, #19968
	sub	r2, r2, #4
	sub	r2, r2, #236
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r1, [r3, #-3828]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r2, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L6:
	sub	r3, fp, #208
	ldr	r1, .L21+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
.L4:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3836]
	add	r3, r3, #1
	str	r3, [r2, #-3836]
.L2:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3836]
	ldr	r2, .L21+20
	cmp	r3, r2
	ble	.L8
	b	.L7
.L19:
	nop
.L7:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3836]
	b	.L9
.L16:
	sub	r2, fp, #19968
	sub	r2, r2, #4
	sub	r2, r2, #236
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r1, [r3, #-3836]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #4
	str	r3, [r2, #-3824]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3832]
	b	.L10
.L15:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r2, [r3, #-3836]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3832]
	add	r3, r2, r3
	sub	r3, r3, #3808
	sub	r3, r3, #12
	ldrb	r3, [r3]
	strb	r3, [r1, #-3837]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldrb	r3, [r3, #-3837]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L20
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldrb	r3, [r3, #-3837]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L20
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldrb	r3, [r3, #-3837]	@ zero_extendqisi2
	cmp	r3, #69
	bhi	.L14
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldrb	r3, [r3, #-3837]
	add	r3, r3, #21
	and	r1, r3, #255
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r2, [r3, #-3836]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3832]
	add	r3, r2, r3
	sub	r3, r3, #3808
	sub	r3, r3, #12
	mov	r2, r1
	strb	r2, [r3]
	b	.L13
.L14:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldrb	r3, [r3, #-3837]
	sub	r3, r3, #5
	and	r1, r3, #255
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r2, [r3, #-3836]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3832]
	add	r3, r2, r3
	sub	r3, r3, #3808
	sub	r3, r3, #12
	mov	r2, r1
	strb	r2, [r3]
	b	.L13
.L20:
	nop
.L13:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3832]
	add	r3, r3, #1
	str	r3, [r2, #-3832]
.L10:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r2, [r2, #-3832]
	ldr	r3, [r3, #-3824]
	cmp	r2, r3
	blt	.L15
	sub	r2, fp, #19968
	sub	r2, r2, #4
	sub	r2, r2, #236
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r1, [r3, #-3836]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r0, r3
	bl	puts
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3836]
	add	r3, r3, #1
	str	r3, [r2, #-3836]
.L9:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r2, [r2, #-3836]
	ldr	r3, [r3, #-3828]
	cmp	r2, r3
	ble	.L16
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC3
	.word	m
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	301
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
