	.file	"822964.c"
	.intel_syntax noprefix
	.text
	.globl	in_string
	.bss
	.type	in_string, @object
	.size	in_string, 1
in_string:
	.zero	1
	.globl	escaping_char
	.type	escaping_char, @object
	.size	escaping_char, 1
escaping_char:
	.zero	1
	.globl	pairs_in_search
	.align 4
	.type	pairs_in_search, @object
	.size	pairs_in_search, 4
pairs_in_search:
	.zero	4
	.section	.rodata
.LC0:
	.string	"(_brace "
	.align 8
.LC1:
	.string	"Agidel: %d unmatched brace pairs."
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L10:
	movzx	eax, BYTE PTR in_string[rip]
	test	al, al
	je	.L3
	movzx	eax, BYTE PTR escaping_char[rip]
	test	al, al
	je	.L4
	movzx	eax, BYTE PTR -9[rbp]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	BYTE PTR escaping_char[rip], 0
	jmp	.L2
.L4:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 92
	jne	.L5
	mov	BYTE PTR escaping_char[rip], 1
	jmp	.L2
.L5:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 34
	jne	.L6
	movzx	eax, BYTE PTR -9[rbp]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	BYTE PTR in_string[rip], 0
	jmp	.L2
.L6:
	movzx	eax, BYTE PTR -9[rbp]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	jmp	.L2
.L3:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 123
	jne	.L7
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR pairs_in_search[rip]
	add	eax, 1
	mov	DWORD PTR pairs_in_search[rip], eax
	jmp	.L2
.L7:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 125
	jne	.L8
	mov	edi, 41
	call	putchar@PLT
	mov	eax, DWORD PTR pairs_in_search[rip]
	sub	eax, 1
	mov	DWORD PTR pairs_in_search[rip], eax
	jmp	.L2
.L8:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 34
	jne	.L9
	mov	BYTE PTR in_string[rip], 1
	movzx	eax, BYTE PTR -9[rbp]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	jmp	.L2
.L9:
	movzx	eax, BYTE PTR -9[rbp]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L2:
	lea	rax, -9[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	test	rax, rax
	jg	.L10
	mov	eax, DWORD PTR pairs_in_search[rip]
	test	eax, eax
	je	.L11
	mov	edx, DWORD PTR pairs_in_search[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L13
.L11:
	mov	eax, 0
.L13:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"822964.c"
	.text
	.comm	in_string,1,1
	.comm	escaping_char,1,1
	.comm	pairs_in_search,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"(_brace \000"
	.align	2
.LC1:
	.ascii	"Agidel: %d unmatched brace pairs.\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L10:
	ldr	r3, .L15+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L15+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, .L15+8
	mov	r2, #0
	strb	r2, [r3]
	b	.L2
.L4:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L5
	ldr	r3, .L15+8
	mov	r2, #1
	strb	r2, [r3]
	b	.L2
.L5:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L6
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, .L15+4
	mov	r2, #0
	strb	r2, [r3]
	b	.L2
.L6:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	b	.L2
.L3:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #123
	bne	.L7
	ldr	r0, .L15+12
	bl	printf
	ldr	r3, .L15+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+16
	str	r3, [r2]
	b	.L2
.L7:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #125
	bne	.L8
	mov	r0, #41
	bl	putchar
	ldr	r3, .L15+16
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L15+16
	str	r3, [r2]
	b	.L2
.L8:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L9
	ldr	r3, .L15+4
	mov	r2, #1
	strb	r2, [r3]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	b	.L2
.L9:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L2:
	sub	r3, fp, #9
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	read
	mov	r3, r0
	cmp	r3, #0
	bgt	.L10
	ldr	r3, .L15+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L15+20
	ldr	r3, [r3]
	ldr	r2, .L15+16
	ldr	r2, [r2]
	ldr	r1, .L15+24
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L13
.L11:
	mov	r3, #0
.L13:
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC2
	.word	in_string
	.word	escaping_char
	.word	.LC0
	.word	pairs_in_search
	.word	stderr
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
