	.file	"794952.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"error: zero divisor"
.LC2:
	.string	"\t%.8g\n"
.LC3:
	.string	"Asignacion hecha"
	.align 8
.LC4:
	.string	"Desea sobrescribir la varible\ny --> YES\nn-->NO"
.LC5:
	.string	"error: check your input"
.LC6:
	.string	"error: unknown command %s\n"
.LC7:
	.string	"No hizo asignacion"
.LC8:
	.string	"error: Check your input\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 416
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -392[rbp], 0
	mov	DWORD PTR -388[rbp], 0
	mov	DWORD PTR -384[rbp], 0
	mov	DWORD PTR -380[rbp], 0
	mov	DWORD PTR -376[rbp], 0
	mov	DWORD PTR -372[rbp], 0
	mov	DWORD PTR -368[rbp], 0
	mov	DWORD PTR -364[rbp], 0
	mov	DWORD PTR -360[rbp], 0
	mov	DWORD PTR -356[rbp], 0
	mov	DWORD PTR -352[rbp], 0
	lea	rdx, -336[rbp]
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	lea	rdx, -224[rbp]
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	jmp	.L2
.L33:
	cmp	DWORD PTR -364[rbp], 0
	jne	.L3
	mov	eax, DWORD PTR -348[rbp]
	mov	edi, eax
	call	tolower@PLT
	sub	eax, 10
	cmp	eax, 51
	ja	.L4
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L13-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L12-.L6
	.long	.L11-.L6
	.long	.L4-.L6
	.long	.L10-.L6
	.long	.L4-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L7-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L5-.L6
	.text
.L8:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	atof@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -368[rbp], eax
	add	DWORD PTR -392[rbp], 1
	jmp	.L2
.L11:
	call	pop
	movsd	QWORD PTR -408[rbp], xmm0
	call	pop
	movapd	xmm1, xmm0
	addsd	xmm1, QWORD PTR -408[rbp]
	movq	rax, xmm1
	movq	xmm0, rax
	call	push
	jmp	.L2
.L12:
	call	pop
	movsd	QWORD PTR -408[rbp], xmm0
	call	pop
	movapd	xmm2, xmm0
	mulsd	xmm2, QWORD PTR -408[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	push
	jmp	.L2
.L10:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -344[rbp], rax
	call	pop
	movq	rax, xmm0
	movq	xmm3, rax
	subsd	xmm3, QWORD PTR -344[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	push
	jmp	.L2
.L9:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -344[rbp], rax
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -344[rbp]
	jp	.L36
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -344[rbp]
	je	.L37
.L36:
	call	pop
	movq	rax, xmm0
	movq	xmm4, rax
	divsd	xmm4, QWORD PTR -344[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	push
	jmp	.L2
.L37:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L2
.L13:
	cmp	DWORD PTR -372[rbp], 0
	jne	.L18
	cmp	DWORD PTR -376[rbp], 0
	jne	.L18
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -372[rbp], 0
	mov	DWORD PTR -380[rbp], 0
	mov	DWORD PTR -376[rbp], 0
	mov	DWORD PTR -368[rbp], 0
	mov	DWORD PTR -392[rbp], 0
	mov	DWORD PTR -388[rbp], 0
	mov	DWORD PTR -384[rbp], 0
	jmp	.L19
.L18:
	cmp	DWORD PTR -372[rbp], 1
	jne	.L20
	cmp	DWORD PTR -376[rbp], 0
	jne	.L20
	cmp	DWORD PTR -392[rbp], 1
	jne	.L20
	cmp	DWORD PTR -388[rbp], 1
	jne	.L20
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	test	eax, eax
	jne	.L21
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	edx, DWORD PTR -368[rbp]
	mov	DWORD PTR -336[rbp+rax*4], edx
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	DWORD PTR -224[rbp+rax*4], edx
	mov	DWORD PTR -372[rbp], 0
	mov	DWORD PTR -380[rbp], 0
	mov	DWORD PTR -376[rbp], 0
	call	pop
	call	pop
	mov	DWORD PTR -368[rbp], 0
	mov	DWORD PTR -392[rbp], 0
	mov	DWORD PTR -388[rbp], 0
	mov	DWORD PTR -384[rbp], 0
	jmp	.L19
.L21:
	mov	DWORD PTR -364[rbp], 1
	lea	rdi, .LC4[rip]
	call	puts@PLT
	call	pop
	call	pop
	jmp	.L19
.L20:
	cmp	DWORD PTR -372[rbp], 1
	jne	.L23
	cmp	DWORD PTR -376[rbp], 1
	jne	.L23
	cmp	DWORD PTR -392[rbp], 1
	jne	.L23
	cmp	DWORD PTR -388[rbp], 1
	jne	.L23
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	edx, DWORD PTR -368[rbp]
	mov	DWORD PTR -336[rbp+rax*4], edx
	call	pop
	call	pop
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	DWORD PTR -224[rbp+rax*4], edx
	mov	DWORD PTR -372[rbp], 0
	mov	DWORD PTR -380[rbp], 0
	mov	DWORD PTR -376[rbp], 0
	mov	DWORD PTR -368[rbp], 0
	mov	DWORD PTR -392[rbp], 0
	mov	DWORD PTR -388[rbp], 0
	mov	DWORD PTR -384[rbp], 0
	jmp	.L19
.L23:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -372[rbp], 0
	mov	DWORD PTR -380[rbp], 0
	mov	DWORD PTR -376[rbp], 0
	mov	DWORD PTR -368[rbp], 0
	mov	DWORD PTR -392[rbp], 0
	mov	DWORD PTR -388[rbp], 0
	call	pop
	call	pop
	mov	DWORD PTR -384[rbp], 0
	jmp	.L2
.L19:
	jmp	.L2
.L5:
	mov	DWORD PTR -372[rbp], 1
	jmp	.L2
.L7:
	mov	DWORD PTR -376[rbp], 1
	jmp	.L2
.L4:
	cmp	DWORD PTR -348[rbp], 96
	jle	.L24
	cmp	DWORD PTR -348[rbp], 122
	jg	.L24
	mov	eax, DWORD PTR -348[rbp]
	sub	eax, 97
	cdqe
	mov	eax, DWORD PTR -336[rbp+rax*4]
	pxor	xmm7, xmm7
	cvtsi2sd	xmm7, eax
	movq	rax, xmm7
	movq	xmm0, rax
	call	push
	mov	eax, DWORD PTR -348[rbp]
	sub	eax, 97
	mov	DWORD PTR -380[rbp], eax
	add	DWORD PTR -388[rbp], 1
	jmp	.L38
.L24:
	add	DWORD PTR -384[rbp], 1
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L38:
	nop
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -348[rbp]
	mov	edi, eax
	call	tolower@PLT
	cmp	eax, 121
	je	.L26
	cmp	eax, 121
	jg	.L27
	cmp	eax, 10
	je	.L28
	cmp	eax, 110
	je	.L29
	jmp	.L27
.L26:
	add	DWORD PTR -360[rbp], 1
	pxor	xmm0, xmm0
	call	push
	jmp	.L2
.L29:
	add	DWORD PTR -356[rbp], 1
	pxor	xmm0, xmm0
	call	push
	jmp	.L2
.L28:
	cmp	DWORD PTR -360[rbp], 1
	jne	.L30
	cmp	DWORD PTR -356[rbp], 0
	jne	.L30
	cmp	DWORD PTR -352[rbp], 0
	jne	.L30
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	edx, DWORD PTR -368[rbp]
	mov	DWORD PTR -336[rbp+rax*4], edx
	call	pop
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	DWORD PTR -224[rbp+rax*4], edx
	mov	DWORD PTR -372[rbp], 0
	mov	DWORD PTR -380[rbp], 0
	mov	DWORD PTR -376[rbp], 0
	mov	DWORD PTR -368[rbp], 0
	mov	DWORD PTR -356[rbp], 0
	mov	DWORD PTR -360[rbp], 0
	mov	DWORD PTR -352[rbp], 0
	mov	DWORD PTR -364[rbp], 0
	mov	DWORD PTR -392[rbp], 0
	mov	DWORD PTR -388[rbp], 0
	mov	DWORD PTR -384[rbp], 0
	jmp	.L31
.L30:
	cmp	DWORD PTR -360[rbp], 0
	jne	.L32
	cmp	DWORD PTR -356[rbp], 1
	jne	.L32
	cmp	DWORD PTR -352[rbp], 0
	jne	.L32
	call	pop
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -372[rbp], 0
	mov	DWORD PTR -380[rbp], 0
	mov	DWORD PTR -376[rbp], 0
	mov	DWORD PTR -368[rbp], 0
	mov	DWORD PTR -356[rbp], 0
	mov	DWORD PTR -360[rbp], 0
	mov	DWORD PTR -364[rbp], 0
	mov	DWORD PTR -352[rbp], 0
	mov	DWORD PTR -392[rbp], 0
	mov	DWORD PTR -388[rbp], 0
	mov	DWORD PTR -384[rbp], 0
	jmp	.L31
.L32:
	call	pop
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -356[rbp], 0
	mov	DWORD PTR -360[rbp], 0
	mov	DWORD PTR -352[rbp], 0
	mov	DWORD PTR -392[rbp], 0
	mov	DWORD PTR -388[rbp], 0
	mov	DWORD PTR -384[rbp], 0
.L31:
	jmp	.L2
.L27:
	add	DWORD PTR -352[rbp], 1
	nop
.L2:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	getop
	mov	DWORD PTR -348[rbp], eax
	cmp	DWORD PTR -348[rbp], -1
	jne	.L33
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	sp
	.bss
	.align 4
	.type	sp, @object
	.size	sp, 4
sp:
	.zero	4
	.globl	val
	.align 32
	.type	val, @object
	.size	val, 800
val:
	.zero	800
	.section	.rodata
	.align 8
.LC9:
	.string	"error:stack full, cant push %g\n"
	.text
	.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
	sub	rsp, 16
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR sp[rip]
	cmp	eax, 99
	jg	.L40
	mov	eax, DWORD PTR sp[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR sp[rip], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	jmp	.L42
.L40:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
.L42:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	push, .-push
	.section	.rodata
.LC10:
	.string	"error: stack empty"
	.text
	.globl	pop
	.type	pop, @function
pop:
.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 sp[rip]
	test	eax, eax
	jle	.L44
	mov	eax, DWORD PTR sp[rip]
	sub	eax, 1
	mov	DWORD PTR sp[rip], eax
	mov	eax, DWORD PTR sp[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, val[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	jmp	.L45
.L44:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	pxor	xmm0, xmm0
.L45:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pop, .-pop
	.globl	getop
	.type	getop, @function
getop:
.LFB9:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	nop
.L47:
	call	getch
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L47
	cmp	DWORD PTR -20[rbp], 9
	je	.L47
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -24[rbp], 0
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L48
	cmp	DWORD PTR -20[rbp], 46
	je	.L48
	cmp	DWORD PTR -20[rbp], 45
	je	.L48
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	jne	.L49
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L50
.L49:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L48
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	tolower@PLT
	jmp	.L50
.L48:
	cmp	DWORD PTR -20[rbp], 45
	jne	.L51
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L52
	cmp	DWORD PTR -20[rbp], 46
	jne	.L53
.L52:
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -20[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L51
.L53:
	cmp	DWORD PTR -20[rbp], -1
	je	.L54
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	ungetch
.L54:
	mov	eax, 45
	jmp	.L50
.L51:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L55
	nop
.L56:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	mov	DWORD PTR -20[rbp], eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -20[rbp]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L56
.L55:
	cmp	DWORD PTR -20[rbp], 46
	jne	.L57
	nop
.L58:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	mov	DWORD PTR -20[rbp], eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -20[rbp]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L58
.L57:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	cmp	DWORD PTR -20[rbp], -1
	je	.L59
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	ungetch
.L59:
	mov	eax, 48
.L50:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	getop, .-getop
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 100
buf:
	.zero	100
	.globl	bufp
	.align 4
	.type	bufp, @object
	.size	bufp, 4
bufp:
	.zero	4
	.text
	.globl	getch
	.type	getch, @function
getch:
.LFB10:
	.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 bufp[rip]
	test	eax, eax
	jle	.L61
	mov	eax, DWORD PTR bufp[rip]
	sub	eax, 1
	mov	DWORD PTR bufp[rip], eax
	mov	eax, DWORD PTR bufp[rip]
	cdqe
	lea	rdx, buf[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	jmp	.L63
.L61:
	call	getchar@PLT
.L63:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	getch, .-getch
	.section	.rodata
.LC11:
	.string	"ungetch: too many characters"
	.text
	.globl	ungetch
	.type	ungetch, @function
ungetch:
.LFB11:
	.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR bufp[rip]
	cmp	eax, 99
	jle	.L65
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L67
.L65:
	mov	eax, DWORD PTR bufp[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR bufp[rip], edx
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
.L67:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	ungetch, .-ungetch
	.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	"794952.c"
	.text
	.global	__aeabi_d2iz
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dcmpeq
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC0:
	.ascii	"error: zero divisor\000"
	.align	2
.LC1:
	.ascii	"\011%.8g\012\000"
	.align	2
.LC2:
	.ascii	"Asignacion hecha\000"
	.align	2
.LC3:
	.ascii	"Desea sobrescribir la varible\012y --> YES\012n-->N"
	.ascii	"O\000"
	.align	2
.LC4:
	.ascii	"error: check your input\000"
	.global	__aeabi_i2d
	.align	2
.LC5:
	.ascii	"error: unknown command %s\012\000"
	.align	2
.LC6:
	.ascii	"No hizo asignacion\000"
	.align	2
.LC7:
	.ascii	"error: Check your input\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 368
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #368
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-376]
	mov	r3, #0
	str	r3, [fp, #-372]
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-364]
	mov	r3, #0
	str	r3, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-352]
	mov	r3, #0
	str	r3, [fp, #-348]
	mov	r3, #0
	str	r3, [fp, #-344]
	mov	r3, #0
	str	r3, [fp, #-340]
	sub	r3, fp, #324
	mov	r2, #104
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #220
	mov	r2, #104
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L2
.L33:
	ldr	r3, [fp, #-352]
	cmp	r3, #0
	bne	.L3
	ldr	r0, [fp, #-336]
	bl	tolower
	mov	r3, r0
	sub	r3, r3, #10
	cmp	r3, #51
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L13
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L12
	.word	.L11
	.word	.L4
	.word	.L10
	.word	.L4
	.word	.L9
	.word	.L8
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L7
	.word	.L4
	.word	.L4
	.word	.L5
.L8:
	sub	r3, fp, #116
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	sub	r3, fp, #116
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-356]
	ldr	r3, [fp, #-380]
	add	r3, r3, #1
	str	r3, [fp, #-380]
	b	.L2
.L11:
	bl	pop
	mov	r4, r0
	mov	r5, r1
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L12:
	bl	pop
	mov	r4, r0
	mov	r5, r1
	bl	pop
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L10:
	bl	pop
	str	r0, [fp, #-332]
	str	r1, [fp, #-328]
	bl	pop
	sub	r3, fp, #332
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L9:
	bl	pop
	str	r0, [fp, #-332]
	str	r1, [fp, #-328]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #332
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	bl	pop
	sub	r3, fp, #332
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L37:
	ldr	r0, .L39+4
	bl	puts
	b	.L2
.L13:
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	bne	.L18
	bl	pop
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L39+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-364]
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-376]
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L19
.L18:
	ldr	r3, [fp, #-360]
	cmp	r3, #1
	bne	.L20
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-380]
	cmp	r3, #1
	bne	.L20
	ldr	r3, [fp, #-376]
	cmp	r3, #1
	bne	.L20
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-208]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-356]
	str	r2, [r3, #-312]
	ldr	r0, .L39+12
	bl	puts
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-208]
	add	r2, r3, #1
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-208]
	mov	r3, #0
	str	r3, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-364]
	bl	pop
	bl	pop
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-376]
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L19
.L21:
	mov	r3, #1
	str	r3, [fp, #-352]
	ldr	r0, .L39+16
	bl	puts
	bl	pop
	bl	pop
	b	.L19
.L20:
	ldr	r3, [fp, #-360]
	cmp	r3, #1
	bne	.L23
	ldr	r3, [fp, #-364]
	cmp	r3, #1
	bne	.L23
	ldr	r3, [fp, #-380]
	cmp	r3, #1
	bne	.L23
	ldr	r3, [fp, #-376]
	cmp	r3, #1
	bne	.L23
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-356]
	str	r2, [r3, #-312]
	bl	pop
	bl	pop
	ldr	r0, .L39+12
	bl	puts
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-208]
	add	r2, r3, #1
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-208]
	mov	r3, #0
	str	r3, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-364]
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-376]
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L19
.L23:
	ldr	r0, .L39+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-364]
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-376]
	bl	pop
	bl	pop
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L2
.L19:
	b	.L2
.L5:
	mov	r3, #1
	str	r3, [fp, #-360]
	b	.L2
.L7:
	mov	r3, #1
	str	r3, [fp, #-364]
	b	.L2
.L4:
	ldr	r3, [fp, #-336]
	cmp	r3, #96
	ble	.L24
	ldr	r3, [fp, #-336]
	cmp	r3, #122
	bgt	.L24
	ldr	r3, [fp, #-336]
	sub	r3, r3, #97
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-312]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	ldr	r3, [fp, #-336]
	sub	r3, r3, #97
	str	r3, [fp, #-368]
	ldr	r3, [fp, #-376]
	add	r3, r3, #1
	str	r3, [fp, #-376]
	b	.L38
.L24:
	ldr	r3, [fp, #-372]
	add	r3, r3, #1
	str	r3, [fp, #-372]
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L39+24
	bl	printf
.L38:
	nop
	b	.L2
.L3:
	ldr	r0, [fp, #-336]
	bl	tolower
	mov	r3, r0
	cmp	r3, #121
	beq	.L26
	cmp	r3, #121
	bgt	.L27
	cmp	r3, #10
	beq	.L28
	cmp	r3, #110
	beq	.L29
	b	.L27
.L26:
	ldr	r3, [fp, #-348]
	add	r3, r3, #1
	str	r3, [fp, #-348]
	mov	r0, #0
	mov	r1, #0
	bl	push
	b	.L2
.L29:
	ldr	r3, [fp, #-344]
	add	r3, r3, #1
	str	r3, [fp, #-344]
	mov	r0, #0
	mov	r1, #0
	bl	push
	b	.L2
.L28:
	ldr	r3, [fp, #-348]
	cmp	r3, #1
	bne	.L30
	ldr	r3, [fp, #-344]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-340]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-356]
	str	r2, [r3, #-312]
	bl	pop
	ldr	r0, .L39+12
	bl	puts
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-208]
	add	r2, r3, #1
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-208]
	mov	r3, #0
	str	r3, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-364]
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-344]
	mov	r3, #0
	str	r3, [fp, #-348]
	mov	r3, #0
	str	r3, [fp, #-340]
	mov	r3, #0
	str	r3, [fp, #-352]
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-376]
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L31
.L30:
	ldr	r3, [fp, #-348]
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-344]
	cmp	r3, #1
	bne	.L32
	ldr	r3, [fp, #-340]
	cmp	r3, #0
	bne	.L32
	bl	pop
	ldr	r0, .L39+28
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-364]
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-344]
	mov	r3, #0
	str	r3, [fp, #-348]
	mov	r3, #0
	str	r3, [fp, #-352]
	mov	r3, #0
	str	r3, [fp, #-340]
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-376]
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L31
.L32:
	bl	pop
	ldr	r0, .L39+32
	bl	puts
	ldr	r0, .L39+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-344]
	mov	r3, #0
	str	r3, [fp, #-348]
	mov	r3, #0
	str	r3, [fp, #-340]
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-376]
	mov	r3, #0
	str	r3, [fp, #-372]
.L31:
	b	.L2
.L27:
	ldr	r3, [fp, #-340]
	add	r3, r3, #1
	str	r3, [fp, #-340]
	nop
.L2:
	sub	r3, fp, #116
	mov	r0, r3
	bl	getop
	str	r0, [fp, #-336]
	ldr	r3, [fp, #-336]
	cmn	r3, #1
	bne	.L33
	mov	r3, #0
	ldr	r2, .L39
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.global	sp
	.bss
	.align	2
	.type	sp, %object
	.size	sp, 4
sp:
	.space	4
	.comm	val,800,8
	.section	.rodata
	.align	2
.LC9:
	.ascii	"error:stack full, cant push %g\012\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, #-12]
	str	r1, [fp, #-8]
	ldr	r3, .L45
	ldr	r3, [r3]
	cmp	r3, #99
	bgt	.L42
	ldr	r3, .L45
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L45
	str	r2, [r1]
	ldr	r2, .L45+4
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L44
.L42:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L45+8
	bl	printf
.L44:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	sp
	.word	val
	.word	.LC9
	.size	push, .-push
	.section	.rodata
	.align	2
.LC10:
	.ascii	"error: stack empty\000"
	.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
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L50
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L48
	ldr	r3, .L50
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L50
	str	r3, [r2]
	ldr	r3, .L50
	ldr	r3, [r3]
	ldr	r2, .L50+4
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L49
.L48:
	ldr	r0, .L50+8
	bl	puts
	mov	r2, #0
	mov	r3, #0
.L49:
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	sp
	.word	val
	.word	.LC10
	.size	pop, .-pop
	.align	2
	.global	getop
	.syntax unified
	.arm
	.fpu softvfp
	.type	getop, %function
getop:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	nop
.L53:
	bl	getch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	and	r2, r3, #255
	ldr	r3, [fp, #-24]
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L53
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	beq	.L53
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-16]
	cmp	r3, #46
	beq	.L54
	ldr	r3, [fp, #-16]
	cmp	r3, #45
	beq	.L54
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-16]
	b	.L56
.L55:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L54
	ldr	r0, [fp, #-16]
	bl	tolower
	mov	r3, r0
	b	.L56
.L54:
	ldr	r3, [fp, #-16]
	cmp	r3, #45
	bne	.L57
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L58
	ldr	r3, [fp, #-16]
	cmp	r3, #46
	bne	.L59
.L58:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L57
.L59:
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	beq	.L60
	ldr	r0, [fp, #-16]
	bl	ungetch
.L60:
	mov	r3, #45
	b	.L56
.L57:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L61
	nop
.L62:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L62
.L61:
	ldr	r3, [fp, #-16]
	cmp	r3, #46
	bne	.L63
	nop
.L64:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L64
.L63:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	beq	.L65
	ldr	r0, [fp, #-16]
	bl	ungetch
.L65:
	mov	r3, #48
.L56:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	getop, .-getop
	.comm	buf,100,4
	.global	bufp
	.bss
	.align	2
	.type	bufp, %object
	.size	bufp, 4
bufp:
	.space	4
	.text
	.align	2
	.global	getch
	.syntax unified
	.arm
	.fpu softvfp
	.type	getch, %function
getch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L70
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L67
	ldr	r3, .L70
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L70
	str	r3, [r2]
	ldr	r3, .L70
	ldr	r3, [r3]
	ldr	r2, .L70+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L69
.L67:
	bl	getchar
	mov	r3, r0
.L69:
	mov	r0, r3
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	bufp
	.word	buf
	.size	getch, .-getch
	.section	.rodata
	.align	2
.LC11:
	.ascii	"ungetch: too many characters\000"
	.text
	.align	2
	.global	ungetch
	.syntax unified
	.arm
	.fpu softvfp
	.type	ungetch, %function
ungetch:
	@ 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	r3, .L76
	ldr	r3, [r3]
	cmp	r3, #99
	ble	.L73
	ldr	r0, .L76+4
	bl	puts
	b	.L75
.L73:
	ldr	r3, .L76
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L76
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	and	r1, r2, #255
	ldr	r2, .L76+8
	strb	r1, [r2, r3]
.L75:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	bufp
	.word	.LC11
	.word	buf
	.size	ungetch, .-ungetch
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
