#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
scalar_t__ EOF;
float atof(char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
scalar_t__ pop(float *);
int /*<<< orphan*/ printf(char *, float);
scalar_t__ push(float);
scalar_t__ scanf(char *, char *);
int /*<<< orphan*/ stderr;
scalar_t__ strcmp(char *, char *);
int main() {
  int i;
  char data[5];
  float l;
  float r;
  while ((scanf("%s", data)) != EOF) {
    if (strcmp(data, "+") == 0) {
      if (pop(&r) != 0 && pop(&l) != 0)
        push(l + r);
      else {
        fprintf(stderr, "error!\n");
        return -1;
      }
    } else if (strcmp(data, "-") == 0) {
      if (pop(&r) != 0 && pop(&l) != 0)
        push(l - r);
      else {
        fprintf(stderr, "error!\n");
        return -1;
      }
    } else if (strcmp(data, "*") == 0) {
      if (pop(&r) != 0 && pop(&l) != 0)
        push(l * r);
      else {
        fprintf(stderr, "error!\n");
        return -1;
      }
    } else if (strcmp(data, "/") == 0) {
      if (pop(&r) != 0 && pop(&l) != 0)
        push(l / r);
      else {
        fprintf(stderr, "error!\n");
        return -1;
      }
    } else if (atof(data) == 0) {
      fprintf(stderr, "error!\n");
      return -1;
    } else {
      if (push(atof(data)) == 0) {
        fprintf(stderr, "error!\n");
        return -1;
      }
    }
  }
  if (pop(&r) != 0) {
    if (pop(&r) == 0) {
      fprintf(stderr, "error!\n");
      return -1;
    } else
      printf("%.2f\n", r);
  } else {
    fprintf(stderr, "error!\n");
    return -1;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0xd(%rbp),%rsi
lea    0xe76(%rip),%rdi
call   1080 <scanf@plt>
mov    0x2e52(%rip),%rcx
cmp    (%rcx),%rax
je     141a <main+0x2aa>
lea    -0xd(%rbp),%rdi
lea    0xe59(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1219 <main+0xa9>
lea    -0x18(%rbp),%rdi
call   1050 <pop@plt>
cmp    $0x0,%rax
je     11f3 <main+0x83>
lea    -0x14(%rbp),%rdi
call   1050 <pop@plt>
cmp    $0x0,%rax
je     11f3 <main+0x83>
movss  -0x14(%rbp),%xmm0
addss  -0x18(%rbp),%xmm0
call   1090 <push@plt>
jmp    1214 <main+0xa4>
mov    0x2dde(%rip),%rax
mov    (%rax),%edi
lea    0xe02(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    149f <main+0x32f>
jmp    1415 <main+0x2a5>
lea    -0xd(%rbp),%rdi
lea    0xde9(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1293 <main+0x123>
lea    -0x18(%rbp),%rdi
call   1050 <pop@plt>
cmp    $0x0,%rax
je     126d <main+0xfd>
lea    -0x14(%rbp),%rdi
call   1050 <pop@plt>
cmp    $0x0,%rax
je     126d <main+0xfd>
movss  -0x14(%rbp),%xmm0
subss  -0x18(%rbp),%xmm0
call   1090 <push@plt>
jmp    128e <main+0x11e>
mov    0x2d64(%rip),%rax
mov    (%rax),%edi
lea    0xd88(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    149f <main+0x32f>
jmp    1410 <main+0x2a0>
lea    -0xd(%rbp),%rdi
lea    0xd71(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    130d <main+0x19d>
lea    -0x18(%rbp),%rdi
call   1050 <pop@plt>
cmp    $0x0,%rax
je     12e7 <main+0x177>
lea    -0x14(%rbp),%rdi
call   1050 <pop@plt>
cmp    $0x0,%rax
je     12e7 <main+0x177>
movss  -0x14(%rbp),%xmm0
mulss  -0x18(%rbp),%xmm0
call   1090 <push@plt>
jmp    1308 <main+0x198>
mov    0x2cea(%rip),%rax
mov    (%rax),%edi
lea    0xd0e(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    149f <main+0x32f>
jmp    140b <main+0x29b>
lea    -0xd(%rbp),%rdi
lea    0xcf9(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1387 <main+0x217>
lea    -0x18(%rbp),%rdi
call   1050 <pop@plt>
cmp    $0x0,%rax
je     1361 <main+0x1f1>
lea    -0x14(%rbp),%rdi
call   1050 <pop@plt>
cmp    $0x0,%rax
je     1361 <main+0x1f1>
movss  -0x14(%rbp),%xmm0
divss  -0x18(%rbp),%xmm0
call   1090 <push@plt>
jmp    1382 <main+0x212>
mov    0x2c70(%rip),%rax
mov    (%rax),%edi
lea    0xc94(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    149f <main+0x32f>
jmp    1406 <main+0x296>
lea    -0xd(%rbp),%rdi
call   1030 <atof@plt>
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    13c3 <main+0x253>
jp     13c3 <main+0x253>
mov    0x2c2f(%rip),%rax
mov    (%rax),%edi
lea    0xc53(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    149f <main+0x32f>
lea    -0xd(%rbp),%rdi
call   1030 <atof@plt>
call   1090 <push@plt>
cmp    $0x0,%rax
jne    13fc <main+0x28c>
mov    0x2bf6(%rip),%rax
mov    (%rax),%edi
lea    0xc1a(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    149f <main+0x32f>
jmp    1401 <main+0x291>
jmp    1406 <main+0x296>
jmp    140b <main+0x29b>
jmp    1410 <main+0x2a0>
jmp    1415 <main+0x2a5>
jmp    117f <main+0xf>
lea    -0x18(%rbp),%rdi
call   1050 <pop@plt>
cmp    $0x0,%rax
je     1477 <main+0x307>
lea    -0x18(%rbp),%rdi
call   1050 <pop@plt>
cmp    $0x0,%rax
jne    1461 <main+0x2f1>
mov    0x2b91(%rip),%rax
mov    (%rax),%edi
lea    0xbb5(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    149f <main+0x32f>
movss  -0x18(%rbp),%xmm0
lea    0xba6(%rip),%rdi
call   1040 <printf@plt>
jmp    1498 <main+0x328>
mov    0x2b5a(%rip),%rax
mov    (%rax),%edi
lea    0xb7e(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    149f <main+0x32f>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
lea    0xe7f(%rip),%rdi
lea    0x13(%rsp),%rsi
call   1080 <scanf@plt>
mov    0x2e52(%rip),%rbp
cmp    0x0(%rbp),%rax
jne    11db <main+0x6b>
lea    0x8(%rsp),%rdi
call   1050 <pop@plt>
test   %rax,%rax
je     1366 <main+0x1f6>
lea    0x8(%rsp),%rdi
call   1050 <pop@plt>
test   %rax,%rax
je     1366 <main+0x1f6>
movss  0x8(%rsp),%xmm0
lea    0xe48(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
jmp    1380 <main+0x210>
lea    0xe25(%rip),%r14
lea    0x13(%rsp),%rbx
lea    0x8(%rsp),%r15
lea    0xc(%rsp),%r12
lea    0xe0c(%rip),%r13
jmp    1226 <main+0xb6>
nopw   0x0(%rax,%rax,1)
movss  0xc(%rsp),%xmm0
subss  0x8(%rsp),%xmm0
call   1090 <push@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
call   1080 <scanf@plt>
cmp    0x0(%rbp),%rax
je     119c <main+0x2c>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     12b0 <main+0x140>
mov    %rbx,%rdi
lea    0xdd1(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     12f0 <main+0x180>
mov    %rbx,%rdi
lea    0xdbb(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1310 <main+0x1a0>
mov    %rbx,%rdi
lea    0xda5(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     133b <main+0x1cb>
mov    %rbx,%rdi
call   1030 <atof@plt>
ucomiss 0xd73(%rip),%xmm0
jne    1295 <main+0x125>
jnp    1366 <main+0x1f6>
call   1090 <push@plt>
test   %rax,%rax
jne    1211 <main+0xa1>
jmp    1366 <main+0x1f6>
nopl   0x0(%rax,%rax,1)
mov    %r15,%rdi
call   1050 <pop@plt>
test   %rax,%rax
je     1366 <main+0x1f6>
mov    %r12,%rdi
call   1050 <pop@plt>
test   %rax,%rax
je     1366 <main+0x1f6>
movss  0xc(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
jmp    120c <main+0x9c>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r15,%rdi
call   1050 <pop@plt>
test   %rax,%rax
je     1366 <main+0x1f6>
mov    %r12,%rdi
call   1050 <pop@plt>
test   %rax,%rax
jne    1200 <main+0x90>
jmp    1366 <main+0x1f6>
mov    %r15,%rdi
call   1050 <pop@plt>
test   %rax,%rax
je     1366 <main+0x1f6>
mov    %r12,%rdi
call   1050 <pop@plt>
test   %rax,%rax
je     1366 <main+0x1f6>
movss  0xc(%rsp),%xmm0
mulss  0x8(%rsp),%xmm0
jmp    120c <main+0x9c>
mov    %r15,%rdi
call   1050 <pop@plt>
test   %rax,%rax
je     1366 <main+0x1f6>
mov    %r12,%rdi
call   1050 <pop@plt>
test   %rax,%rax
je     1366 <main+0x1f6>
movss  0xc(%rsp),%xmm0
divss  0x8(%rsp),%xmm0
jmp    120c <main+0x9c>
mov    0x2c6b(%rip),%rax
mov    (%rax),%edi
lea    0xc93(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0xffffffff,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%s\00"
@EOF = global i64 0
@.str.1 = [2 x i8] c"+\00"
@stderr = global i32 0
@.str.2 = [8 x i8] c"error!\0A\00"
@.str.3 = [2 x i8] c"-\00"
@.str.4 = [2 x i8] c"*\00"
@.str.5 = [2 x i8] c"/\00"
@.str.6 = [6 x i8] c"%.2f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [5 x i8]
%4 = alloca float
%5 = alloca float
store i32 0, i32* %1
br label %6
6: ; preds = %107, %0
%7 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 0
%8 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %7)
%9 = load i64, i64* @EOF
%10 = icmp ne i64 %8, %9
br i1 %10, label %11, label %108
11: ; preds = %6
%12 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 0
%13 = call i64 @strcmp(i8* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %30
15: ; preds = %11
%16 = call i64 @pop(float* %5)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %15
%19 = call i64 @pop(float* %4)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load float, float* %4
%23 = load float, float* %5
%24 = fadd float %22, %23
%25 = call i64 @push(float %24)
br label %29
26: ; preds = %18, %15
%27 = load i32, i32* @stderr
%28 = call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 -1, i32* %1
br label %125
29: ; preds = %21
br label %107
30: ; preds = %11
%31 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 0
%32 = call i64 @strcmp(i8* %31, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %49
34: ; preds = %30
%35 = call i64 @pop(float* %5)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %45
37: ; preds = %34
%38 = call i64 @pop(float* %4)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %45
40: ; preds = %37
%41 = load float, float* %4
%42 = load float, float* %5
%43 = fsub float %41, %42
%44 = call i64 @push(float %43)
br label %48
45: ; preds = %37, %34
%46 = load i32, i32* @stderr
%47 = call i32 @fprintf(i32 %46, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 -1, i32* %1
br label %125
48: ; preds = %40
br label %106
49: ; preds = %30
%50 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 0
%51 = call i64 @strcmp(i8* %50, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %68
53: ; preds = %49
%54 = call i64 @pop(float* %5)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %64
56: ; preds = %53
%57 = call i64 @pop(float* %4)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %64
59: ; preds = %56
%60 = load float, float* %4
%61 = load float, float* %5
%62 = fmul float %60, %61
%63 = call i64 @push(float %62)
br label %67
64: ; preds = %56, %53
%65 = load i32, i32* @stderr
%66 = call i32 @fprintf(i32 %65, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 -1, i32* %1
br label %125
67: ; preds = %59
br label %105
68: ; preds = %49
%69 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 0
%70 = call i64 @strcmp(i8* %69, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %87
72: ; preds = %68
%73 = call i64 @pop(float* %5)
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %83
75: ; preds = %72
%76 = call i64 @pop(float* %4)
%77 = icmp ne i64 %76, 0
br i1 %77, label %78, label %83
78: ; preds = %75
%79 = load float, float* %4
%80 = load float, float* %5
%81 = fdiv float %79, %80
%82 = call i64 @push(float %81)
br label %86
83: ; preds = %75, %72
%84 = load i32, i32* @stderr
%85 = call i32 @fprintf(i32 %84, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 -1, i32* %1
br label %125
86: ; preds = %78
br label %104
87: ; preds = %68
%88 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 0
%89 = call float @atof(i8* %88)
%90 = fcmp oeq float %89, 0.000000e+00
br i1 %90, label %91, label %94
91: ; preds = %87
%92 = load i32, i32* @stderr
%93 = call i32 @fprintf(i32 %92, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 -1, i32* %1
br label %125
94: ; preds = %87
%95 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 0
%96 = call float @atof(i8* %95)
%97 = call i64 @push(float %96)
%98 = icmp eq i64 %97, 0
br i1 %98, label %99, label %102
99: ; preds = %94
%100 = load i32, i32* @stderr
%101 = call i32 @fprintf(i32 %100, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 -1, i32* %1
br label %125
102: ; preds = %94
br label %103
103: ; preds = %102
br label %104
104: ; preds = %103, %86
br label %105
105: ; preds = %104, %67
br label %106
106: ; preds = %105, %48
br label %107
107: ; preds = %106, %29
br label %6
108: ; preds = %6
%109 = call i64 @pop(float* %5)
%110 = icmp ne i64 %109, 0
br i1 %110, label %111, label %121
111: ; preds = %108
%112 = call i64 @pop(float* %5)
%113 = icmp eq i64 %112, 0
br i1 %113, label %114, label %117
114: ; preds = %111
%115 = load i32, i32* @stderr
%116 = call i32 @fprintf(i32 %115, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 -1, i32* %1
br label %125
117: ; preds = %111
%118 = load float, float* %5
%119 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), float %118)
br label %120
120: ; preds = %117
br label %124
121: ; preds = %108
%122 = load i32, i32* @stderr
%123 = call i32 @fprintf(i32 %122, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 -1, i32* %1
br label %125
124: ; preds = %120
store i32 0, i32* %1
br label %125
125: ; preds = %124, %121, %114, %99, %91, %83, %64, %45, %26
%126 = load i32, i32* %1
ret i32 %126
}

LLVM IR (-O2):
@.str = [3 x i8] c"%s\00"
@EOF = global i64 0
@.str.1 = [2 x i8] c"+\00"
@stderr = global i32 0
@.str.2 = [8 x i8] c"error!\0A\00"
@.str.3 = [2 x i8] c"-\00"
@.str.4 = [2 x i8] c"*\00"
@.str.5 = [2 x i8] c"/\00"
@.str.6 = [6 x i8] c"%.2f\0A\00"
define i32 @main() {
%1 = alloca [5 x i8]
%2 = alloca float
%3 = alloca float
%4 = getelementptr inbounds [5 x i8], [5 x i8]* %1, i64 0, i64 0
%5 = bitcast float* %2 to i8*
%6 = bitcast float* %3 to i8*
%7 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %4)
%8 = load i64, i64* @EOF
%9 = icmp eq i64 %7, %8
br i1 %9, label %93, label %10
10: ; preds = %0, %89
%11 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %26
13: ; preds = %10
%14 = call i64 @pop(float* %3)
%15 = icmp eq i64 %14, 0
br i1 %15, label %23, label %16
16: ; preds = %13
%17 = call i64 @pop(float* %2)
%18 = icmp eq i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %16
%20 = load float, float* %2
%21 = load float, float* %3
%22 = fadd float %20, %21
br label %86
23: ; preds = %16, %13
%24 = load i32, i32* @stderr
%25 = call i32 @fprintf(i32 %24, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %108
26: ; preds = %10
%27 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %42
29: ; preds = %26
%30 = call i64 @pop(float* %3)
%31 = icmp eq i64 %30, 0
br i1 %31, label %39, label %32
32: ; preds = %29
%33 = call i64 @pop(float* %2)
%34 = icmp eq i64 %33, 0
br i1 %34, label %39, label %35
35: ; preds = %32
%36 = load float, float* %2
%37 = load float, float* %3
%38 = fsub float %36, %37
br label %86
39: ; preds = %32, %29
%40 = load i32, i32* @stderr
%41 = call i32 @fprintf(i32 %40, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %108
42: ; preds = %26
%43 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %58
45: ; preds = %42
%46 = call i64 @pop(float* %3)
%47 = icmp eq i64 %46, 0
br i1 %47, label %55, label %48
48: ; preds = %45
%49 = call i64 @pop(float* %2)
%50 = icmp eq i64 %49, 0
br i1 %50, label %55, label %51
51: ; preds = %48
%52 = load float, float* %2
%53 = load float, float* %3
%54 = fmul float %52, %53
br label %86
55: ; preds = %48, %45
%56 = load i32, i32* @stderr
%57 = call i32 @fprintf(i32 %56, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %108
58: ; preds = %42
%59 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %74
61: ; preds = %58
%62 = call i64 @pop(float* %3)
%63 = icmp eq i64 %62, 0
br i1 %63, label %71, label %64
64: ; preds = %61
%65 = call i64 @pop(float* %2)
%66 = icmp eq i64 %65, 0
br i1 %66, label %71, label %67
67: ; preds = %64
%68 = load float, float* %2
%69 = load float, float* %3
%70 = fdiv float %68, %69
br label %86
71: ; preds = %64, %61
%72 = load i32, i32* @stderr
%73 = call i32 @fprintf(i32 %72, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %108
74: ; preds = %58
%75 = call float @atof(i8* %4)
%76 = fcmp oeq float %75, 0.000000e+00
br i1 %76, label %77, label %80
77: ; preds = %74
%78 = load i32, i32* @stderr
%79 = call i32 @fprintf(i32 %78, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %108
80: ; preds = %74
%81 = call i64 @push(float %75)
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %89
83: ; preds = %80
%84 = load i32, i32* @stderr
%85 = call i32 @fprintf(i32 %84, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %108
86: ; preds = %19, %51, %67, %35
%87 = phi float [ %38, %35 ], [ %70, %67 ], [ %54, %51 ], [ %22, %19 ]
%88 = call i64 @push(float %87)
br label %89
89: ; preds = %86, %80
%90 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %4)
%91 = load i64, i64* @EOF
%92 = icmp eq i64 %90, %91
br i1 %92, label %93, label %10
93: ; preds = %89, %0
%94 = call i64 @pop(float* %3)
%95 = icmp eq i64 %94, 0
br i1 %95, label %105, label %96
96: ; preds = %93
%97 = call i64 @pop(float* %3)
%98 = icmp eq i64 %97, 0
br i1 %98, label %99, label %102
99: ; preds = %96
%100 = load i32, i32* @stderr
%101 = call i32 @fprintf(i32 %100, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %108
102: ; preds = %96
%103 = load float, float* %3
%104 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), float %103)
br label %108
105: ; preds = %93
%106 = load i32, i32* @stderr
%107 = call i32 @fprintf(i32 %106, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %108
108: ; preds = %102, %105, %99, %83, %77, %71, %55, %39, %23
%109 = phi i32 [ -1, %23 ], [ -1, %39 ], [ -1, %55 ], [ -1, %71 ], [ -1, %77 ], [ -1, %83 ], [ -1, %99 ], [ 0, %102 ], [ -1, %105 ]
ret i32 %109
}