	.file	"698330.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/698330.c"
.LC1:
	.string	"string"
	.align 8
.LC2:
	.string	"strlen(string) < sizeof stack.data"
	.text
	.type	isBalancedParentheses, @function
isBalancedParentheses:
.LFB0:
	.cfi_startproc
	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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L2
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 9
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	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	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 63
	jbe	.L3
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 17
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L3:
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -96[rbp], rax
	jmp	.L4
.L13:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 125
	je	.L5
	cmp	eax, 125
	jg	.L6
	cmp	eax, 123
	je	.L7
	cmp	eax, 123
	jg	.L6
	cmp	eax, 93
	je	.L5
	cmp	eax, 93
	jg	.L6
	cmp	eax, 91
	je	.L7
	cmp	eax, 91
	jg	.L6
	cmp	eax, 40
	je	.L7
	cmp	eax, 41
	je	.L5
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -80[rbp], rdx
	mov	rdx, QWORD PTR -96[rbp]
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR -72[rbp+rax], dl
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 41
	jne	.L8
	mov	eax, 1
	jmp	.L9
.L8:
	mov	eax, 2
.L9:
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR -72[rbp+rax]
	movsx	rdx, al
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	cmp	rdx, rax
	jne	.L10
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	BYTE PTR -72[rbp+rax], 0
	jmp	.L6
.L10:
	mov	eax, 0
	jmp	.L14
.L6:
	add	QWORD PTR -96[rbp], 1
.L4:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L12
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L13
.L12:
	mov	rax, QWORD PTR -80[rbp]
	test	rax, rax
	sete	al
.L14:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	isBalancedParentheses, .-isBalancedParentheses
	.section	.rodata
	.align 8
.LC3:
	.string	"argc >= 2 && \"Expecting at least one command-line argument.\""
.LC4:
	.string	"r"
	.align 8
.LC5:
	.string	"inputStream && \"Failed to open input stream.\""
.LC6:
	.string	"True"
.LC7:
	.string	"False"
	.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
	sub	rsp, 304
	mov	DWORD PTR -292[rbp], edi
	mov	QWORD PTR -304[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -292[rbp], 1
	jg	.L17
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 51
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L17:
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 128
	mov	edx, 0
	lea	rsi, stdoutBuffer.1[rip]
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR -304[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L18
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 60
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L18:
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[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
	jmp	.L19
.L22:
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	isBalancedParentheses
	test	al, al
	je	.L20
	lea	rax, .LC6[rip]
	jmp	.L21
.L20:
	lea	rax, .LC7[rip]
.L21:
	mov	rdi, rax
	call	puts@PLT
.L19:
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L22
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 5
__PRETTY_FUNCTION__.2:
	.string	"main"
	.local	stdoutBuffer.1
	.comm	stdoutBuffer.1,128,32
	.align 16
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 22
__PRETTY_FUNCTION__.0:
	.string	"isBalancedParentheses"
	.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	"698330.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/698330.c\000"
	.align	2
.LC1:
	.ascii	"string\000"
	.align	2
.LC2:
	.ascii	"strlen(string) < sizeof stack.data\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	isBalancedParentheses, %function
isBalancedParentheses:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L16+4
	mov	r2, #9
	ldr	r1, .L16+8
	ldr	r0, .L16+12
	bl	__assert_fail
.L2:
	sub	r3, fp, #76
	mov	r2, #68
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, [fp, #-88]
	bl	strlen
	mov	r3, r0
	cmp	r3, #63
	bls	.L3
	ldr	r3, .L16+4
	mov	r2, #17
	ldr	r1, .L16+8
	ldr	r0, .L16+16
	bl	__assert_fail
.L3:
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-84]
	b	.L4
.L13:
	ldr	r3, [fp, #-84]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #125
	beq	.L5
	cmp	r3, #125
	bgt	.L6
	cmp	r3, #123
	beq	.L7
	cmp	r3, #123
	bgt	.L6
	cmp	r3, #93
	beq	.L5
	cmp	r3, #93
	bgt	.L6
	cmp	r3, #91
	beq	.L7
	cmp	r3, #91
	bgt	.L6
	cmp	r3, #40
	beq	.L7
	cmp	r3, #41
	beq	.L5
	b	.L6
.L7:
	ldr	r3, [fp, #-76]
	add	r2, r3, #1
	str	r2, [fp, #-76]
	ldr	r2, [fp, #-84]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-68]
	b	.L6
.L5:
	ldr	r3, [fp, #-84]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L8
	mov	r3, #1
	b	.L9
.L8:
	mov	r3, #2
.L9:
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-76]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-68]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldr	r2, [fp, #-84]
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L10
	ldr	r3, [fp, #-76]
	sub	r3, r3, #1
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-68]
	b	.L6
.L10:
	mov	r3, #0
	b	.L14
.L6:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L4:
	ldr	r3, [fp, #-84]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-84]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L13
.L12:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
.L14:
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	__PRETTY_FUNCTION__.4801
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	isBalancedParentheses, .-isBalancedParentheses
	.section	.rodata
	.align	2
.LC4:
	.ascii	"argc >= 2 && \"Expecting at least one command-line "
	.ascii	"argument.\"\000"
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"inputStream && \"Failed to open input stream.\"\000"
	.align	2
.LC7:
	.ascii	"True\000"
	.align	2
.LC8:
	.ascii	"False\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	str	r1, [fp, #-276]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-272]
	cmp	r3, #1
	bgt	.L19
	ldr	r3, .L27+4
	mov	r2, #51
	ldr	r1, .L27+8
	ldr	r0, .L27+12
	bl	__assert_fail
.L19:
	ldr	r3, .L27+16
	ldr	r0, [r3]
	mov	r3, #128
	mov	r2, #0
	ldr	r1, .L27+20
	bl	setvbuf
	ldr	r3, [fp, #-276]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L27+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L27+4
	mov	r2, #60
	ldr	r1, .L27+8
	ldr	r0, .L27+28
	bl	__assert_fail
.L20:
	mov	r3, #0
	str	r3, [fp, #-264]
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L21
.L24:
	sub	r3, fp, #264
	mov	r0, r3
	bl	isBalancedParentheses
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L27+32
	b	.L23
.L22:
	ldr	r3, .L27+36
.L23:
	mov	r0, r3
	bl	puts
.L21:
	sub	r3, fp, #264
	ldr	r2, [fp, #-268]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC9
	.word	__PRETTY_FUNCTION__.4822
	.word	.LC0
	.word	.LC4
	.word	stdout
	.word	stdoutBuffer.4823
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4822, %object
	.size	__PRETTY_FUNCTION__.4822, 5
__PRETTY_FUNCTION__.4822:
	.ascii	"main\000"
	.local	stdoutBuffer.4823
	.comm	stdoutBuffer.4823,128,4
	.align	2
	.type	__PRETTY_FUNCTION__.4801, %object
	.size	__PRETTY_FUNCTION__.4801, 22
__PRETTY_FUNCTION__.4801:
	.ascii	"isBalancedParentheses\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
