	.file	"28380.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Error: division by zero"
	.align 8
.LC2:
	.string	"Error: Unrecognized operand %s\n"
.LC3:
	.string	"Result: %g\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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	jmp	.L2
.L11:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	add	QWORD PTR -32[rbp], 8
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	push
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 47
	je	.L4
	cmp	eax, 47
	jg	.L5
	cmp	eax, 45
	je	.L6
	cmp	eax, 45
	jg	.L5
	cmp	eax, 42
	je	.L7
	cmp	eax, 43
	jne	.L5
	call	pop
	movsd	QWORD PTR -40[rbp], xmm0
	call	pop
	movapd	xmm1, xmm0
	addsd	xmm1, QWORD PTR -40[rbp]
	movq	rax, xmm1
	movq	xmm0, rax
	call	push
	jmp	.L2
.L7:
	call	pop
	movsd	QWORD PTR -40[rbp], xmm0
	call	pop
	movapd	xmm2, xmm0
	mulsd	xmm2, QWORD PTR -40[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	push
	jmp	.L2
.L6:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	call	pop
	movq	rax, xmm0
	movq	xmm3, rax
	subsd	xmm3, QWORD PTR -8[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	push
	jmp	.L2
.L4:
	call	pop
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -8[rbp]
	jp	.L8
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -8[rbp]
	jne	.L8
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L2
.L8:
	call	pop
	movq	rax, xmm0
	movq	xmm4, rax
	divsd	xmm4, QWORD PTR -8[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	push
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L2:
	sub	DWORD PTR -20[rbp], 1
	cmp	DWORD PTR -20[rbp], 0
	jg	.L11
	call	pop
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	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
.LC4:
	.string	"Error: stack full. Can't 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	.L15
	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	.L17
.L15:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
.L17:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	push, .-push
	.section	.rodata
.LC5:
	.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	.L19
	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	.L20
.L19:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	pxor	xmm0, xmm0
.L20:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pop, .-pop
	.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	"28380.c"
	.text
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dcmpeq
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Error: division by zero\000"
	.global	__aeabi_ddiv
	.align	2
.LC1:
	.ascii	"Error: Unrecognized operand %s\012\000"
	.align	2
.LC2:
	.ascii	"Result: %g\012\000"
	.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	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	b	.L2
.L13:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L3:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #42
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L9
	.word	.L8
	.word	.L4
	.word	.L7
	.word	.L4
	.word	.L5
.L8:
	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
.L9:
	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
.L7:
	bl	pop
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	bl	pop
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L5:
	bl	pop
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r0, .L17
	bl	puts
	b	.L2
.L16:
	bl	pop
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	push
	b	.L2
.L4:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L17+4
	bl	printf
	nop
.L2:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L13
	bl	pop
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L17+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.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
.LC3:
	.ascii	"Error: stack full. Can't 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, .L23
	ldr	r3, [r3]
	cmp	r3, #99
	bgt	.L20
	ldr	r3, .L23
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L23
	str	r2, [r1]
	ldr	r2, .L23+4
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L22
.L20:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L23+8
	bl	printf
.L22:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	sp
	.word	val
	.word	.LC3
	.size	push, .-push
	.section	.rodata
	.align	2
.LC4:
	.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, .L28
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L26
	ldr	r3, .L28
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L28
	str	r3, [r2]
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r2, .L28+4
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L27
.L26:
	ldr	r0, .L28+8
	bl	puts
	mov	r2, #0
	mov	r3, #0
.L27:
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	sp
	.word	val
	.word	.LC4
	.size	pop, .-pop
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
