	.file	"382886.c"
	.intel_syntax noprefix
	.text
	.globl	cria
	.type	cria, @function
cria:
.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	edi, 204
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	cria, .-cria
	.section	.rodata
.LC0:
	.string	"Erro de estouro de pilha."
	.text
	.globl	push
	.type	push, @function
push:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	movss	DWORD PTR -12[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 50
	jne	.L4
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR 4[rax+rdx*4], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	push, .-push
	.section	.rodata
	.align 8
.LC1:
	.string	"Erro de esvaziamento de pilha."
	.text
	.globl	pop
	.type	pop, @function
pop:
.LFB2:
	.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
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR 4[rax+rdx*4]
	movss	DWORD PTR -4[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	movss	xmm0, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	pop, .-pop
	.globl	libera
	.type	libera, @function
libera:
.LFB3:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	libera, .-libera
	.section	.rodata
.LC2:
	.string	"TOPO ->"
.LC3:
	.string	" ->"
.LC4:
	.string	"%f\n"
	.text
	.globl	mostrapilha
	.type	mostrapilha, @function
mostrapilha:
.LFB4:
	.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
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L10
.L13:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jne	.L11
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L11:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR 4[rax+rdx*4]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	sub	DWORD PTR -4[rbp], 1
.L10:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	mostrapilha, .-mostrapilha
	.section	.rodata
	.align 8
.LC5:
	.string	"1-Empilha\n2-Desempilha\n3-Mostra pilha\n4-Sair"
.LC6:
	.string	"Digite a opcao (1-4)"
.LC7:
	.string	"%d"
.LC8:
	.string	"Digite o elemento a empilhar "
.LC9:
	.string	"%f"
.LC10:
	.string	"Elemento desempilhado %f\n"
.LC11:
	.string	"Opcao invalida"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	cria
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], -1
	jmp	.L15
.L21:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 4
	je	.L15
	cmp	eax, 4
	jg	.L17
	cmp	eax, 3
	je	.L18
	cmp	eax, 3
	jg	.L17
	cmp	eax, 1
	je	.L19
	cmp	eax, 2
	je	.L20
	jmp	.L17
.L19:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movd	xmm0, edx
	mov	rdi, rax
	call	push
	jmp	.L15
.L20:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	pop
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L15
.L18:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	mostrapilha
	jmp	.L15
.L17:
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L15:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 4
	jne	.L21
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	libera
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"382886.c"
	.text
	.align	2
	.global	cria
	.syntax unified
	.arm
	.fpu softvfp
	.type	cria, %function
cria:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #204
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cria, .-cria
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Erro de estouro de pilha.\000"
	.text
	.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
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #50
	bne	.L4
	ldr	r0, .L5
	bl	puts
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-12]	@ float
	str	r2, [r3, #4]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.size	push, .-push
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Erro de esvaziamento de pilha.\000"
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L10
	bl	puts
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]	@ float
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.size	pop, .-pop
	.align	2
	.global	libera
	.syntax unified
	.arm
	.fpu softvfp
	.type	libera, %function
libera:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	libera, .-libera
	.section	.rodata
	.align	2
.LC2:
	.ascii	"TOPO ->\000"
	.align	2
.LC3:
	.ascii	" ->\000"
	.global	__aeabi_f2d
	.align	2
.LC4:
	.ascii	"%f\012\000"
	.text
	.align	2
	.global	mostrapilha
	.syntax unified
	.arm
	.fpu softvfp
	.type	mostrapilha, %function
mostrapilha:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L17:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L15
	ldr	r0, .L18
	bl	printf
	b	.L16
.L15:
	ldr	r0, .L18+4
	bl	printf
.L16:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+8
	bl	printf
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L17
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	mostrapilha, .-mostrapilha
	.section	.rodata
	.align	2
.LC5:
	.ascii	"1-Empilha\0122-Desempilha\0123-Mostra pilha\0124-Sa"
	.ascii	"ir\000"
	.align	2
.LC6:
	.ascii	"Digite a opcao (1-4)\000"
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.ascii	"Digite o elemento a empilhar \000"
	.align	2
.LC9:
	.ascii	"%f\000"
	.align	2
.LC10:
	.ascii	"Elemento desempilhado %f\012\000"
	.align	2
.LC11:
	.ascii	"Opcao invalida\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.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
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	cria
	str	r0, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-16]
	b	.L21
.L28:
	ldr	r0, .L31+4
	bl	puts
	ldr	r0, .L31+8
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L31+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L22
.L24:
	.word	.L27
	.word	.L26
	.word	.L25
	.word	.L21
.L27:
	ldr	r0, .L31+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L31+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	push
	b	.L21
.L26:
	ldr	r0, [fp, #-12]
	bl	pop
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L31+24
	bl	printf
	b	.L21
.L25:
	ldr	r0, [fp, #-12]
	bl	mostrapilha
	b	.L21
.L22:
	ldr	r0, .L31+28
	bl	puts
.L21:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	bne	.L28
	ldr	r0, [fp, #-12]
	bl	libera
	mov	r3, #0
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC12
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
