	.file	"49284.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%[^\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
	sub	rsp, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -240[rbp], 0
	mov	DWORD PTR -236[rbp], 0
	mov	DWORD PTR -232[rbp], 0
	mov	DWORD PTR -228[rbp], 0
	lea	rax, -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L20:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	movsx	eax, al
	cmp	eax, 125
	je	.L3
	cmp	eax, 125
	jg	.L4
	cmp	eax, 123
	je	.L5
	cmp	eax, 123
	jg	.L4
	cmp	eax, 93
	je	.L6
	cmp	eax, 93
	jg	.L4
	cmp	eax, 91
	je	.L7
	cmp	eax, 91
	jg	.L4
	cmp	eax, 41
	je	.L8
	cmp	eax, 41
	jg	.L4
	cmp	eax, 40
	je	.L9
	cmp	eax, 40
	jg	.L4
	cmp	eax, 34
	je	.L10
	cmp	eax, 39
	je	.L11
	jmp	.L4
.L9:
	mov	DWORD PTR -240[rbp], 1
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -232[rbp], 1
	jmp	.L12
.L8:
	mov	DWORD PTR -240[rbp], 0
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -232[rbp], 1
	jmp	.L12
.L5:
	mov	DWORD PTR -240[rbp], 1
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -232[rbp], 1
	jmp	.L12
.L3:
	mov	DWORD PTR -240[rbp], 0
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -232[rbp], 1
	jmp	.L12
.L7:
	mov	DWORD PTR -240[rbp], 1
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -232[rbp], 1
	jmp	.L12
.L6:
	mov	DWORD PTR -240[rbp], 0
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -232[rbp], 1
	jmp	.L12
.L10:
	add	DWORD PTR -236[rbp], 1
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -232[rbp], 1
	jmp	.L12
.L11:
	add	DWORD PTR -236[rbp], 1
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -232[rbp], 1
	jmp	.L12
.L4:
	cmp	DWORD PTR -240[rbp], 1
	je	.L13
	cmp	DWORD PTR -236[rbp], 1
	jne	.L14
.L13:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -232[rbp], 1
	jmp	.L12
.L14:
	cmp	DWORD PTR -236[rbp], 2
	jne	.L15
	mov	DWORD PTR -236[rbp], 0
.L15:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 64
	jle	.L16
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 90
	jle	.L17
.L16:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 96
	jle	.L18
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 122
	jle	.L17
.L18:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 32
	jne	.L19
.L17:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	edx, BYTE PTR -224[rbp+rax]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	add	DWORD PTR -232[rbp], 1
	jmp	.L12
.L19:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 47
	jle	.L12
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 57
	jg	.L12
	mov	eax, DWORD PTR -232[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	cmp	al, 88
	je	.L12
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], 88
	add	DWORD PTR -232[rbp], 1
.L12:
	add	DWORD PTR -228[rbp], 1
.L2:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 48
	jne	.L20
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	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	"49284.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%[^\012]\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #224
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-216]
	mov	r3, #0
	str	r3, [fp, #-212]
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, .L25+4
	bl	__isoc99_scanf
	b	.L2
.L22:
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #125
	beq	.L3
	cmp	r3, #125
	bgt	.L4
	cmp	r3, #123
	beq	.L5
	cmp	r3, #123
	bgt	.L4
	cmp	r3, #93
	beq	.L6
	cmp	r3, #93
	bgt	.L4
	cmp	r3, #41
	bgt	.L7
	cmp	r3, #34
	blt	.L4
	sub	r3, r3, #34
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L9:
	.word	.L12
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L11
	.word	.L10
	.word	.L8
.L7:
	cmp	r3, #91
	beq	.L13
	b	.L4
.L10:
	mov	r3, #1
	str	r3, [fp, #-224]
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	b	.L14
.L8:
	mov	r3, #0
	str	r3, [fp, #-224]
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	b	.L14
.L5:
	mov	r3, #1
	str	r3, [fp, #-224]
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	b	.L14
.L3:
	mov	r3, #0
	str	r3, [fp, #-224]
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	b	.L14
.L13:
	mov	r3, #1
	str	r3, [fp, #-224]
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	b	.L14
.L6:
	mov	r3, #0
	str	r3, [fp, #-224]
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	b	.L14
.L12:
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	b	.L14
.L11:
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	b	.L14
.L4:
	ldr	r3, [fp, #-224]
	cmp	r3, #1
	beq	.L15
	ldr	r3, [fp, #-220]
	cmp	r3, #1
	bne	.L16
.L15:
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	b	.L14
.L16:
	ldr	r3, [fp, #-220]
	cmp	r3, #2
	bne	.L17
	mov	r3, #0
	str	r3, [fp, #-220]
.L17:
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L18
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bls	.L19
.L18:
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L20
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #122
	bls	.L19
.L20:
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L21
.L19:
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
	b	.L14
.L21:
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L14
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L14
	ldr	r3, [fp, #-216]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-104]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L14
	sub	r2, fp, #108
	ldr	r3, [fp, #-216]
	add	r3, r2, r3
	mov	r2, #88
	strb	r2, [r3]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L14:
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L2:
	sub	r2, fp, #208
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L22
	sub	r3, fp, #108
	mov	r0, r3
	bl	puts
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
