#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 */
double acos(double);
double asin(double);
double atan(double);
double atan2(double, double);
double atof(char *);
double ceil(double);
double cos(double);
double cosh(double);
double exp(double);
double fabs(double);
double floor(double);
double fmod(double, double);
scalar_t__ islower(char);
double ldexp(double, double);
double log(double);
double log10(double);
int /*<<< orphan*/ next_word(char *, char *, int *);
scalar_t__ num_match(char *);
double pop(double *, int *);
double pow(double, double);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ push(double *, int *, double);
double sin(double);
double sinh(double);
double sqrt(double);
scalar_t__ str_match(char *, char *);
double tan(double);
double tanh(double);
double evaluate(char sb[], double nb[], double vb[], int i[], double l) {
  char word[100];
  double dd;
  while (sb[i[0]] != '\0') {
    next_word(sb, word, i);
    if (num_match(word))
      push(nb, i, atof(word));
    else if (islower(word[0]) && word[1] == '\0') {
      i[2] = word[0] - 'a';
      push(nb, i, vb[word[0] - 'a']);
    } else if (str_match(word, "last"))
      push(nb, i, l);
    else if (str_match(word, "sin"))
      push(nb, i, sin(pop(nb, i)));
    else if (str_match(word, "cos"))
      push(nb, i, cos(pop(nb, i)));
    else if (str_match(word, "tan"))
      push(nb, i, tan(pop(nb, i)));
    else if (str_match(word, "asin"))
      push(nb, i, asin(pop(nb, i)));
    else if (str_match(word, "acos"))
      push(nb, i, acos(pop(nb, i)));
    else if (str_match(word, "atan"))
      push(nb, i, atan(pop(nb, i)));
    else if (str_match(word, "atan2"))
      push(nb, i, atan2(pop(nb, i), pop(nb, i)));
    else if (str_match(word, "sinh"))
      push(nb, i, sinh(pop(nb, i)));
    else if (str_match(word, "cosh"))
      push(nb, i, cosh(pop(nb, i)));
    else if (str_match(word, "tanh"))
      push(nb, i, tanh(pop(nb, i)));
    else if (str_match(word, "exp"))
      push(nb, i, exp(pop(nb, i)));
    else if (str_match(word, "log"))
      push(nb, i, log(pop(nb, i)));
    else if (str_match(word, "log10"))
      push(nb, i, log10(pop(nb, i)));
    else if (str_match(word, "pow"))
      push(nb, i, pow(pop(nb, i), pop(nb, i)));
    else if (str_match(word, "sqrt"))
      push(nb, i, sqrt(pop(nb, i)));
    else if (str_match(word, "ceil"))
      push(nb, i, ceil(pop(nb, i)));
    else if (str_match(word, "floor"))
      push(nb, i, floor(pop(nb, i)));
    else if (str_match(word, "fabs"))
      push(nb, i, fabs(pop(nb, i)));
    else if (str_match(word, "ldexp"))
      push(nb, i, ldexp(pop(nb, i), pop(nb, i)));
    else if (str_match(word, "fmod"))
      push(nb, i, fmod(pop(nb, i), pop(nb, i)));
    else if (str_match(word, "+"))
      push(nb, i, pop(nb, i) + pop(nb, i));
    else if (str_match(word, "-")) {
      dd = pop(nb, i);
      push(nb, i, pop(nb, i) - dd);
    } else if (str_match(word, "*"))
      push(nb, i, pop(nb, i) * pop(nb, i));
    else if (str_match(word, "/")) {
      dd = pop(nb, i);
      if (dd != 0.0)
        push(nb, i, pop(nb, i) / dd);
      else
        printf("evaluate(): Zero divisor.\n");
    } else if (str_match(word, "%")) {
      dd = pop(nb, i);
      if (dd != 0.0)
        push(nb, i, (int)pop(nb, i) % (int)dd);
      else
        printf("evaluate(): Zero divisor.\n");
    } else if (str_match(word, "=")) {
      pop(nb, i);
      vb[i[2]] = pop(nb, i);
    } else if (str_match(word, "top"))
      printf("Top of number stack = %f\n", nb[i[1] - 1]);
    else if (str_match(word, "dup"))
      push(nb, i, nb[i[1] - 1]);
    else if (str_match(word, "clear")) {
      i[1] = 0;
      sb[i[0]] = '\0';
    } else if (str_match(word, "swap")) {
      dd = pop(nb, i);
      nb[i[1]] = nb[i[1] - 1];
      nb[i[1] - 1] = dd;
    } else
      printf("evaluate(): Unknown command [%s]\n", word);
  }
  dd = (i[1] == 1) ? pop(nb, i) : 0.0;
  i[0] = i[1] = 0;
  return dd;
}


x86 assembly (clang, -O0):
<evaluate>:
push   %rbp
mov    %rsp,%rbp
sub    $0x270,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movsd  %xmm0,-0x28(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x20(%rbp),%rcx
movslq (%rcx),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
je     20bb <evaluate+0xe0b>
mov    -0x8(%rbp),%rdi
lea    -0x90(%rbp),%rsi
mov    -0x20(%rbp),%rdx
call   1080 <next_word@plt>
lea    -0x90(%rbp),%rdi
call   1140 <num_match@plt>
cmp    $0x0,%rax
je     134c <evaluate+0x9c>
mov    -0x10(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0xa0(%rbp)
lea    -0x90(%rbp),%rdi
call   1060 <atof@plt>
mov    -0xa8(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1180 <push@plt>
jmp    20b6 <evaluate+0xe06>
movsbl -0x90(%rbp),%edi
call   1050 <islower@plt>
cmp    $0x0,%rax
je     13ab <evaluate+0xfb>
movsbl -0x8f(%rbp),%eax
cmp    $0x0,%eax
jne    13ab <evaluate+0xfb>
movsbl -0x90(%rbp),%ecx
sub    $0x61,%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x18(%rbp),%rax
movsbl -0x90(%rbp),%ecx
sub    $0x61,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1180 <push@plt>
jmp    20b1 <evaluate+0xe01>
lea    -0x90(%rbp),%rdi
lea    0x1c57(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     13df <evaluate+0x12f>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
movsd  -0x28(%rbp),%xmm0
call   1180 <push@plt>
jmp    20ac <evaluate+0xdfc>
lea    -0x90(%rbp),%rdi
lea    0x1c29(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     143c <evaluate+0x18c>
mov    -0x10(%rbp),%rax
mov    %rax,-0xb8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0xb0(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   1100 <sin@plt>
mov    -0xb8(%rbp),%rdi
mov    -0xb0(%rbp),%rsi
call   1180 <push@plt>
jmp    20a7 <evaluate+0xdf7>
lea    -0x90(%rbp),%rdi
lea    0x1bd1(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1499 <evaluate+0x1e9>
mov    -0x10(%rbp),%rax
mov    %rax,-0xc8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0xc0(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   1170 <cos@plt>
mov    -0xc8(%rbp),%rdi
mov    -0xc0(%rbp),%rsi
call   1180 <push@plt>
jmp    20a2 <evaluate+0xdf2>
lea    -0x90(%rbp),%rdi
lea    0x1b79(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     14f6 <evaluate+0x246>
mov    -0x10(%rbp),%rax
mov    %rax,-0xd8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0xd0(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   1150 <tan@plt>
mov    -0xd8(%rbp),%rdi
mov    -0xd0(%rbp),%rsi
call   1180 <push@plt>
jmp    209d <evaluate+0xded>
lea    -0x90(%rbp),%rdi
lea    0x1b11(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1553 <evaluate+0x2a3>
mov    -0x10(%rbp),%rax
mov    %rax,-0xe8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0xe0(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   1120 <asin@plt>
mov    -0xe8(%rbp),%rdi
mov    -0xe0(%rbp),%rsi
call   1180 <push@plt>
jmp    2098 <evaluate+0xde8>
lea    -0x90(%rbp),%rdi
lea    0x1ab9(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     15b0 <evaluate+0x300>
mov    -0x10(%rbp),%rax
mov    %rax,-0xf8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0xf0(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   10e0 <acos@plt>
mov    -0xf8(%rbp),%rdi
mov    -0xf0(%rbp),%rsi
call   1180 <push@plt>
jmp    2093 <evaluate+0xde3>
lea    -0x90(%rbp),%rdi
lea    0x1a61(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     160d <evaluate+0x35d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x108(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x100(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   1110 <atan@plt>
mov    -0x108(%rbp),%rdi
mov    -0x100(%rbp),%rsi
call   1180 <push@plt>
jmp    208e <evaluate+0xdde>
lea    -0x90(%rbp),%rdi
lea    0x1a09(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     168a <evaluate+0x3da>
mov    -0x10(%rbp),%rax
mov    %rax,-0x118(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x110(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x120(%rbp)
ff
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movaps %xmm0,%xmm1
movsd  -0x120(%rbp),%xmm0
ff
call   1090 <atan2@plt>
mov    -0x118(%rbp),%rdi
mov    -0x110(%rbp),%rsi
call   1180 <push@plt>
jmp    2089 <evaluate+0xdd9>
lea    -0x90(%rbp),%rdi
lea    0x1992(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     16e7 <evaluate+0x437>
mov    -0x10(%rbp),%rax
mov    %rax,-0x130(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x128(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   1040 <sinh@plt>
mov    -0x130(%rbp),%rdi
mov    -0x128(%rbp),%rsi
call   1180 <push@plt>
jmp    2084 <evaluate+0xdd4>
lea    -0x90(%rbp),%rdi
lea    0x193a(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1744 <evaluate+0x494>
mov    -0x10(%rbp),%rax
mov    %rax,-0x140(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x138(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   10b0 <cosh@plt>
mov    -0x140(%rbp),%rdi
mov    -0x138(%rbp),%rsi
call   1180 <push@plt>
jmp    207f <evaluate+0xdcf>
lea    -0x90(%rbp),%rdi
lea    0x18e2(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     17a1 <evaluate+0x4f1>
mov    -0x10(%rbp),%rax
mov    %rax,-0x150(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x148(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   10a0 <tanh@plt>
mov    -0x150(%rbp),%rdi
mov    -0x148(%rbp),%rsi
call   1180 <push@plt>
jmp    207a <evaluate+0xdca>
lea    -0x90(%rbp),%rdi
lea    0x18af(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     17fe <evaluate+0x54e>
mov    -0x10(%rbp),%rax
mov    %rax,-0x160(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x158(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   1130 <exp@plt>
mov    -0x160(%rbp),%rdi
mov    -0x158(%rbp),%rsi
call   1180 <push@plt>
jmp    2075 <evaluate+0xdc5>
lea    -0x90(%rbp),%rdi
lea    0x182d(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     185b <evaluate+0x5ab>
mov    -0x10(%rbp),%rax
mov    %rax,-0x170(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x168(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   1190 <log@plt>
mov    -0x170(%rbp),%rdi
mov    -0x168(%rbp),%rsi
call   1180 <push@plt>
jmp    2070 <evaluate+0xdc0>
lea    -0x90(%rbp),%rdi
lea    0x17d4(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     18b8 <evaluate+0x608>
mov    -0x10(%rbp),%rax
mov    %rax,-0x180(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x178(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   11b0 <log10@plt>
mov    -0x180(%rbp),%rdi
mov    -0x178(%rbp),%rsi
call   1180 <push@plt>
jmp    206b <evaluate+0xdbb>
lea    -0x90(%rbp),%rdi
lea    0x177d(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1935 <evaluate+0x685>
mov    -0x10(%rbp),%rax
mov    %rax,-0x190(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x188(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x198(%rbp)
ff
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movaps %xmm0,%xmm1
movsd  -0x198(%rbp),%xmm0
ff
call   11a0 <pow@plt>
mov    -0x190(%rbp),%rdi
mov    -0x188(%rbp),%rsi
call   1180 <push@plt>
jmp    2066 <evaluate+0xdb6>
lea    -0x90(%rbp),%rdi
lea    0x1704(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1992 <evaluate+0x6e2>
mov    -0x10(%rbp),%rax
mov    %rax,-0x1a8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x1a0(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   11c0 <sqrt@plt>
mov    -0x1a8(%rbp),%rdi
mov    -0x1a0(%rbp),%rsi
call   1180 <push@plt>
jmp    2061 <evaluate+0xdb1>
lea    -0x90(%rbp),%rdi
lea    0x16ac(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     19ef <evaluate+0x73f>
mov    -0x10(%rbp),%rax
mov    %rax,-0x1b8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x1b0(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   1070 <ceil@plt>
mov    -0x1b8(%rbp),%rdi
mov    -0x1b0(%rbp),%rsi
call   1180 <push@plt>
jmp    205c <evaluate+0xdac>
lea    -0x90(%rbp),%rdi
lea    0x1654(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1a4c <evaluate+0x79c>
mov    -0x10(%rbp),%rax
mov    %rax,-0x1c8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x1c0(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
call   11d0 <floor@plt>
mov    -0x1c8(%rbp),%rdi
mov    -0x1c0(%rbp),%rsi
call   1180 <push@plt>
jmp    2057 <evaluate+0xda7>
lea    -0x90(%rbp),%rdi
lea    0x15fd(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1aaf <evaluate+0x7ff>
mov    -0x10(%rbp),%rax
mov    %rax,-0x1d8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x1d0(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
mov    -0x1d8(%rbp),%rdi
mov    -0x1d0(%rbp),%rsi
movaps 0x155f(%rip),%xmm1
pand   %xmm1,%xmm0
call   1180 <push@plt>
jmp    2052 <evaluate+0xda2>
lea    -0x90(%rbp),%rdi
lea    0x159f(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1b2c <evaluate+0x87c>
mov    -0x10(%rbp),%rax
mov    %rax,-0x1e8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x1e0(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x1f0(%rbp)
ff
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movaps %xmm0,%xmm1
movsd  -0x1f0(%rbp),%xmm0
ff
call   1030 <ldexp@plt>
mov    -0x1e8(%rbp),%rdi
mov    -0x1e0(%rbp),%rsi
call   1180 <push@plt>
jmp    204d <evaluate+0xd9d>
lea    -0x90(%rbp),%rdi
lea    0x1528(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1ba9 <evaluate+0x8f9>
mov    -0x10(%rbp),%rax
mov    %rax,-0x200(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x1f8(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x208(%rbp)
ff
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movaps %xmm0,%xmm1
movsd  -0x208(%rbp),%xmm0
ff
call   10d0 <fmod@plt>
mov    -0x200(%rbp),%rdi
mov    -0x1f8(%rbp),%rsi
call   1180 <push@plt>
jmp    2048 <evaluate+0xd98>
lea    -0x90(%rbp),%rdi
lea    0x14b0(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1c25 <evaluate+0x975>
mov    -0x10(%rbp),%rax
mov    %rax,-0x220(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x218(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x210(%rbp)
ff
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
mov    -0x220(%rbp),%rdi
mov    -0x218(%rbp),%rsi
movaps %xmm0,%xmm1
movsd  -0x210(%rbp),%xmm0
ff
addsd  %xmm1,%xmm0
call   1180 <push@plt>
jmp    2043 <evaluate+0xd93>
lea    -0x90(%rbp),%rdi
lea    0x1436(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1c9a <evaluate+0x9ea>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    %rax,-0x230(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x228(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
mov    -0x230(%rbp),%rdi
mov    -0x228(%rbp),%rsi
subsd  -0x98(%rbp),%xmm0
ff
call   1180 <push@plt>
jmp    203e <evaluate+0xd8e>
lea    -0x90(%rbp),%rdi
lea    0x13c3(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1d16 <evaluate+0xa66>
mov    -0x10(%rbp),%rax
mov    %rax,-0x248(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x240(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x238(%rbp)
ff
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
mov    -0x248(%rbp),%rdi
mov    -0x240(%rbp),%rsi
movaps %xmm0,%xmm1
movsd  -0x238(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
call   1180 <push@plt>
jmp    2039 <evaluate+0xd89>
lea    -0x90(%rbp),%rdi
lea    0x1349(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1dbe <evaluate+0xb0e>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1d68 <evaluate+0xab8>
jp     1d68 <evaluate+0xab8>
jmp    1dab <evaluate+0xafb>
mov    -0x10(%rbp),%rax
mov    %rax,-0x258(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x250(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
mov    -0x258(%rbp),%rdi
mov    -0x250(%rbp),%rsi
divsd  -0x98(%rbp),%xmm0
ff
call   1180 <push@plt>
jmp    1db9 <evaluate+0xb09>
lea    0x12bd(%rip),%rdi
mov    $0x0,%al
call   10c0 <printf@plt>
jmp    2034 <evaluate+0xd84>
lea    -0x90(%rbp),%rdi
lea    0x12be(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1e71 <evaluate+0xbc1>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1e10 <evaluate+0xb60>
jp     1e10 <evaluate+0xb60>
jmp    1e5e <evaluate+0xbae>
mov    -0x10(%rbp),%rax
mov    %rax,-0x268(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x260(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
mov    -0x268(%rbp),%rdi
mov    -0x260(%rbp),%rsi
cvttsd2si %xmm0,%eax
cvttsd2si -0x98(%rbp),%ecx
ff
cltd
idiv   %ecx
cvtsi2sd %edx,%xmm0
call   1180 <push@plt>
jmp    1e6c <evaluate+0xbbc>
lea    0x120a(%rip),%rdi
mov    $0x0,%al
call   10c0 <printf@plt>
jmp    202f <evaluate+0xd7f>
lea    -0x90(%rbp),%rdi
lea    0x120d(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1ebe <evaluate+0xc0e>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%rcx
movslq 0x8(%rcx),%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    202a <evaluate+0xd7a>
lea    -0x90(%rbp),%rdi
lea    0x11c2(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1f04 <evaluate+0xc54>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    0x4(%rcx),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0x119a(%rip),%rdi
mov    $0x1,%al
call   10c0 <printf@plt>
jmp    2025 <evaluate+0xd75>
lea    -0x90(%rbp),%rdi
lea    0x119a(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1f49 <evaluate+0xc99>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    0x4(%rcx),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1180 <push@plt>
jmp    2020 <evaluate+0xd70>
lea    -0x90(%rbp),%rdi
lea    0x1159(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     1f85 <evaluate+0xcd5>
mov    -0x20(%rbp),%rax
movl   $0x0,0x4(%rax)
mov    -0x8(%rbp),%rax
mov    -0x20(%rbp),%rcx
movslq (%rcx),%rcx
movb   $0x0,(%rax,%rcx,1)
jmp    201b <evaluate+0xd6b>
lea    -0x90(%rbp),%rdi
lea    0x1123(%rip),%rsi
call   1160 <str_match@plt>
cmp    $0x0,%rax
je     2001 <evaluate+0xd51>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    0x4(%rcx),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movslq 0x4(%rcx),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    0x4(%rcx),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    2016 <evaluate+0xd66>
lea    -0x90(%rbp),%rsi
lea    0x10ac(%rip),%rdi
mov    $0x0,%al
call   10c0 <printf@plt>
jmp    201b <evaluate+0xd6b>
jmp    2020 <evaluate+0xd70>
jmp    2025 <evaluate+0xd75>
jmp    202a <evaluate+0xd7a>
jmp    202f <evaluate+0xd7f>
jmp    2034 <evaluate+0xd84>
jmp    2039 <evaluate+0xd89>
jmp    203e <evaluate+0xd8e>
jmp    2043 <evaluate+0xd93>
jmp    2048 <evaluate+0xd98>
jmp    204d <evaluate+0xd9d>
jmp    2052 <evaluate+0xda2>
jmp    2057 <evaluate+0xda7>
jmp    205c <evaluate+0xdac>
jmp    2061 <evaluate+0xdb1>
jmp    2066 <evaluate+0xdb6>
jmp    206b <evaluate+0xdbb>
jmp    2070 <evaluate+0xdc0>
jmp    2075 <evaluate+0xdc5>
jmp    207a <evaluate+0xdca>
jmp    207f <evaluate+0xdcf>
jmp    2084 <evaluate+0xdd4>
jmp    2089 <evaluate+0xdd9>
jmp    208e <evaluate+0xdde>
jmp    2093 <evaluate+0xde3>
jmp    2098 <evaluate+0xde8>
jmp    209d <evaluate+0xded>
jmp    20a2 <evaluate+0xdf2>
jmp    20a7 <evaluate+0xdf7>
jmp    20ac <evaluate+0xdfc>
jmp    20b1 <evaluate+0xe01>
jmp    20b6 <evaluate+0xe06>
jmp    12d0 <evaluate+0x20>
mov    -0x20(%rbp),%rax
cmpl   $0x1,0x4(%rax)
jne    20e3 <evaluate+0xe33>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <pop@plt>
movsd  %xmm0,-0x270(%rbp)
ff
jmp    20f3 <evaluate+0xe43>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x270(%rbp)
ff
jmp    20f3 <evaluate+0xe43>
movsd  -0x270(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x20(%rbp),%rax
movl   $0x0,0x4(%rax)
mov    -0x20(%rbp),%rax
movl   $0x0,(%rax)
movsd  -0x98(%rbp),%xmm0
ff
add    $0x270,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<evaluate>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
movsd  %xmm0,0x8(%rsp)
mov    %rcx,%rbx
mov    %rsi,%r14
movslq (%rcx),%rax
cmpb   $0x0,(%rdi,%rax,1)
je     199c <evaluate+0x6dc>
mov    %rdx,%r15
mov    %rdi,%r12
lea    0x10(%rsp),%r13
lea    0xd1f(%rip),%rbp
nopl   0x0(%rax)
mov    %r12,%rdi
mov    %r13,%rsi
mov    %rbx,%rdx
call   1090 <next_word@plt>
mov    %r13,%rdi
call   1150 <num_match@plt>
test   %rax,%rax
je     1330 <evaluate+0x70>
mov    %r13,%rdi
call   1070 <atof@plt>
jmp    135c <evaluate+0x9c>
cs nopw 0x0(%rax,%rax,1)
nop
movsbl 0x10(%rsp),%edi
call   1050 <islower@plt>
test   %rax,%rax
je     1376 <evaluate+0xb6>
cmpb   $0x0,0x11(%rsp)
jne    1376 <evaluate+0xb6>
movsbq 0x10(%rsp),%rax
lea    -0x61(%rax),%ecx
mov    %ecx,0x8(%rbx)
movsd  -0x308(%r15,%rax,8),%xmm0
fc ff ff
mov    %r14,%rdi
mov    %rbx,%rsi
call   1190 <push@plt>
movslq (%rbx),%rax
cmpb   $0x0,(%r12,%rax,1)
jne    1300 <evaluate+0x40>
jmp    199c <evaluate+0x6dc>
mov    %r13,%rdi
mov    %rbp,%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1394 <evaluate+0xd4>
mov    %r14,%rdi
mov    %rbx,%rsi
movsd  0x8(%rsp),%xmm0
jmp    1362 <evaluate+0xa2>
mov    %r13,%rdi
lea    0xc80(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     13ba <evaluate+0xfa>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   1110 <sin@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xc5f(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     13e3 <evaluate+0x123>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   1180 <cos@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xc3b(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     140c <evaluate+0x14c>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   1160 <tan@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xc07(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1435 <evaluate+0x175>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   1130 <asin@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xbe3(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     145e <evaluate+0x19e>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   10f0 <acos@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xbbf(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1487 <evaluate+0x1c7>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   1120 <atan@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xb9b(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     14c9 <evaluate+0x209>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movsd  %xmm0,(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movapd %xmm0,%xmm1
movsd  (%rsp),%xmm0
call   10a0 <atan2@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xb5f(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     14f2 <evaluate+0x232>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   1040 <sinh@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xb3b(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     151b <evaluate+0x25b>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   10c0 <cosh@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xb17(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1544 <evaluate+0x284>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   10b0 <tanh@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xb18(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     156d <evaluate+0x2ad>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   1140 <exp@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xaca(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1596 <evaluate+0x2d6>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   11a0 <log@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xaa5(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     15bf <evaluate+0x2ff>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   11c0 <log10@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xa82(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1601 <evaluate+0x341>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movsd  %xmm0,(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movapd %xmm0,%xmm1
movsd  (%rsp),%xmm0
call   11b0 <pow@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xa44(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1633 <evaluate+0x373>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
ucomisd 0x9e8(%rip),%xmm0
jb     165c <evaluate+0x39c>
sqrtsd %xmm0,%xmm0
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0xa17(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1666 <evaluate+0x3a6>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   1080 <ceil@plt>
jmp    135c <evaluate+0x9c>
call   11d0 <sqrt@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0x9e9(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     168f <evaluate+0x3cf>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
call   11e0 <floor@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0x9c6(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     16bb <evaluate+0x3fb>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
andpd  0x94a(%rip),%xmm0
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0x99f(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     16fd <evaluate+0x43d>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movsd  %xmm0,(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movapd %xmm0,%xmm1
movsd  (%rsp),%xmm0
call   1030 <ldexp@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0x963(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     173f <evaluate+0x47f>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movsd  %xmm0,(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movapd %xmm0,%xmm1
movsd  (%rsp),%xmm0
call   10e0 <fmod@plt>
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0x926(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1778 <evaluate+0x4b8>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movsd  %xmm0,(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
addsd  (%rsp),%xmm0
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0x8ef(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     17b1 <evaluate+0x4f1>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movsd  %xmm0,(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
subsd  (%rsp),%xmm0
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0x8b8(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     17ea <evaluate+0x52a>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movsd  %xmm0,(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
mulsd  (%rsp),%xmm0
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0x881(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     182f <evaluate+0x56f>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movsd  %xmm0,(%rsp)
ucomisd 0x7fa(%rip),%xmm0
jne    181a <evaluate+0x55a>
jnp    1882 <evaluate+0x5c2>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
divsd  (%rsp),%xmm0
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0x83e(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1893 <evaluate+0x5d3>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movsd  %xmm0,(%rsp)
ucomisd 0x7b5(%rip),%xmm0
jne    185f <evaluate+0x59f>
jnp    1882 <evaluate+0x5c2>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
cvttsd2si %xmm0,%eax
cvttsd2si (%rsp),%ecx
cltd
idiv   %ecx
xorps  %xmm0,%xmm0
cvtsi2sd %edx,%xmm0
jmp    135c <evaluate+0x9c>
lea    0x841(%rip),%rdi
call   1060 <puts@plt>
jmp    1367 <evaluate+0xa7>
mov    %r13,%rdi
lea    0x7dc(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     18cc <evaluate+0x60c>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movslq 0x8(%rbx),%rax
movsd  %xmm0,(%r15,%rax,8)
jmp    1367 <evaluate+0xa7>
mov    %r13,%rdi
lea    0x7a5(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     18fe <evaluate+0x63e>
movslq 0x4(%rbx),%rax
movsd  -0x8(%r14,%rax,8),%xmm0
lea    0x78d(%rip),%rdi
mov    $0x1,%al
call   10d0 <printf@plt>
jmp    1367 <evaluate+0xa7>
mov    %r13,%rdi
lea    0x791(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1922 <evaluate+0x662>
movslq 0x4(%rbx),%rax
movsd  -0x8(%r14,%rax,8),%xmm0
jmp    135c <evaluate+0x9c>
mov    %r13,%rdi
lea    0x771(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     194a <evaluate+0x68a>
movl   $0x0,0x4(%rbx)
movslq (%rbx),%rax
movb   $0x0,(%r12,%rax,1)
jmp    1367 <evaluate+0xa7>
mov    %r13,%rdi
lea    0x74f(%rip),%rsi
call   1170 <str_match@plt>
test   %rax,%rax
je     1986 <evaluate+0x6c6>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movslq 0x4(%rbx),%rax
movsd  -0x8(%r14,%rax,8),%xmm1
movsd  %xmm1,(%r14,%rax,8)
movsd  %xmm0,-0x8(%r14,%rax,8)
jmp    1367 <evaluate+0xa7>
lea    0x71b(%rip),%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   10d0 <printf@plt>
jmp    1367 <evaluate+0xa7>
xorpd  %xmm0,%xmm0
cmpl   $0x1,0x4(%rbx)
jne    19b1 <evaluate+0x6f1>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1100 <pop@plt>
movq   $0x0,(%rbx)
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c"last\00"
@.str.1 = [4 x i8] c"sin\00"
@.str.2 = [4 x i8] c"cos\00"
@.str.3 = [4 x i8] c"tan\00"
@.str.4 = [5 x i8] c"asin\00"
@.str.5 = [5 x i8] c"acos\00"
@.str.6 = [5 x i8] c"atan\00"
@.str.7 = [6 x i8] c"atan2\00"
@.str.8 = [5 x i8] c"sinh\00"
@.str.9 = [5 x i8] c"cosh\00"
@.str.10 = [5 x i8] c"tanh\00"
@.str.11 = [4 x i8] c"exp\00"
@.str.12 = [4 x i8] c"log\00"
@.str.13 = [6 x i8] c"log10\00"
@.str.14 = [4 x i8] c"pow\00"
@.str.15 = [5 x i8] c"sqrt\00"
@.str.16 = [5 x i8] c"ceil\00"
@.str.17 = [6 x i8] c"floor\00"
@.str.18 = [5 x i8] c"fabs\00"
@.str.19 = [6 x i8] c"ldexp\00"
@.str.20 = [5 x i8] c"fmod\00"
@.str.21 = [2 x i8] c"+\00"
@.str.22 = [2 x i8] c"-\00"
@.str.23 = [2 x i8] c"*\00"
@.str.24 = [2 x i8] c"/\00"
@.str.25 = [27 x i8] c"evaluate(): Zero divisor.\0A\00"
@.str.26 = [2 x i8] c"%\00"
@.str.27 = [2 x i8] c"=\00"
@.str.28 = [4 x i8] c"top\00"
@.str.29 = [26 x i8] c"Top of number stack = %f\0A\00"
@.str.30 = [4 x i8] c"dup\00"
@.str.31 = [6 x i8] c"clear\00"
@.str.32 = [5 x i8] c"swap\00"
@.str.33 = [34 x i8] c"evaluate(): Unknown command [%s]\0A\00"
define double @evaluate(i8* %0, double* %1, double* %2, i32* %3, double %4) {
%6 = alloca i8*
%7 = alloca double*
%8 = alloca double*
%9 = alloca i32*
%10 = alloca double
%11 = alloca [100 x i8]
%12 = alloca double
store i8* %0, i8** %6
store double* %1, double** %7
store double* %2, double** %8
store i32* %3, i32** %9
store double %4, double* %10
br label %13
13: ; preds = %544, %5
%14 = load i8*, i8** %6
%15 = load i32*, i32** %9
%16 = getelementptr inbounds i32, i32* %15, i64 0
%17 = load i32, i32* %16
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, i8* %14, i64 %18
%20 = load i8, i8* %19
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %545
23: ; preds = %13
%24 = load i8*, i8** %6
%25 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%26 = load i32*, i32** %9
%27 = call i32 @next_word(i8* %24, i8* %25, i32* %26)
%28 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%29 = call i64 @num_match(i8* %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %23
%32 = load double*, double** %7
%33 = load i32*, i32** %9
%34 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%35 = call double @atof(i8* %34)
%36 = call i32 @push(double* %32, i32* %33, double %35)
br label %544
37: ; preds = %23
%38 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%39 = load i8, i8* %38
%40 = call i64 @islower(i8 signext %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %65
42: ; preds = %37
%43 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 1
%44 = load i8, i8* %43
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %65
47: ; preds = %42
%48 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%49 = load i8, i8* %48
%50 = sext i8 %49 to i32
%51 = sub nsw i32 %50, 97
%52 = load i32*, i32** %9
%53 = getelementptr inbounds i32, i32* %52, i64 2
store i32 %51, i32* %53
%54 = load double*, double** %7
%55 = load i32*, i32** %9
%56 = load double*, double** %8
%57 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%58 = load i8, i8* %57
%59 = sext i8 %58 to i32
%60 = sub nsw i32 %59, 97
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, double* %56, i64 %61
%63 = load double, double* %62
%64 = call i32 @push(double* %54, i32* %55, double %63)
br label %543
65: ; preds = %42, %37
%66 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%67 = call i64 @str_match(i8* %66, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %74
69: ; preds = %65
%70 = load double*, double** %7
%71 = load i32*, i32** %9
%72 = load double, double* %10
%73 = call i32 @push(double* %70, i32* %71, double %72)
br label %542
74: ; preds = %65
%75 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%76 = call i64 @str_match(i8* %75, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%77 = icmp ne i64 %76, 0
br i1 %77, label %78, label %86
78: ; preds = %74
%79 = load double*, double** %7
%80 = load i32*, i32** %9
%81 = load double*, double** %7
%82 = load i32*, i32** %9
%83 = call double @pop(double* %81, i32* %82)
%84 = call double @sin(double %83)
%85 = call i32 @push(double* %79, i32* %80, double %84)
br label %541
86: ; preds = %74
%87 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%88 = call i64 @str_match(i8* %87, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%89 = icmp ne i64 %88, 0
br i1 %89, label %90, label %98
90: ; preds = %86
%91 = load double*, double** %7
%92 = load i32*, i32** %9
%93 = load double*, double** %7
%94 = load i32*, i32** %9
%95 = call double @pop(double* %93, i32* %94)
%96 = call double @cos(double %95)
%97 = call i32 @push(double* %91, i32* %92, double %96)
br label %540
98: ; preds = %86
%99 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%100 = call i64 @str_match(i8* %99, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%101 = icmp ne i64 %100, 0
br i1 %101, label %102, label %110
102: ; preds = %98
%103 = load double*, double** %7
%104 = load i32*, i32** %9
%105 = load double*, double** %7
%106 = load i32*, i32** %9
%107 = call double @pop(double* %105, i32* %106)
%108 = call double @tan(double %107)
%109 = call i32 @push(double* %103, i32* %104, double %108)
br label %539
110: ; preds = %98
%111 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%112 = call i64 @str_match(i8* %111, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%113 = icmp ne i64 %112, 0
br i1 %113, label %114, label %122
114: ; preds = %110
%115 = load double*, double** %7
%116 = load i32*, i32** %9
%117 = load double*, double** %7
%118 = load i32*, i32** %9
%119 = call double @pop(double* %117, i32* %118)
%120 = call double @asin(double %119)
%121 = call i32 @push(double* %115, i32* %116, double %120)
br label %538
122: ; preds = %110
%123 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%124 = call i64 @str_match(i8* %123, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%125 = icmp ne i64 %124, 0
br i1 %125, label %126, label %134
126: ; preds = %122
%127 = load double*, double** %7
%128 = load i32*, i32** %9
%129 = load double*, double** %7
%130 = load i32*, i32** %9
%131 = call double @pop(double* %129, i32* %130)
%132 = call double @acos(double %131)
%133 = call i32 @push(double* %127, i32* %128, double %132)
br label %537
134: ; preds = %122
%135 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%136 = call i64 @str_match(i8* %135, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%137 = icmp ne i64 %136, 0
br i1 %137, label %138, label %146
138: ; preds = %134
%139 = load double*, double** %7
%140 = load i32*, i32** %9
%141 = load double*, double** %7
%142 = load i32*, i32** %9
%143 = call double @pop(double* %141, i32* %142)
%144 = call double @atan(double %143)
%145 = call i32 @push(double* %139, i32* %140, double %144)
br label %536
146: ; preds = %134
%147 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%148 = call i64 @str_match(i8* %147, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%149 = icmp ne i64 %148, 0
br i1 %149, label %150, label %161
150: ; preds = %146
%151 = load double*, double** %7
%152 = load i32*, i32** %9
%153 = load double*, double** %7
%154 = load i32*, i32** %9
%155 = call double @pop(double* %153, i32* %154)
%156 = load double*, double** %7
%157 = load i32*, i32** %9
%158 = call double @pop(double* %156, i32* %157)
%159 = call double @atan2(double %155, double %158)
%160 = call i32 @push(double* %151, i32* %152, double %159)
br label %535
161: ; preds = %146
%162 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%163 = call i64 @str_match(i8* %162, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%164 = icmp ne i64 %163, 0
br i1 %164, label %165, label %173
165: ; preds = %161
%166 = load double*, double** %7
%167 = load i32*, i32** %9
%168 = load double*, double** %7
%169 = load i32*, i32** %9
%170 = call double @pop(double* %168, i32* %169)
%171 = call double @sinh(double %170)
%172 = call i32 @push(double* %166, i32* %167, double %171)
br label %534
173: ; preds = %161
%174 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%175 = call i64 @str_match(i8* %174, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%176 = icmp ne i64 %175, 0
br i1 %176, label %177, label %185
177: ; preds = %173
%178 = load double*, double** %7
%179 = load i32*, i32** %9
%180 = load double*, double** %7
%181 = load i32*, i32** %9
%182 = call double @pop(double* %180, i32* %181)
%183 = call double @cosh(double %182)
%184 = call i32 @push(double* %178, i32* %179, double %183)
br label %533
185: ; preds = %173
%186 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%187 = call i64 @str_match(i8* %186, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%188 = icmp ne i64 %187, 0
br i1 %188, label %189, label %197
189: ; preds = %185
%190 = load double*, double** %7
%191 = load i32*, i32** %9
%192 = load double*, double** %7
%193 = load i32*, i32** %9
%194 = call double @pop(double* %192, i32* %193)
%195 = call double @tanh(double %194)
%196 = call i32 @push(double* %190, i32* %191, double %195)
br label %532
197: ; preds = %185
%198 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%199 = call i64 @str_match(i8* %198, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%200 = icmp ne i64 %199, 0
br i1 %200, label %201, label %209
201: ; preds = %197
%202 = load double*, double** %7
%203 = load i32*, i32** %9
%204 = load double*, double** %7
%205 = load i32*, i32** %9
%206 = call double @pop(double* %204, i32* %205)
%207 = call double @exp(double %206)
%208 = call i32 @push(double* %202, i32* %203, double %207)
br label %531
209: ; preds = %197
%210 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%211 = call i64 @str_match(i8* %210, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
%212 = icmp ne i64 %211, 0
br i1 %212, label %213, label %221
213: ; preds = %209
%214 = load double*, double** %7
%215 = load i32*, i32** %9
%216 = load double*, double** %7
%217 = load i32*, i32** %9
%218 = call double @pop(double* %216, i32* %217)
%219 = call double @log(double %218)
%220 = call i32 @push(double* %214, i32* %215, double %219)
br label %530
221: ; preds = %209
%222 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%223 = call i64 @str_match(i8* %222, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0))
%224 = icmp ne i64 %223, 0
br i1 %224, label %225, label %233
225: ; preds = %221
%226 = load double*, double** %7
%227 = load i32*, i32** %9
%228 = load double*, double** %7
%229 = load i32*, i32** %9
%230 = call double @pop(double* %228, i32* %229)
%231 = call double @log10(double %230)
%232 = call i32 @push(double* %226, i32* %227, double %231)
br label %529
233: ; preds = %221
%234 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%235 = call i64 @str_match(i8* %234, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%236 = icmp ne i64 %235, 0
br i1 %236, label %237, label %248
237: ; preds = %233
%238 = load double*, double** %7
%239 = load i32*, i32** %9
%240 = load double*, double** %7
%241 = load i32*, i32** %9
%242 = call double @pop(double* %240, i32* %241)
%243 = load double*, double** %7
%244 = load i32*, i32** %9
%245 = call double @pop(double* %243, i32* %244)
%246 = call double @pow(double %242, double %245)
%247 = call i32 @push(double* %238, i32* %239, double %246)
br label %528
248: ; preds = %233
%249 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%250 = call i64 @str_match(i8* %249, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%251 = icmp ne i64 %250, 0
br i1 %251, label %252, label %260
252: ; preds = %248
%253 = load double*, double** %7
%254 = load i32*, i32** %9
%255 = load double*, double** %7
%256 = load i32*, i32** %9
%257 = call double @pop(double* %255, i32* %256)
%258 = call double @sqrt(double %257)
%259 = call i32 @push(double* %253, i32* %254, double %258)
br label %527
260: ; preds = %248
%261 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%262 = call i64 @str_match(i8* %261, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%263 = icmp ne i64 %262, 0
br i1 %263, label %264, label %272
264: ; preds = %260
%265 = load double*, double** %7
%266 = load i32*, i32** %9
%267 = load double*, double** %7
%268 = load i32*, i32** %9
%269 = call double @pop(double* %267, i32* %268)
%270 = call double @llvm.ceil.f64(double %269)
%271 = call i32 @push(double* %265, i32* %266, double %270)
br label %526
272: ; preds = %260
%273 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%274 = call i64 @str_match(i8* %273, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0))
%275 = icmp ne i64 %274, 0
br i1 %275, label %276, label %284
276: ; preds = %272
%277 = load double*, double** %7
%278 = load i32*, i32** %9
%279 = load double*, double** %7
%280 = load i32*, i32** %9
%281 = call double @pop(double* %279, i32* %280)
%282 = call double @llvm.floor.f64(double %281)
%283 = call i32 @push(double* %277, i32* %278, double %282)
br label %525
284: ; preds = %272
%285 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%286 = call i64 @str_match(i8* %285, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%287 = icmp ne i64 %286, 0
br i1 %287, label %288, label %296
288: ; preds = %284
%289 = load double*, double** %7
%290 = load i32*, i32** %9
%291 = load double*, double** %7
%292 = load i32*, i32** %9
%293 = call double @pop(double* %291, i32* %292)
%294 = call double @llvm.fabs.f64(double %293)
%295 = call i32 @push(double* %289, i32* %290, double %294)
br label %524
296: ; preds = %284
%297 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%298 = call i64 @str_match(i8* %297, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0))
%299 = icmp ne i64 %298, 0
br i1 %299, label %300, label %311
300: ; preds = %296
%301 = load double*, double** %7
%302 = load i32*, i32** %9
%303 = load double*, double** %7
%304 = load i32*, i32** %9
%305 = call double @pop(double* %303, i32* %304)
%306 = load double*, double** %7
%307 = load i32*, i32** %9
%308 = call double @pop(double* %306, i32* %307)
%309 = call double @ldexp(double %305, double %308)
%310 = call i32 @push(double* %301, i32* %302, double %309)
br label %523
311: ; preds = %296
%312 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%313 = call i64 @str_match(i8* %312, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%314 = icmp ne i64 %313, 0
br i1 %314, label %315, label %326
315: ; preds = %311
%316 = load double*, double** %7
%317 = load i32*, i32** %9
%318 = load double*, double** %7
%319 = load i32*, i32** %9
%320 = call double @pop(double* %318, i32* %319)
%321 = load double*, double** %7
%322 = load i32*, i32** %9
%323 = call double @pop(double* %321, i32* %322)
%324 = call double @fmod(double %320, double %323)
%325 = call i32 @push(double* %316, i32* %317, double %324)
br label %522
326: ; preds = %311
%327 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%328 = call i64 @str_match(i8* %327, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.21, i64 0, i64 0))
%329 = icmp ne i64 %328, 0
br i1 %329, label %330, label %341
330: ; preds = %326
%331 = load double*, double** %7
%332 = load i32*, i32** %9
%333 = load double*, double** %7
%334 = load i32*, i32** %9
%335 = call double @pop(double* %333, i32* %334)
%336 = load double*, double** %7
%337 = load i32*, i32** %9
%338 = call double @pop(double* %336, i32* %337)
%339 = fadd double %335, %338
%340 = call i32 @push(double* %331, i32* %332, double %339)
br label %521
341: ; preds = %326
%342 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%343 = call i64 @str_match(i8* %342, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.22, i64 0, i64 0))
%344 = icmp ne i64 %343, 0
br i1 %344, label %345, label %357
345: ; preds = %341
%346 = load double*, double** %7
%347 = load i32*, i32** %9
%348 = call double @pop(double* %346, i32* %347)
store double %348, double* %12
%349 = load double*, double** %7
%350 = load i32*, i32** %9
%351 = load double*, double** %7
%352 = load i32*, i32** %9
%353 = call double @pop(double* %351, i32* %352)
%354 = load double, double* %12
%355 = fsub double %353, %354
%356 = call i32 @push(double* %349, i32* %350, double %355)
br label %520
357: ; preds = %341
%358 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%359 = call i64 @str_match(i8* %358, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.23, i64 0, i64 0))
%360 = icmp ne i64 %359, 0
br i1 %360, label %361, label %372
361: ; preds = %357
%362 = load double*, double** %7
%363 = load i32*, i32** %9
%364 = load double*, double** %7
%365 = load i32*, i32** %9
%366 = call double @pop(double* %364, i32* %365)
%367 = load double*, double** %7
%368 = load i32*, i32** %9
%369 = call double @pop(double* %367, i32* %368)
%370 = fmul double %366, %369
%371 = call i32 @push(double* %362, i32* %363, double %370)
br label %519
372: ; preds = %357
%373 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%374 = call i64 @str_match(i8* %373, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.24, i64 0, i64 0))
%375 = icmp ne i64 %374, 0
br i1 %375, label %376, label %394
376: ; preds = %372
%377 = load double*, double** %7
%378 = load i32*, i32** %9
%379 = call double @pop(double* %377, i32* %378)
store double %379, double* %12
%380 = load double, double* %12
%381 = fcmp une double %380, 0.000000e+00
br i1 %381, label %382, label %391
382: ; preds = %376
%383 = load double*, double** %7
%384 = load i32*, i32** %9
%385 = load double*, double** %7
%386 = load i32*, i32** %9
%387 = call double @pop(double* %385, i32* %386)
%388 = load double, double* %12
%389 = fdiv double %387, %388
%390 = call i32 @push(double* %383, i32* %384, double %389)
br label %393
391: ; preds = %376
%392 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.25, i64 0, i64 0))
br label %393
393: ; preds = %391, %382
br label %518
394: ; preds = %372
%395 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%396 = call i64 @str_match(i8* %395, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0))
%397 = icmp ne i64 %396, 0
br i1 %397, label %398, label %419
398: ; preds = %394
%399 = load double*, double** %7
%400 = load i32*, i32** %9
%401 = call double @pop(double* %399, i32* %400)
store double %401, double* %12
%402 = load double, double* %12
%403 = fcmp une double %402, 0.000000e+00
br i1 %403, label %404, label %416
404: ; preds = %398
%405 = load double*, double** %7
%406 = load i32*, i32** %9
%407 = load double*, double** %7
%408 = load i32*, i32** %9
%409 = call double @pop(double* %407, i32* %408)
%410 = fptosi double %409 to i32
%411 = load double, double* %12
%412 = fptosi double %411 to i32
%413 = srem i32 %410, %412
%414 = sitofp i32 %413 to double
%415 = call i32 @push(double* %405, i32* %406, double %414)
br label %418
416: ; preds = %398
%417 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.25, i64 0, i64 0))
br label %418
418: ; preds = %416, %404
br label %517
419: ; preds = %394
%420 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%421 = call i64 @str_match(i8* %420, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.27, i64 0, i64 0))
%422 = icmp ne i64 %421, 0
br i1 %422, label %423, label %436
423: ; preds = %419
%424 = load double*, double** %7
%425 = load i32*, i32** %9
%426 = call double @pop(double* %424, i32* %425)
%427 = load double*, double** %7
%428 = load i32*, i32** %9
%429 = call double @pop(double* %427, i32* %428)
%430 = load double*, double** %8
%431 = load i32*, i32** %9
%432 = getelementptr inbounds i32, i32* %431, i64 2
%433 = load i32, i32* %432
%434 = sext i32 %433 to i64
%435 = getelementptr inbounds double, double* %430, i64 %434
store double %429, double* %435
br label %516
436: ; preds = %419
%437 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%438 = call i64 @str_match(i8* %437, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
%439 = icmp ne i64 %438, 0
br i1 %439, label %440, label %450
440: ; preds = %436
%441 = load double*, double** %7
%442 = load i32*, i32** %9
%443 = getelementptr inbounds i32, i32* %442, i64 1
%444 = load i32, i32* %443
%445 = sub nsw i32 %444, 1
%446 = sext i32 %445 to i64
%447 = getelementptr inbounds double, double* %441, i64 %446
%448 = load double, double* %447
%449 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.29, i64 0, i64 0), double %448)
br label %515
450: ; preds = %436
%451 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%452 = call i64 @str_match(i8* %451, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%453 = icmp ne i64 %452, 0
br i1 %453, label %454, label %466
454: ; preds = %450
%455 = load double*, double** %7
%456 = load i32*, i32** %9
%457 = load double*, double** %7
%458 = load i32*, i32** %9
%459 = getelementptr inbounds i32, i32* %458, i64 1
%460 = load i32, i32* %459
%461 = sub nsw i32 %460, 1
%462 = sext i32 %461 to i64
%463 = getelementptr inbounds double, double* %457, i64 %462
%464 = load double, double* %463
%465 = call i32 @push(double* %455, i32* %456, double %464)
br label %514
466: ; preds = %450
%467 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%468 = call i64 @str_match(i8* %467, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.31, i64 0, i64 0))
%469 = icmp ne i64 %468, 0
br i1 %469, label %470, label %479
470: ; preds = %466
%471 = load i32*, i32** %9
%472 = getelementptr inbounds i32, i32* %471, i64 1
store i32 0, i32* %472
%473 = load i8*, i8** %6
%474 = load i32*, i32** %9
%475 = getelementptr inbounds i32, i32* %474, i64 0
%476 = load i32, i32* %475
%477 = sext i32 %476 to i64
%478 = getelementptr inbounds i8, i8* %473, i64 %477
store i8 0, i8* %478
br label %513
479: ; preds = %466
%480 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%481 = call i64 @str_match(i8* %480, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.32, i64 0, i64 0))
%482 = icmp ne i64 %481, 0
br i1 %482, label %483, label %509
483: ; preds = %479
%484 = load double*, double** %7
%485 = load i32*, i32** %9
%486 = call double @pop(double* %484, i32* %485)
store double %486, double* %12
%487 = load double*, double** %7
%488 = load i32*, i32** %9
%489 = getelementptr inbounds i32, i32* %488, i64 1
%490 = load i32, i32* %489
%491 = sub nsw i32 %490, 1
%492 = sext i32 %491 to i64
%493 = getelementptr inbounds double, double* %487, i64 %492
%494 = load double, double* %493
%495 = load double*, double** %7
%496 = load i32*, i32** %9
%497 = getelementptr inbounds i32, i32* %496, i64 1
%498 = load i32, i32* %497
%499 = sext i32 %498 to i64
%500 = getelementptr inbounds double, double* %495, i64 %499
store double %494, double* %500
%501 = load double, double* %12
%502 = load double*, double** %7
%503 = load i32*, i32** %9
%504 = getelementptr inbounds i32, i32* %503, i64 1
%505 = load i32, i32* %504
%506 = sub nsw i32 %505, 1
%507 = sext i32 %506 to i64
%508 = getelementptr inbounds double, double* %502, i64 %507
store double %501, double* %508
br label %512
509: ; preds = %479
%510 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%511 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.33, i64 0, i64 0), i8* %510)
br label %512
512: ; preds = %509, %483
br label %513
513: ; preds = %512, %470
br label %514
514: ; preds = %513, %454
br label %515
515: ; preds = %514, %440
br label %516
516: ; preds = %515, %423
br label %517
517: ; preds = %516, %418
br label %518
518: ; preds = %517, %393
br label %519
519: ; preds = %518, %361
br label %520
520: ; preds = %519, %345
br label %521
521: ; preds = %520, %330
br label %522
522: ; preds = %521, %315
br label %523
523: ; preds = %522, %300
br label %524
524: ; preds = %523, %288
br label %525
525: ; preds = %524, %276
br label %526
526: ; preds = %525, %264
br label %527
527: ; preds = %526, %252
br label %528
528: ; preds = %527, %237
br label %529
529: ; preds = %528, %225
br label %530
530: ; preds = %529, %213
br label %531
531: ; preds = %530, %201
br label %532
532: ; preds = %531, %189
br label %533
533: ; preds = %532, %177
br label %534
534: ; preds = %533, %165
br label %535
535: ; preds = %534, %150
br label %536
536: ; preds = %535, %138
br label %537
537: ; preds = %536, %126
br label %538
538: ; preds = %537, %114
br label %539
539: ; preds = %538, %102
br label %540
540: ; preds = %539, %90
br label %541
541: ; preds = %540, %78
br label %542
542: ; preds = %541, %69
br label %543
543: ; preds = %542, %47
br label %544
544: ; preds = %543, %31
br label %13
545: ; preds = %13
%546 = load i32*, i32** %9
%547 = getelementptr inbounds i32, i32* %546, i64 1
%548 = load i32, i32* %547
%549 = icmp eq i32 %548, 1
br i1 %549, label %550, label %554
550: ; preds = %545
%551 = load double*, double** %7
%552 = load i32*, i32** %9
%553 = call double @pop(double* %551, i32* %552)
br label %555
554: ; preds = %545
br label %555
555: ; preds = %554, %550
%556 = phi double [ %553, %550 ], [ 0.000000e+00, %554 ]
store double %556, double* %12
%557 = load i32*, i32** %9
%558 = getelementptr inbounds i32, i32* %557, i64 1
store i32 0, i32* %558
%559 = load i32*, i32** %9
%560 = getelementptr inbounds i32, i32* %559, i64 0
store i32 0, i32* %560
%561 = load double, double* %12
ret double %561
}

LLVM IR (-O2):
@.str = [5 x i8] c"last\00"
@.str.1 = [4 x i8] c"sin\00"
@.str.2 = [4 x i8] c"cos\00"
@.str.3 = [4 x i8] c"tan\00"
@.str.4 = [5 x i8] c"asin\00"
@.str.5 = [5 x i8] c"acos\00"
@.str.6 = [5 x i8] c"atan\00"
@.str.7 = [6 x i8] c"atan2\00"
@.str.8 = [5 x i8] c"sinh\00"
@.str.9 = [5 x i8] c"cosh\00"
@.str.10 = [5 x i8] c"tanh\00"
@.str.11 = [4 x i8] c"exp\00"
@.str.12 = [4 x i8] c"log\00"
@.str.13 = [6 x i8] c"log10\00"
@.str.14 = [4 x i8] c"pow\00"
@.str.15 = [5 x i8] c"sqrt\00"
@.str.16 = [5 x i8] c"ceil\00"
@.str.17 = [6 x i8] c"floor\00"
@.str.18 = [5 x i8] c"fabs\00"
@.str.19 = [6 x i8] c"ldexp\00"
@.str.20 = [5 x i8] c"fmod\00"
@.str.21 = [2 x i8] c"+\00"
@.str.22 = [2 x i8] c"-\00"
@.str.23 = [2 x i8] c"*\00"
@.str.24 = [2 x i8] c"/\00"
@.str.26 = [2 x i8] c"%\00"
@.str.27 = [2 x i8] c"=\00"
@.str.28 = [4 x i8] c"top\00"
@.str.29 = [26 x i8] c"Top of number stack = %f\0A\00"
@.str.30 = [4 x i8] c"dup\00"
@.str.31 = [6 x i8] c"clear\00"
@.str.32 = [5 x i8] c"swap\00"
@.str.33 = [34 x i8] c"evaluate(): Unknown command [%s]\0A\00"
@str.34 = [26 x i8] c"evaluate(): Zero divisor.\00"
define double @evaluate(i8* %0, double* %1, double* nocapture %2, i32* %3, double %4) {
%6 = alloca [100 x i8]
%7 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%8 = load i32, i32* %3
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, i8* %0, i64 %9
%11 = load i8, i8* %10
%12 = icmp eq i8 %11, 0
br i1 %12, label %296, label %13
13: ; preds = %5
%14 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 1
%15 = getelementptr inbounds i32, i32* %3, i64 2
%16 = getelementptr inbounds i32, i32* %3, i64 1
br label %17
17: ; preds = %13, %290
%18 = call i32 @next_word(i8* %0, i8* %7, i32* %3)
%19 = call i64 @num_match(i8* %7)
%20 = icmp eq i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %17
%22 = call double @atof(i8* %7)
%23 = call i32 @push(double* %1, i32* %3, double %22)
br label %290
24: ; preds = %17
%25 = load i8, i8* %7
%26 = call i64 @islower(i8 signext %25)
%27 = icmp ne i64 %26, 0
%28 = load i8, i8* %14
%29 = icmp eq i8 %28, 0
%30 = select i1 %27, i1 %29, i1 false
br i1 %30, label %31, label %40
31: ; preds = %24
%32 = load i8, i8* %7
%33 = sext i8 %32 to i32
%34 = add nsw i32 %33, -97
store i32 %34, i32* %15
%35 = sext i8 %32 to i64
%36 = add nsw i64 %35, -97
%37 = getelementptr inbounds double, double* %2, i64 %36
%38 = load double, double* %37
%39 = call i32 @push(double* %1, i32* %3, double %38)
br label %290
40: ; preds = %24
%41 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %40
%44 = call i32 @push(double* %1, i32* %3, double %4)
br label %290
45: ; preds = %40
%46 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %45
%49 = call double @pop(double* %1, i32* %3)
%50 = call double @sin(double %49)
%51 = call i32 @push(double* %1, i32* %3, double %50)
br label %290
52: ; preds = %45
%53 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%54 = icmp eq i64 %53, 0
br i1 %54, label %59, label %55
55: ; preds = %52
%56 = call double @pop(double* %1, i32* %3)
%57 = call double @cos(double %56)
%58 = call i32 @push(double* %1, i32* %3, double %57)
br label %290
59: ; preds = %52
%60 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label %66, label %62
62: ; preds = %59
%63 = call double @pop(double* %1, i32* %3)
%64 = call double @tan(double %63)
%65 = call i32 @push(double* %1, i32* %3, double %64)
br label %290
66: ; preds = %59
%67 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%68 = icmp eq i64 %67, 0
br i1 %68, label %73, label %69
69: ; preds = %66
%70 = call double @pop(double* %1, i32* %3)
%71 = call double @asin(double %70)
%72 = call i32 @push(double* %1, i32* %3, double %71)
br label %290
73: ; preds = %66
%74 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%75 = icmp eq i64 %74, 0
br i1 %75, label %80, label %76
76: ; preds = %73
%77 = call double @pop(double* %1, i32* %3)
%78 = call double @acos(double %77)
%79 = call i32 @push(double* %1, i32* %3, double %78)
br label %290
80: ; preds = %73
%81 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%82 = icmp eq i64 %81, 0
br i1 %82, label %87, label %83
83: ; preds = %80
%84 = call double @pop(double* %1, i32* %3)
%85 = call double @atan(double %84)
%86 = call i32 @push(double* %1, i32* %3, double %85)
br label %290
87: ; preds = %80
%88 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%89 = icmp eq i64 %88, 0
br i1 %89, label %95, label %90
90: ; preds = %87
%91 = call double @pop(double* %1, i32* %3)
%92 = call double @pop(double* %1, i32* %3)
%93 = call double @atan2(double %91, double %92)
%94 = call i32 @push(double* %1, i32* %3, double %93)
br label %290
95: ; preds = %87
%96 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%97 = icmp eq i64 %96, 0
br i1 %97, label %102, label %98
98: ; preds = %95
%99 = call double @pop(double* %1, i32* %3)
%100 = call double @sinh(double %99)
%101 = call i32 @push(double* %1, i32* %3, double %100)
br label %290
102: ; preds = %95
%103 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%104 = icmp eq i64 %103, 0
br i1 %104, label %109, label %105
105: ; preds = %102
%106 = call double @pop(double* %1, i32* %3)
%107 = call double @cosh(double %106)
%108 = call i32 @push(double* %1, i32* %3, double %107)
br label %290
109: ; preds = %102
%110 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%111 = icmp eq i64 %110, 0
br i1 %111, label %116, label %112
112: ; preds = %109
%113 = call double @pop(double* %1, i32* %3)
%114 = call double @tanh(double %113)
%115 = call i32 @push(double* %1, i32* %3, double %114)
br label %290
116: ; preds = %109
%117 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%118 = icmp eq i64 %117, 0
br i1 %118, label %123, label %119
119: ; preds = %116
%120 = call double @pop(double* %1, i32* %3)
%121 = call double @exp(double %120)
%122 = call i32 @push(double* %1, i32* %3, double %121)
br label %290
123: ; preds = %116
%124 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
%125 = icmp eq i64 %124, 0
br i1 %125, label %130, label %126
126: ; preds = %123
%127 = call double @pop(double* %1, i32* %3)
%128 = call double @log(double %127)
%129 = call i32 @push(double* %1, i32* %3, double %128)
br label %290
130: ; preds = %123
%131 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0))
%132 = icmp eq i64 %131, 0
br i1 %132, label %137, label %133
133: ; preds = %130
%134 = call double @pop(double* %1, i32* %3)
%135 = call double @log10(double %134)
%136 = call i32 @push(double* %1, i32* %3, double %135)
br label %290
137: ; preds = %130
%138 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%139 = icmp eq i64 %138, 0
br i1 %139, label %145, label %140
140: ; preds = %137
%141 = call double @pop(double* %1, i32* %3)
%142 = call double @pop(double* %1, i32* %3)
%143 = call double @pow(double %141, double %142)
%144 = call i32 @push(double* %1, i32* %3, double %143)
br label %290
145: ; preds = %137
%146 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%147 = icmp eq i64 %146, 0
br i1 %147, label %152, label %148
148: ; preds = %145
%149 = call double @pop(double* %1, i32* %3)
%150 = call double @sqrt(double %149)
%151 = call i32 @push(double* %1, i32* %3, double %150)
br label %290
152: ; preds = %145
%153 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%154 = icmp eq i64 %153, 0
br i1 %154, label %159, label %155
155: ; preds = %152
%156 = call double @pop(double* %1, i32* %3)
%157 = call double @llvm.ceil.f64(double %156)
%158 = call i32 @push(double* %1, i32* %3, double %157)
br label %290
159: ; preds = %152
%160 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0))
%161 = icmp eq i64 %160, 0
br i1 %161, label %166, label %162
162: ; preds = %159
%163 = call double @pop(double* %1, i32* %3)
%164 = call double @llvm.floor.f64(double %163)
%165 = call i32 @push(double* %1, i32* %3, double %164)
br label %290
166: ; preds = %159
%167 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%168 = icmp eq i64 %167, 0
br i1 %168, label %173, label %169
169: ; preds = %166
%170 = call double @pop(double* %1, i32* %3)
%171 = call double @llvm.fabs.f64(double %170)
%172 = call i32 @push(double* %1, i32* %3, double %171)
br label %290
173: ; preds = %166
%174 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0))
%175 = icmp eq i64 %174, 0
br i1 %175, label %181, label %176
176: ; preds = %173
%177 = call double @pop(double* %1, i32* %3)
%178 = call double @pop(double* %1, i32* %3)
%179 = call double @ldexp(double %177, double %178)
%180 = call i32 @push(double* %1, i32* %3, double %179)
br label %290
181: ; preds = %173
%182 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%183 = icmp eq i64 %182, 0
br i1 %183, label %189, label %184
184: ; preds = %181
%185 = call double @pop(double* %1, i32* %3)
%186 = call double @pop(double* %1, i32* %3)
%187 = call double @fmod(double %185, double %186)
%188 = call i32 @push(double* %1, i32* %3, double %187)
br label %290
189: ; preds = %181
%190 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.21, i64 0, i64 0))
%191 = icmp eq i64 %190, 0
br i1 %191, label %197, label %192
192: ; preds = %189
%193 = call double @pop(double* %1, i32* %3)
%194 = call double @pop(double* %1, i32* %3)
%195 = fadd double %193, %194
%196 = call i32 @push(double* %1, i32* %3, double %195)
br label %290
197: ; preds = %189
%198 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.22, i64 0, i64 0))
%199 = icmp eq i64 %198, 0
br i1 %199, label %205, label %200
200: ; preds = %197
%201 = call double @pop(double* %1, i32* %3)
%202 = call double @pop(double* %1, i32* %3)
%203 = fsub double %202, %201
%204 = call i32 @push(double* %1, i32* %3, double %203)
br label %290
205: ; preds = %197
%206 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.23, i64 0, i64 0))
%207 = icmp eq i64 %206, 0
br i1 %207, label %213, label %208
208: ; preds = %205
%209 = call double @pop(double* %1, i32* %3)
%210 = call double @pop(double* %1, i32* %3)
%211 = fmul double %209, %210
%212 = call i32 @push(double* %1, i32* %3, double %211)
br label %290
213: ; preds = %205
%214 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.24, i64 0, i64 0))
%215 = icmp eq i64 %214, 0
br i1 %215, label %225, label %216
216: ; preds = %213
%217 = call double @pop(double* %1, i32* %3)
%218 = fcmp une double %217, 0.000000e+00
br i1 %218, label %219, label %223
219: ; preds = %216
%220 = call double @pop(double* %1, i32* %3)
%221 = fdiv double %220, %217
%222 = call i32 @push(double* %1, i32* %3, double %221)
br label %290
223: ; preds = %216
%224 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.34, i64 0, i64 0))
br label %290
225: ; preds = %213
%226 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0))
%227 = icmp eq i64 %226, 0
br i1 %227, label %240, label %228
228: ; preds = %225
%229 = call double @pop(double* %1, i32* %3)
%230 = fcmp une double %229, 0.000000e+00
br i1 %230, label %231, label %238
231: ; preds = %228
%232 = call double @pop(double* %1, i32* %3)
%233 = fptosi double %232 to i32
%234 = fptosi double %229 to i32
%235 = srem i32 %233, %234
%236 = sitofp i32 %235 to double
%237 = call i32 @push(double* %1, i32* %3, double %236)
br label %290
238: ; preds = %228
%239 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.34, i64 0, i64 0))
br label %290
240: ; preds = %225
%241 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.27, i64 0, i64 0))
%242 = icmp eq i64 %241, 0
br i1 %242, label %249, label %243
243: ; preds = %240
%244 = call double @pop(double* %1, i32* %3)
%245 = call double @pop(double* %1, i32* %3)
%246 = load i32, i32* %15
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds double, double* %2, i64 %247
store double %245, double* %248
br label %290
249: ; preds = %240
%250 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
%251 = icmp eq i64 %250, 0
br i1 %251, label %259, label %252
252: ; preds = %249
%253 = load i32, i32* %16
%254 = add nsw i32 %253, -1
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds double, double* %1, i64 %255
%257 = load double, double* %256
%258 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.29, i64 0, i64 0), double %257)
br label %290
259: ; preds = %249
%260 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%261 = icmp eq i64 %260, 0
br i1 %261, label %269, label %262
262: ; preds = %259
%263 = load i32, i32* %16
%264 = add nsw i32 %263, -1
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds double, double* %1, i64 %265
%267 = load double, double* %266
%268 = call i32 @push(double* %1, i32* %3, double %267)
br label %290
269: ; preds = %259
%270 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.31, i64 0, i64 0))
%271 = icmp eq i64 %270, 0
br i1 %271, label %276, label %272
272: ; preds = %269
store i32 0, i32* %16
%273 = load i32, i32* %3
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds i8, i8* %0, i64 %274
store i8 0, i8* %275
br label %290
276: ; preds = %269
%277 = call i64 @str_match(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.32, i64 0, i64 0))
%278 = icmp eq i64 %277, 0
br i1 %278, label %288, label %279
279: ; preds = %276
%280 = call double @pop(double* %1, i32* %3)
%281 = load i32, i32* %16
%282 = add nsw i32 %281, -1
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds double, double* %1, i64 %283
%285 = load double, double* %284
%286 = sext i32 %281 to i64
%287 = getelementptr inbounds double, double* %1, i64 %286
store double %285, double* %287
store double %280, double* %284
br label %290
288: ; preds = %276
%289 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.33, i64 0, i64 0), i8* %7)
br label %290
290: ; preds = %31, %48, %62, %76, %90, %105, %119, %133, %148, %162, %176, %192, %208, %238, %231, %252, %272, %288, %279, %262, %243, %219, %223, %200, %184, %169, %155, %140, %126, %112, %98, %83, %69, %55, %43, %21
%291 = load i32, i32* %3
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds i8, i8* %0, i64 %292
%294 = load i8, i8* %293
%295 = icmp eq i8 %294, 0
br i1 %295, label %296, label %17
296: ; preds = %290, %5
%297 = getelementptr inbounds i32, i32* %3, i64 1
%298 = load i32, i32* %297
%299 = icmp eq i32 %298, 1
br i1 %299, label %300, label %302
300: ; preds = %296
%301 = call double @pop(double* %1, i32* %3)
br label %302
302: ; preds = %296, %300
%303 = phi double [ %301, %300 ], [ 0.000000e+00, %296 ]
store i32 0, i32* %297
store i32 0, i32* %3
ret double %303
}