	.file	"68928.c"
	.intel_syntax noprefix
	.text
	.globl	p
	.bss
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.globl	a
	.align 32
	.type	a, @object
	.size	a, 5000
a:
	.zero	5000
	.globl	f
	.align 32
	.type	f, @object
	.size	f, 5000
f:
	.zero	5000
	.globl	b
	.type	b, @object
	.size	b, 1
b:
	.zero	1
	.globl	s
	.section	.data.rel.local,"aw"
	.align 8
	.type	s, @object
	.size	s, 8
s:
	.quad	f
	.section	.rodata
.LC0:
	.string	"UNBALANCED BRACKETS"
	.text
	.globl	interpret
	.type	interpret, @function
interpret:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	jmp	.L2
.L16:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 43
	cmp	eax, 50
	ja	.L2
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L6-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L5-.L4
	.long	.L2-.L4
	.long	.L3-.L4
	.text
.L6:
	mov	eax, DWORD PTR p[rip]
	lea	edx, 1[rax]
	movsx	rax, edx
	imul	rax, rax, 1759218605
	shr	rax, 32
	sar	eax, 11
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 5000
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR p[rip], eax
	jmp	.L2
.L10:
	mov	eax, DWORD PTR p[rip]
	movsx	rdx, eax
	lea	rcx, a[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	add	edx, 1
	mov	ecx, edx
	cdqe
	lea	rdx, a[rip]
	mov	BYTE PTR [rax+rdx], cl
	jmp	.L2
.L8:
	mov	eax, DWORD PTR p[rip]
	movsx	rdx, eax
	lea	rcx, a[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	sub	edx, 1
	mov	ecx, edx
	cdqe
	lea	rdx, a[rip]
	mov	BYTE PTR [rax+rdx], cl
	jmp	.L2
.L7:
	mov	eax, DWORD PTR p[rip]
	cdqe
	lea	rdx, a[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L2
.L9:
	call	getchar@PLT
	mov	edx, eax
	mov	eax, DWORD PTR p[rip]
	mov	ecx, edx
	cdqe
	lea	rdx, a[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L2
.L5:
	mov	BYTE PTR b[rip], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	sete	al
	mov	edx, eax
	movzx	eax, BYTE PTR b[rip]
	add	eax, edx
	mov	BYTE PTR b[rip], al
	movzx	eax, BYTE PTR b[rip]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	sete	al
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	BYTE PTR b[rip], al
	add	QWORD PTR -24[rbp], 1
.L11:
	movzx	eax, BYTE PTR b[rip]
	test	al, al
	je	.L12
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L13
.L12:
	movzx	eax, BYTE PTR b[rip]
	test	al, al
	jne	.L3
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, 1
	mov	BYTE PTR [rax], 0
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	interpret
.L14:
	mov	eax, DWORD PTR p[rip]
	cdqe
	lea	rdx, a[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L15
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, 1
	mov	BYTE PTR [rax], 93
	jmp	.L2
.L3:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L16
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	interpret, .-interpret
	.section	.rodata
.LC1:
	.string	"No file given."
.LC2:
	.string	"r"
.LC3:
	.string	"Can't open the file."
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jg	.L18
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L21
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L19
.L22:
	mov	rax, QWORD PTR s[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR s[rip], rdx
	movzx	edx, BYTE PTR b[rip]
	mov	BYTE PTR [rax], dl
.L21:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR b[rip], al
	movzx	eax, BYTE PTR b[rip]
	test	al, al
	jg	.L22
	mov	rax, QWORD PTR s[rip]
	mov	BYTE PTR [rax], 0
	lea	rdi, f[rip]
	call	interpret
	mov	eax, 0
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"68928.c"
	.text
	.comm	p,4,4
	.comm	a,5000,4
	.comm	f,5000,4
	.comm	b,1,1
	.global	s
	.data
	.align	2
	.type	s, %object
	.size	s, 4
s:
	.word	f
	.section	.rodata
	.align	2
.LC0:
	.ascii	"UNBALANCED BRACKETS\000"
	.text
	.align	2
	.global	interpret
	.syntax unified
	.arm
	.fpu softvfp
	.type	interpret, %function
interpret:
	@ 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]
	b	.L2
.L16:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #43
	cmp	r3, #50
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L6
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L5
	.word	.L2
	.word	.L3
.L6:
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r3, .L17+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #11
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	ldr	r3, .L17
	str	r2, [r3]
	b	.L2
.L10:
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, .L17+8
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r1, r2, #255
	ldr	r2, .L17+8
	strb	r1, [r2, r3]
	b	.L2
.L8:
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, .L17+8
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	sub	r2, r2, #1
	and	r1, r2, #255
	ldr	r2, .L17+8
	strb	r1, [r2, r3]
	b	.L2
.L7:
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, .L17+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, .L17+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L2
.L9:
	bl	getchar
	mov	r2, r0
	ldr	r3, .L17
	ldr	r3, [r3]
	and	r1, r2, #255
	ldr	r2, .L17+8
	strb	r1, [r2, r3]
	ldr	r3, .L17+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L2
.L5:
	ldr	r3, .L17+16
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L11
.L13:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L17+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, .L17+16
	strb	r2, [r3]
	ldr	r3, .L17+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #93
	moveq	r2, #1
	movne	r2, #0
	and	r2, r2, #255
	sub	r3, r3, r2
	and	r2, r3, #255
	ldr	r3, .L17+16
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L11:
	ldr	r3, .L17+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
.L12:
	ldr	r3, .L17+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	b	.L14
.L15:
	ldr	r0, [fp, #-8]
	bl	interpret
.L14:
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, .L17+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r2, #93
	strb	r2, [r3]
	b	.L2
.L3:
	ldr	r0, .L17+20
	bl	puts
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L16
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	p
	.word	1759218605
	.word	a
	.word	stdout
	.word	b
	.word	.LC0
	.size	interpret, .-interpret
	.section	.rodata
	.align	2
.LC1:
	.ascii	"No file given.\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"Can't open the file.\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bgt	.L20
	ldr	r0, .L25
	bl	puts
	mov	r3, #1
	b	.L21
.L20:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L25+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L23
	ldr	r0, .L25+8
	bl	puts
	mov	r3, #1
	b	.L21
.L24:
	ldr	r3, .L25+12
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L25+12
	str	r2, [r1]
	ldr	r2, .L25+16
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L23:
	ldr	r0, [fp, #-8]
	bl	getc
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, .L25+16
	strb	r2, [r3]
	ldr	r3, .L25+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L24
	ldr	r3, .L25+12
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, .L25+20
	bl	interpret
	mov	r3, #0
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	s
	.word	b
	.word	f
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
