	.file	"730325.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"rb"
	.align 8
.LC1:
	.string	"Opa, temos um probela ao abrir o arquivo "
.LC2:
	.string	"."
	.text
	.globl	carregaAutomato
	.type	carregaAutomato, @function
carregaAutomato:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1852400174
	mov	BYTE PTR 4[rax], 0
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L3
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
.L3:
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 16
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, rax
	lea	rax, .LC2[rip]
	cmp	rdx, rax
	jne	.L4
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	carregaAutomato, .-carregaAutomato
	.globl	localizaEstado
	.type	localizaEstado, @function
localizaEstado:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 64
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	QWORD PTR -80[rbp], rcx
	mov	eax, r8d
	mov	BYTE PTR -72[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	rdx, rax
	mov	r12, rdx
	mov	r13d, 0
	mov	rdx, rax
	mov	r10, rdx
	mov	r11d, 0
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L8:
	cmp	rsp, rdx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L10
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -32[rbp], rax
	cmp	BYTE PTR -72[rbp], 48
	jne	.L11
	mov	DWORD PTR -44[rbp], 0
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -44[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -44[rbp], 1
.L12:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	cmp	QWORD PTR -80[rbp], rax
	ja	.L13
	jmp	.L14
.L11:
	cmp	BYTE PTR -72[rbp], 49
	jne	.L14
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	cdqe
	jmp	.L15
.L14:
	mov	eax, 0
.L15:
	mov	rsp, rsi
	mov	rdi, QWORD PTR -24[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	localizaEstado, .-localizaEstado
	.globl	avaliaTransicao
	.type	avaliaTransicao, @function
avaliaTransicao:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	eax, ecx
	mov	BYTE PTR -40[rbp], al
	mov	rcx, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, 49
	mov	rdi, rax
	call	localizaEstado
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	nop
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	cmp	QWORD PTR -32[rbp], rax
	jle	.L23
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L20
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 8[rax]
	movsx	eax, BYTE PTR -40[rbp]
	cmp	edx, eax
	jne	.L20
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	jmp	.L18
.L20:
	mov	eax, -1
	jmp	.L18
.L23:
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	avaliaTransicao, .-avaliaTransicao
	.section	.rodata
	.align 8
.LC3:
	.string	"%s, - (erro de reconhecimento)\n"
.LC4:
	.string	"%s, - (reconhecida)\n"
.LC5:
	.string	"%s, - (nao reconhecida)\n"
	.text
	.globl	gravaStatus
	.type	gravaStatus, @function
gravaStatus:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, edx
	mov	BYTE PTR -20[rbp], al
	cmp	BYTE PTR -20[rbp], 47
	jne	.L25
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L28
.L25:
	cmp	BYTE PTR -20[rbp], 48
	jne	.L27
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L28
.L27:
	cmp	BYTE PTR -20[rbp], 49
	jne	.L28
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L28:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	gravaStatus, .-gravaStatus
	.globl	reconhece
	.type	reconhece, @function
reconhece:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L30
.L32:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	avaliaTransicao
	cmp	eax, -1
	jne	.L31
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 49
	mov	rsi, rcx
	mov	rdi, rax
	call	gravaStatus
	mov	DWORD PTR -20[rbp], 1
.L31:
	add	DWORD PTR -24[rbp], 1
.L30:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L32
	cmp	DWORD PTR -20[rbp], 0
	jne	.L33
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 48
	mov	rsi, rcx
	mov	rdi, rax
	call	gravaStatus
	jmp	.L35
.L33:
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 49
	mov	rsi, rcx
	mov	rdi, rax
	call	gravaStatus
.L35:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	reconhece, .-reconhece
	.section	.rodata
.LC6:
	.string	"Digite o nome do arquivo: "
.LC7:
	.string	" %50[^\n]"
	.align 8
.LC8:
	.string	"Digite os automatos seguintes:"
.LC9:
	.string	"w"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -204[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -200[rbp]
	lea	rax, -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	carregaAutomato
	mov	QWORD PTR -192[rbp], rax
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -176[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -176[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1954051118
	mov	BYTE PTR 4[rax], 0
	lea	rax, -176[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -184[rbp], rax
	jmp	.L37
.L38:
	mov	rax, QWORD PTR -200[rbp]
	add	rax, 1
	mov	QWORD PTR -200[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -192[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -204[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -204[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -200[rbp]
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rcx
	mov	BYTE PTR 12[rax], dl
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	mov	rdx, QWORD PTR -200[rbp]
	mov	rcx, rdx
	sal	rcx, 4
	mov	rdx, QWORD PTR -192[rbp]
	add	rdx, rcx
	movsx	eax, al
	mov	DWORD PTR 8[rdx], eax
	mov	rdx, QWORD PTR -200[rbp]
	lea	rcx, -112[rbp]
	mov	rsi, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	reconhece
	add	DWORD PTR -204[rbp], 1
.L37:
	lea	rax, -112[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L38
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"730325.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	".bin\000"
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"Opa, temos um probela ao abrir o arquivo \000"
	.align	2
.LC3:
	.ascii	".\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	carregaAutomato
	.syntax unified
	.arm
	.fpu softvfp
	.type	carregaAutomato, %function
carregaAutomato:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldr	r2, .L7+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-40]
	ldr	r1, .L7+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L7+12
	bl	puts
	mvn	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	realloc
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	ip, r3
	sub	r3, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L3:
	sub	r0, fp, #24
	ldr	r3, [fp, #-28]
	mov	r2, #1
	mov	r1, #16
	bl	fread
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L7+16
	cmp	r2, r3
	bne	.L4
	ldr	r0, [fp, #-28]
	bl	fclose
	ldr	r3, [fp, #-32]
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	carregaAutomato, .-carregaAutomato
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	localizaEstado
	.syntax unified
	.arm
	.fpu softvfp
	.type	localizaEstado, %function
localizaEstado:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, sp
	mov	lr, r3
	ldr	ip, [fp, #-28]
	sub	r3, ip, #1
	str	r3, [fp, #-16]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L10
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L11
.L12:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-20]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L11:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bhi	.L12
	b	.L13
.L10:
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L13
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	b	.L14
.L13:
	mov	r3, #0
.L14:
	mov	sp, lr
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC5
	.size	localizaEstado, .-localizaEstado
	.align	2
	.global	avaliaTransicao
	.syntax unified
	.arm
	.fpu softvfp
	.type	avaliaTransicao, %function
avaliaTransicao:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-20]
	mov	r2, #49
	str	r2, [sp]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	localizaEstado
	str	r0, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L20
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L21
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3, #8]
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L21
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	b	.L19
.L21:
	mvn	r3, #0
	b	.L19
.L20:
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	avaliaTransicao, .-avaliaTransicao
	.section	.rodata
	.align	2
.LC6:
	.ascii	"%s, - (erro de reconhecimento)\012\000"
	.align	2
.LC7:
	.ascii	"%s, - (reconhecida)\012\000"
	.align	2
.LC8:
	.ascii	"%s, - (nao reconhecida)\012\000"
	.text
	.align	2
	.global	gravaStatus
	.syntax unified
	.arm
	.fpu softvfp
	.type	gravaStatus, %function
gravaStatus:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r3, r2
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L24
	ldr	r2, [fp, #-12]
	ldr	r1, .L28
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	b	.L27
.L24:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L26
	ldr	r2, [fp, #-12]
	ldr	r1, .L28+4
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	b	.L27
.L26:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L27
	ldr	r2, [fp, #-12]
	ldr	r1, .L28+8
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
.L27:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	gravaStatus, .-gravaStatus
	.align	2
	.global	reconhece
	.syntax unified
	.arm
	.fpu softvfp
	.type	reconhece, %function
reconhece:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L31
.L33:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, #0
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	avaliaTransicao
	mov	r3, r0
	cmn	r3, #1
	bne	.L32
	mov	r2, #49
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	gravaStatus
	mov	r3, #1
	str	r3, [fp, #-8]
.L32:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L31:
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bhi	.L33
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L34
	mov	r2, #48
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	gravaStatus
	b	.L36
.L34:
	mov	r2, #49
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	gravaStatus
.L36:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	reconhece, .-reconhece
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Digite o nome do arquivo: \000"
	.align	2
.LC10:
	.ascii	" %50[^\012]\000"
	.align	2
.LC11:
	.ascii	"Digite os automatos seguintes:\000"
	.align	2
.LC12:
	.ascii	".txt\000"
	.align	2
.LC13:
	.ascii	"w\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-172]
	mov	r3, #0
	str	r3, [fp, #-176]
	mov	r3, #0
	str	r3, [fp, #-108]
	sub	r3, fp, #104
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-168]
	mov	r3, #0
	str	r3, [fp, #-164]
	ldr	r0, .L42+4
	bl	printf
	sub	r3, fp, #160
	mov	r1, r3
	ldr	r0, .L42+8
	bl	__isoc99_scanf
	sub	r2, fp, #176
	sub	r3, fp, #160
	mov	r1, r2
	mov	r0, r3
	bl	carregaAutomato
	str	r0, [fp, #-172]
	ldr	r0, .L42+12
	bl	puts
	sub	r3, fp, #160
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #160
	add	r3, r3, r2
	ldr	r2, .L42+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #160
	ldr	r1, .L42+20
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-164]
	b	.L38
.L39:
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-172]
	bl	realloc
	str	r0, [fp, #-172]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldr	r2, [fp, #-168]
	str	r2, [r3]
	ldr	r3, [fp, #-168]
	and	r2, r3, #255
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-172]
	add	r3, r1, r3
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3, #12]
	sub	r2, fp, #108
	ldr	r3, [fp, #-168]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	mov	r2, r1
	str	r2, [r3, #8]
	ldr	r2, [fp, #-176]
	sub	r3, fp, #108
	ldr	r1, [fp, #-172]
	ldr	r0, [fp, #-164]
	bl	reconhece
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	str	r3, [fp, #-168]
.L38:
	sub	r3, fp, #108
	mov	r1, #1
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r0, [fp, #-164]
	bl	fclose
	ldr	r0, [fp, #-172]
	bl	free
	mov	r3, #0
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC14
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
