	.file	"636223.c"
	.intel_syntax noprefix
	.text
	.globl	top
	.data
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	-1
	.globl	stack
	.bss
	.align 32
	.type	stack, @object
	.size	stack, 10000
stack:
	.zero	10000
	.text
	.globl	pop
	.type	pop, @function
pop:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR top[rip]
	cmp	eax, -1
	je	.L3
	mov	eax, DWORD PTR top[rip]
	sub	eax, 1
	mov	DWORD PTR top[rip], eax
.L3:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	pop, .-pop
	.globl	push
	.type	push, @function
push:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR top[rip]
	cmp	eax, 9999
	jg	.L6
	mov	eax, DWORD PTR top[rip]
	add	eax, 1
	mov	DWORD PTR top[rip], eax
	mov	eax, DWORD PTR top[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, stack[rip]
	mov	BYTE PTR [rax+rdx], cl
.L6:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	push, .-push
	.globl	isEmpty
	.type	isEmpty, @function
isEmpty:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR top[rip]
	cmp	eax, -1
	jne	.L8
	mov	eax, 1
	jmp	.L9
.L8:
	mov	eax, 0
.L9:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	isEmpty, .-isEmpty
	.globl	topOfStack
	.type	topOfStack, @function
topOfStack:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR top[rip]
	cdqe
	lea	rdx, stack[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	topOfStack, .-topOfStack
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"true"
.LC2:
	.string	"false"
	.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
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1848
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -10036[rbp], 0
	mov	DWORD PTR -10040[rbp], 0
	lea	rax, -10032[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -10040[rbp], 0
	jmp	.L13
.L20:
	mov	eax, 0
	call	isEmpty
	cmp	eax, 1
	jne	.L14
	mov	eax, DWORD PTR -10040[rbp]
	cdqe
	movzx	eax, BYTE PTR -10032[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	push
	jmp	.L15
.L14:
	mov	eax, 0
	call	topOfStack
	cmp	al, 91
	jne	.L16
	mov	eax, DWORD PTR -10040[rbp]
	cdqe
	movzx	eax, BYTE PTR -10032[rbp+rax]
	cmp	al, 93
	je	.L17
.L16:
	mov	eax, 0
	call	topOfStack
	cmp	al, 123
	jne	.L18
	mov	eax, DWORD PTR -10040[rbp]
	cdqe
	movzx	eax, BYTE PTR -10032[rbp+rax]
	cmp	al, 125
	je	.L17
.L18:
	mov	eax, 0
	call	topOfStack
	cmp	al, 40
	jne	.L19
	mov	eax, DWORD PTR -10040[rbp]
	cdqe
	movzx	eax, BYTE PTR -10032[rbp+rax]
	cmp	al, 41
	jne	.L19
.L17:
	mov	eax, 0
	call	pop
	jmp	.L15
.L19:
	mov	eax, DWORD PTR -10040[rbp]
	cdqe
	movzx	eax, BYTE PTR -10032[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	push
.L15:
	add	DWORD PTR -10040[rbp], 1
.L13:
	mov	eax, DWORD PTR -10040[rbp]
	movsx	rbx, eax
	lea	rax, -10032[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L20
	mov	eax, 0
	call	isEmpty
	test	eax, eax
	je	.L21
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L21:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	mov	eax, 0
	mov	rdx, QWORD PTR -24[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	mov	rbx, QWORD PTR -8[rbp]
	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	"636223.c"
	.text
	.global	top
	.data
	.align	2
	.type	top, %object
	.size	top, 4
top:
	.word	-1
	.comm	stack,10000,4
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L4
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L3
	ldr	r3, .L4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L4
	str	r3, [r2]
.L3:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L5:
	.align	2
.L4:
	.word	top
	.size	pop, .-pop
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ 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, .L9
	ldr	r3, [r3]
	ldr	r2, .L9+4
	cmp	r3, r2
	bgt	.L8
	ldr	r3, .L9
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9
	str	r3, [r2]
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	and	r1, r2, #255
	ldr	r2, .L9+8
	strb	r1, [r2, r3]
.L8:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	top
	.word	9999
	.word	stack
	.size	push, .-push
	.align	2
	.global	isEmpty
	.syntax unified
	.arm
	.fpu softvfp
	.type	isEmpty, %function
isEmpty:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L14
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L12
	mov	r3, #1
	b	.L13
.L12:
	mov	r3, #0
.L13:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L15:
	.align	2
.L14:
	.word	top
	.size	isEmpty, .-isEmpty
	.align	2
	.global	topOfStack
	.syntax unified
	.arm
	.fpu softvfp
	.type	topOfStack, %function
topOfStack:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r2, .L18+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L19:
	.align	2
.L18:
	.word	top
	.word	stack
	.size	topOfStack, .-topOfStack
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"true\000"
	.align	2
.LC2:
	.ascii	"false\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 10016
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #9984
	sub	sp, sp, #32
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1816]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1820]
	sub	r3, fp, #9984
	sub	r3, r3, #4
	sub	r3, r3, #20
	mov	r1, r3
	ldr	r0, .L33+4
	bl	__isoc99_scanf
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1820]
	b	.L21
.L28:
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #1
	bne	.L22
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1820]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	push
	b	.L23
.L22:
	bl	topOfStack
	mov	r3, r0
	cmp	r3, #91
	bne	.L24
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1820]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	beq	.L25
.L24:
	bl	topOfStack
	mov	r3, r0
	cmp	r3, #123
	bne	.L26
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1820]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #125
	beq	.L25
.L26:
	bl	topOfStack
	mov	r3, r0
	cmp	r3, #40
	bne	.L27
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1820]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L27
.L25:
	bl	pop
	b	.L23
.L27:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1820]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	push
.L23:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1820]
	add	r3, r3, #1
	str	r3, [r2, #-1820]
.L21:
	sub	r3, fp, #9984
	sub	r3, r3, #4
	sub	r3, r3, #20
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-1820]
	cmp	r2, r3
	bhi	.L28
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r0, .L33+8
	bl	printf
	b	.L30
.L29:
	ldr	r0, .L33+12
	bl	printf
.L30:
	mov	r3, #0
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
