	.file	"6388863.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%c"
.LC1:
	.string	"%d"
.LC2:
	.string	"error"
	.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
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -92[rbp], 1
	mov	DWORD PTR -88[rbp], 1
	jmp	.L2
.L20:
	lea	rdx, -22[rbp]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 50
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 51
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 52
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 53
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 54
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 55
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 56
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 57
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 84
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 74
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 81
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 75
	jne	.L3
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	cmp	al, 65
	je	.L4
.L3:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L5
.L4:
	mov	DWORD PTR -84[rbp], 1
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -22[rbp+rax]
	movsx	eax, al
	sub	eax, 50
	cmp	eax, 34
	ja	.L5
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L7[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L7[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L19-.L7
	.long	.L18-.L7
	.long	.L17-.L7
	.long	.L16-.L7
	.long	.L15-.L7
	.long	.L14-.L7
	.long	.L13-.L7
	.long	.L12-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L11-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L10-.L7
	.long	.L9-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L8-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L6-.L7
	.text
.L19:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 2
.L18:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 3
.L17:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 4
.L16:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 5
.L15:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 6
.L14:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 7
.L13:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 8
.L12:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 9
.L6:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 10
.L10:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 11
.L8:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 12
.L9:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 13
.L11:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 14
.L5:
	add	DWORD PTR -92[rbp], 1
	add	DWORD PTR -88[rbp], 1
.L2:
	cmp	DWORD PTR -88[rbp], 13
	jle	.L20
	mov	DWORD PTR -88[rbp], 1
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	edx, DWORD PTR -80[rbp+rax*4]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	cmp	edx, eax
	jle	.L22
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	mov	BYTE PTR -93[rbp], al
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -80[rbp+rax*4]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	edx, BYTE PTR -93[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
.L22:
	add	DWORD PTR -88[rbp], 1
.L21:
	cmp	DWORD PTR -88[rbp], 13
	jle	.L23
	cmp	DWORD PTR -84[rbp], 1
	jne	.L24
	mov	DWORD PTR -88[rbp], 1
	jmp	.L25
.L34:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	sub	eax, 10
	cmp	eax, 4
	ja	.L26
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L28[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L28[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L28:
	.long	.L32-.L28
	.long	.L31-.L28
	.long	.L30-.L28
	.long	.L29-.L28
	.long	.L27-.L28
	.text
.L32:
	mov	edi, 84
	call	putchar@PLT
	jmp	.L33
.L31:
	mov	edi, 74
	call	putchar@PLT
	jmp	.L33
.L30:
	mov	edi, 81
	call	putchar@PLT
	jmp	.L33
.L29:
	mov	edi, 75
	call	putchar@PLT
	jmp	.L33
.L27:
	mov	edi, 65
	call	putchar@PLT
	jmp	.L33
.L26:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L33:
	add	DWORD PTR -88[rbp], 1
.L25:
	cmp	DWORD PTR -88[rbp], 13
	jle	.L34
	jmp	.L35
.L24:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L35:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	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	"6388863.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"error\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 = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-92]
	mov	r3, #1
	str	r3, [fp, #-88]
	b	.L2
.L20:
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L38+4
	bl	__isoc99_scanf
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #50
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #51
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #52
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #53
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #54
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #55
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #56
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #84
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #74
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #81
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #75
	bne	.L3
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #65
	beq	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L5
.L4:
	mov	r3, #1
	str	r3, [fp, #-84]
	sub	r2, fp, #24
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #50
	cmp	r3, #34
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L11
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L10
	.word	.L9
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L8
	.word	.L5
	.word	.L5
	.word	.L6
.L19:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #2
	str	r2, [r3, #-76]
.L18:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #3
	str	r2, [r3, #-76]
.L17:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #4
	str	r2, [r3, #-76]
.L16:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #5
	str	r2, [r3, #-76]
.L15:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #6
	str	r2, [r3, #-76]
.L14:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #7
	str	r2, [r3, #-76]
.L13:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #8
	str	r2, [r3, #-76]
.L12:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #9
	str	r2, [r3, #-76]
.L6:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #10
	str	r2, [r3, #-76]
.L10:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #11
	str	r2, [r3, #-76]
.L8:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #12
	str	r2, [r3, #-76]
.L9:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #13
	str	r2, [r3, #-76]
.L11:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #14
	str	r2, [r3, #-76]
.L5:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L2:
	ldr	r3, [fp, #-88]
	cmp	r3, #13
	ble	.L20
	mov	r3, #1
	str	r3, [fp, #-88]
	b	.L21
.L23:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-76]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-76]
	cmp	r2, r3
	ble	.L22
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-76]
	strb	r3, [fp, #-93]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-76]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-76]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	ldrb	r2, [fp, #-93]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-76]
.L22:
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L21:
	ldr	r3, [fp, #-88]
	cmp	r3, #13
	ble	.L23
	ldr	r3, [fp, #-84]
	cmp	r3, #1
	bne	.L24
	mov	r3, #1
	str	r3, [fp, #-88]
	b	.L25
.L34:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-76]
	sub	r3, r3, #10
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L26
.L28:
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L29
	.word	.L27
.L32:
	mov	r0, #84
	bl	putchar
	b	.L33
.L31:
	mov	r0, #74
	bl	putchar
	b	.L33
.L30:
	mov	r0, #81
	bl	putchar
	b	.L33
.L29:
	mov	r0, #75
	bl	putchar
	b	.L33
.L27:
	mov	r0, #65
	bl	putchar
	b	.L33
.L26:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-76]
	mov	r1, r3
	ldr	r0, .L38+8
	bl	printf
	nop
.L33:
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L25:
	ldr	r3, [fp, #-88]
	cmp	r3, #13
	ble	.L34
	b	.L35
.L24:
	ldr	r0, .L38+12
	bl	puts
.L35:
	mov	r3, #0
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
