	.file	"206913.c"
	.intel_syntax noprefix
	.text
	.globl	isValid
	.type	isValid, @function
isValid:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L2
.L9:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 40
	je	.L3
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	je	.L3
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 123
	jne	.L4
.L3:
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -44[rbp], edx
	mov	rdx, QWORD PTR -40[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -32[rbp+rax], dl
.L4:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 41
	jne	.L5
	sub	DWORD PTR -44[rbp], 1
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	cmp	al, 40
	je	.L5
	mov	eax, 0
	jmp	.L11
.L5:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	jne	.L7
	sub	DWORD PTR -44[rbp], 1
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	cmp	al, 91
	je	.L7
	mov	eax, 0
	jmp	.L11
.L7:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 125
	jne	.L8
	sub	DWORD PTR -44[rbp], 1
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	cmp	al, 123
	je	.L8
	mov	eax, 0
	jmp	.L11
.L8:
	add	QWORD PTR -40[rbp], 1
.L2:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L9
	cmp	DWORD PTR -44[rbp], 0
	je	.L10
	mov	eax, 0
	jmp	.L11
.L10:
	mov	eax, 1
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	isValid, .-isValid
	.section	.rodata
.LC0:
	.string	"(){}[]"
.LC1:
	.string	"true"
.LC2:
	.string	"false"
.LC3:
	.string	"(})"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	isValid
	test	al, al
	je	.L14
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L15
.L14:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L15:
	lea	rdi, .LC3[rip]
	call	isValid
	test	al, al
	je	.L16
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L17
.L16:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L17:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"206913.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isValid
	.syntax unified
	.arm
	.fpu softvfp
	.type	isValid, %function
isValid:
	@ 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]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L2
.L9:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L3
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	beq	.L3
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #123
	bne	.L4
.L3:
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-20]
.L4:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L5
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	sub	r2, fp, #24
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L5
	mov	r3, #0
	b	.L11
.L5:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L7
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	sub	r2, fp, #24
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	beq	.L7
	mov	r3, #0
	b	.L11
.L7:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #125
	bne	.L8
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	sub	r2, fp, #24
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #123
	beq	.L8
	mov	r3, #0
	b	.L11
.L8:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L10
	mov	r3, #0
	b	.L11
.L10:
	mov	r3, #1
.L11:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	isValid, .-isValid
	.section	.rodata
	.align	2
.LC1:
	.ascii	"(){}[]\000"
	.align	2
.LC2:
	.ascii	"true\000"
	.align	2
.LC3:
	.ascii	"false\000"
	.align	2
.LC4:
	.ascii	"(})\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L21
	bl	isValid
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r0, .L21+4
	bl	puts
	b	.L17
.L16:
	ldr	r0, .L21+8
	bl	puts
.L17:
	ldr	r0, .L21+12
	bl	isValid
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L21+4
	bl	puts
	b	.L19
.L18:
	ldr	r0, .L21+8
	bl	puts
.L19:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
