	.file	"380956.c"
	.intel_syntax noprefix
	.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	readFile
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC0:
	.string	"r"
	.align 8
.LC1:
	.string	"Error while opening the file.\n"
.LC2:
	.string	"^[1-9]+"
.LC3:
	.string	"^([1-9]+)[0-9]*$"
.LC4:
	.string	"inum "
.LC5:
	.string	"^[1-9]+.[0-9]+"
.LC6:
	.string	"fnum "
.LC7:
	.string	"[a-e|g-h|j-o|q-z]"
.LC8:
	.string	"id "
.LC9:
	.string	"[p]"
.LC10:
	.string	"print "
.LC11:
	.string	"[f]"
.LC12:
	.string	"floatdcl "
.LC13:
	.string	"[i]"
.LC14:
	.string	"intdcl "
.LC15:
	.string	"[+]"
.LC16:
	.string	"sum "
.LC17:
	.string	"[*]"
.LC18:
	.string	"mult "
.LC19:
	.string	"[=]"
.LC20:
	.string	"assign "
.LC21:
	.string	"[-]"
.LC22:
	.string	"substraction "
.LC23:
	.string	"[/]"
.LC24:
	.string	"division "
	.text
	.globl	readFile
	.type	readFile, @function
readFile:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	QWORD PTR -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -200[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -184[rbp], rax
	cmp	QWORD PTR -184[rbp], 0
	jne	.L4
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	DWORD PTR -188[rbp], 0
	jmp	.L5
.L23:
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 47
	jne	.L6
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 47
	sete	al
	mov	BYTE PTR -176[rbp], al
	movzx	eax, BYTE PTR -176[rbp]
	test	al, al
	je	.L6
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -176[rbp], al
.L7:
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 10
	jne	.L8
	jmp	.L5
.L6:
	lea	rax, -176[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L9
	jmp	.L10
.L12:
	movzx	edx, BYTE PTR -176[rbp]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], dl
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -176[rbp], al
	add	DWORD PTR -188[rbp], 1
.L10:
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 32
	je	.L11
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 10
	jne	.L12
.L11:
	lea	rax, -112[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L13
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L14
.L13:
	lea	rax, -112[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L14
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -112[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -188[rbp], 0
	jmp	.L5
.L9:
	lea	rax, -176[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L15
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L15:
	lea	rax, -176[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L16
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L16:
	lea	rax, -176[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L17
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L17:
	lea	rax, -176[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L18
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L18:
	lea	rax, -176[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L19
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L19:
	lea	rax, -176[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L20
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L20:
	lea	rax, -176[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L21
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L21:
	lea	rax, -176[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L22
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L22:
	lea	rax, -176[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	match
	cmp	eax, 1
	jne	.L5
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -176[rbp], al
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, -1
	jne	.L23
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	readFile, .-readFile
	.globl	match
	.type	match, @function
match:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rcx, QWORD PTR -112[rbp]
	lea	rax, -80[rbp]
	mov	edx, 9
	mov	rsi, rcx
	mov	rdi, rax
	call	regcomp@PLT
	test	eax, eax
	je	.L27
	mov	eax, 0
	jmp	.L30
.L27:
	mov	rsi, QWORD PTR -104[rbp]
	lea	rax, -80[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	regexec@PLT
	mov	DWORD PTR -84[rbp], eax
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	regfree@PLT
	cmp	DWORD PTR -84[rbp], 0
	je	.L29
	mov	eax, 0
	jmp	.L30
.L29:
	mov	eax, 1
.L30:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	match, .-match
	.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	"380956.c"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	readFile
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"Error while opening the file.\012\000"
	.align	2
.LC2:
	.ascii	"^[1-9]+\000"
	.align	2
.LC3:
	.ascii	"^([1-9]+)[0-9]*$\000"
	.align	2
.LC4:
	.ascii	"inum \000"
	.align	2
.LC5:
	.ascii	"^[1-9]+.[0-9]+\000"
	.align	2
.LC6:
	.ascii	"fnum \000"
	.align	2
.LC7:
	.ascii	"[a-e|g-h|j-o|q-z]\000"
	.align	2
.LC8:
	.ascii	"id \000"
	.align	2
.LC9:
	.ascii	"[p]\000"
	.align	2
.LC10:
	.ascii	"print \000"
	.align	2
.LC11:
	.ascii	"[f]\000"
	.align	2
.LC12:
	.ascii	"floatdcl \000"
	.align	2
.LC13:
	.ascii	"[i]\000"
	.align	2
.LC14:
	.ascii	"intdcl \000"
	.align	2
.LC15:
	.ascii	"[+]\000"
	.align	2
.LC16:
	.ascii	"sum \000"
	.align	2
.LC17:
	.ascii	"[*]\000"
	.align	2
.LC18:
	.ascii	"mult \000"
	.align	2
.LC19:
	.ascii	"[=]\000"
	.align	2
.LC20:
	.ascii	"assign \000"
	.align	2
.LC21:
	.ascii	"[-]\000"
	.align	2
.LC22:
	.ascii	"substraction \000"
	.align	2
.LC23:
	.ascii	"[/]\000"
	.align	2
.LC24:
	.ascii	"division \000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	readFile, %function
readFile:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L26+4
	ldr	r0, [fp, #-152]
	bl	fopen
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L26+8
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L5
.L25:
	ldr	r0, [fp, #-144]
	bl	fgetc
	mov	r3, r0
	cmp	r3, #47
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	strb	r3, [fp, #-140]
	ldrb	r3, [fp, #-140]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	b	.L7
.L8:
	ldr	r0, [fp, #-144]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	strb	r3, [fp, #-140]
.L7:
	ldrb	r3, [fp, #-140]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L8
	b	.L5
.L6:
	sub	r3, fp, #140
	ldr	r1, .L26+12
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L9
	b	.L10
.L12:
	ldrb	r1, [fp, #-140]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-148]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r0, [fp, #-144]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	strb	r3, [fp, #-140]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L10:
	ldrb	r3, [fp, #-140]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L11
	ldrb	r3, [fp, #-140]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L12
.L11:
	sub	r3, fp, #108
	ldr	r1, .L26+16
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L13
	ldr	r0, .L26+20
	bl	printf
	b	.L14
.L13:
	sub	r3, fp, #108
	ldr	r1, .L26+24
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L14
	ldr	r0, .L26+28
	bl	printf
.L14:
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #108
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L5
.L9:
	sub	r3, fp, #140
	ldr	r1, .L26+32
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L15
	ldr	r0, .L26+36
	bl	printf
	b	.L5
.L15:
	sub	r3, fp, #140
	ldr	r1, .L26+40
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L16
	ldr	r0, .L26+44
	bl	printf
	b	.L5
.L16:
	sub	r3, fp, #140
	ldr	r1, .L26+48
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L17
	ldr	r0, .L26+52
	bl	printf
	b	.L5
.L17:
	sub	r3, fp, #140
	ldr	r1, .L26+56
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L18
	ldr	r0, .L26+60
	bl	printf
	b	.L5
.L18:
	sub	r3, fp, #140
	ldr	r1, .L26+64
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L19
	ldr	r0, .L26+68
	bl	printf
	b	.L5
.L19:
	sub	r3, fp, #140
	ldr	r1, .L26+72
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L20
	ldr	r0, .L26+76
	bl	printf
	b	.L5
.L20:
	sub	r3, fp, #140
	ldr	r1, .L26+80
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L21
	ldr	r0, .L26+84
	bl	printf
	b	.L5
.L21:
	sub	r3, fp, #140
	ldr	r1, .L26+88
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L22
	ldr	r0, .L26+92
	bl	printf
	b	.L5
.L22:
	sub	r3, fp, #140
	ldr	r1, .L26+96
	mov	r0, r3
	bl	match
	mov	r3, r0
	cmp	r3, #1
	bne	.L5
	ldr	r0, .L26+100
	bl	printf
.L5:
	ldr	r0, [fp, #-144]
	bl	fgetc
	mov	r3, r0
	and	r3, r3, #255
	strb	r3, [fp, #-140]
	ldrb	r3, [fp, #-140]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L6
	b	.L25
.L27:
	.align	2
.L26:
	.word	.LC25
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	readFile, .-readFile
	.section	.rodata
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	match
	.syntax unified
	.arm
	.fpu softvfp
	.type	match, %function
match:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #40
	mov	r2, #9
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	regcomp
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	mov	r3, #0
	b	.L32
.L29:
	sub	r0, fp, #40
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-48]
	bl	regexec
	str	r0, [fp, #-44]
	sub	r3, fp, #40
	mov	r0, r3
	bl	regfree
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L31
	mov	r3, #0
	b	.L32
.L31:
	mov	r3, #1
.L32:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC26
	.size	match, .-match
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
