	.file	"608281.c"
	.intel_syntax noprefix
	.text
	.globl	inicializar
	.type	inicializar, @function
inicializar:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	inicializar, .-inicializar
	.globl	vazia
	.type	vazia, @function
vazia:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	sete	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	vazia, .-vazia
	.globl	push
	.type	push, @function
push:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -28[rbp], al
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L5
	mov	eax, 0
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR -28[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, 1
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	push, .-push
	.globl	pop
	.type	pop, @function
pop:
.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 -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -9[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	movzx	eax, BYTE PTR -9[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	pop, .-pop
	.section	.rodata
.LC0:
	.string	"{[("
.LC1:
	.string	")]}"
.LC2:
	.string	"Valido"
.LC3:
	.string	"Invalido"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -108[rbp], 0
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -64[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	inicializar
	mov	DWORD PTR -104[rbp], 0
	jmp	.L10
.L20:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L11
.L17:
	mov	DWORD PTR -108[rbp], 0
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	edx, BYTE PTR -64[rbp+rax]
	mov	eax, DWORD PTR -100[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L12
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	movsx	edx, al
	lea	rax, -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	push
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	edx, BYTE PTR -64[rbp+rax]
	mov	eax, DWORD PTR -100[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L13
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	pop
	mov	BYTE PTR -109[rbp], al
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 93
	jne	.L14
	cmp	BYTE PTR -109[rbp], 91
	jne	.L15
	mov	DWORD PTR -108[rbp], 1
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 41
	jne	.L16
	cmp	BYTE PTR -109[rbp], 40
	jne	.L15
	mov	DWORD PTR -108[rbp], 1
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 125
	jne	.L15
	cmp	BYTE PTR -109[rbp], 123
	jne	.L15
	mov	DWORD PTR -108[rbp], 1
.L15:
	cmp	DWORD PTR -108[rbp], 0
	jne	.L13
	movsx	edx, BYTE PTR -109[rbp]
	lea	rax, -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	push
	mov	DWORD PTR -100[rbp], 4
	mov	eax, DWORD PTR -104[rbp]
	add	eax, 1
	cdqe
	mov	BYTE PTR -64[rbp+rax], 0
.L13:
	add	DWORD PTR -100[rbp], 1
.L11:
	cmp	DWORD PTR -100[rbp], 2
	jle	.L17
	cmp	DWORD PTR -100[rbp], 4
	je	.L25
	add	DWORD PTR -104[rbp], 1
.L10:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	test	al, al
	jne	.L20
	jmp	.L19
.L25:
	nop
.L19:
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	vazia
	cmp	eax, 1
	jne	.L21
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L22
.L21:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L22:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"608281.c"
	.text
	.align	2
	.global	inicializar
	.syntax unified
	.arm
	.fpu softvfp
	.type	inicializar, %function
inicializar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	inicializar, .-inicializar
	.align	2
	.global	vazia
	.syntax unified
	.arm
	.fpu softvfp
	.type	vazia, %function
vazia:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	vazia, .-vazia
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ 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, #-16]
	mov	r3, r1
	strb	r3, [fp, #-17]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L5
	mov	r3, #0
	b	.L6
.L5:
	ldr	r3, [fp, #-8]
	ldrb	r2, [fp, #-17]
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	mov	r3, #1
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	push, .-push
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ 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, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-8]
	bl	free
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pop, .-pop
	.section	.rodata
	.align	2
.LC0:
	.ascii	"{[(\000"
	.align	2
.LC1:
	.ascii	")]}\000"
	.align	2
.LC2:
	.ascii	"Valido\000"
	.align	2
.LC3:
	.ascii	"Invalido\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L26+4
	str	r3, [fp, #-76]
	ldr	r3, .L26+8
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-88]
	ldr	r3, .L26+12
	ldr	r2, [r3]
	sub	r3, fp, #60
	mov	r1, #50
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #68
	mov	r0, r3
	bl	inicializar
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L10
.L20:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L11
.L17:
	mov	r3, #0
	str	r3, [fp, #-88]
	sub	r2, fp, #60
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-80]
	ldr	r1, [fp, #-76]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L12
	sub	r2, fp, #60
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	push
	b	.L13
.L12:
	sub	r2, fp, #60
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-80]
	ldr	r1, [fp, #-72]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L13
	sub	r3, fp, #68
	mov	r0, r3
	bl	pop
	mov	r3, r0
	strb	r3, [fp, #-89]
	sub	r2, fp, #60
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L14
	ldrb	r3, [fp, #-89]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L15
	mov	r3, #1
	str	r3, [fp, #-88]
	b	.L15
.L14:
	sub	r2, fp, #60
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L16
	ldrb	r3, [fp, #-89]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L15
	mov	r3, #1
	str	r3, [fp, #-88]
	b	.L15
.L16:
	sub	r2, fp, #60
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #125
	bne	.L15
	ldrb	r3, [fp, #-89]	@ zero_extendqisi2
	cmp	r3, #123
	bne	.L15
	mov	r3, #1
	str	r3, [fp, #-88]
.L15:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L13
	ldrb	r2, [fp, #-89]	@ zero_extendqisi2
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	push
	mov	r3, #4
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-56]
.L13:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L11:
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	ble	.L17
	ldr	r3, [fp, #-80]
	cmp	r3, #4
	beq	.L25
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L10:
	sub	r2, fp, #60
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	b	.L19
.L25:
	nop
.L19:
	sub	r3, fp, #68
	mov	r0, r3
	bl	vazia
	mov	r3, r0
	cmp	r3, #1
	bne	.L21
	ldr	r0, .L26+16
	bl	puts
	b	.L22
.L21:
	ldr	r0, .L26+20
	bl	puts
.L22:
	mov	r3, #0
	ldr	r2, .L26
	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}
.L27:
	.align	2
.L26:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	stdin
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
