#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 */
char *skipspace(char *);
int strtol(char *, char **, int /*<<< orphan*/);
int getnum(char **pp, int priority) {
  char *p = *pp;
  int i = -0x7fffffff, j;
  p = skipspace(p);
  if (*p == '+') {
    p = skipspace(p + 1);
    i = getnum(&p, 0);
  } else if (*p == '-') {
    p = skipspace(p + 1);
    i = getnum(&p, 0);
    if (i != -0x7fffffff) {
      i = -i;
    }
  } else if (*p == '~') {
    p = skipspace(p + 1);
    i = getnum(&p, 0);
    if (i != -0x7fffffff) {
      i = ~i;
    }
  } else if (*p == '(') {
    p = skipspace(p + 1);
    i = getnum(&p, 9);
    if (*p == ')') {
      p = skipspace(p + 1);
    } else {
      i = -0x7fffffff;
    }
  } else if ('0' <= *p && *p <= '9') {
    i = strtol(p, &p, 0);
  } else {
    i = -0x7fffffff;
  }
  for (;;) {
    if (i == -0x7fffffff) {
      break;
    }
    p = skipspace(p);
    if (*p == '+' && priority > 2) {
      p = skipspace(p + 1);
      j = getnum(&p, 2);
      if (j != -0x7fffffff) {
        i += j;
      } else {
        i = -0x7fffffff;
      }
    } else if (*p == '-' && priority > 2) {
      p = skipspace(p + 1);
      j = getnum(&p, 2);
      if (j != -0x7fffffff) {
        i -= j;
      } else {
        i = -0x7fffffff;
      }
    } else if (*p == '*' && priority > 1) {
      p = skipspace(p + 1);
      j = getnum(&p, 1);
      if (j != -0x7fffffff) {
        i *= j;
      } else {
        i = -0x7fffffff;
      }
    } else if (*p == '/' && priority > 1) {
      p = skipspace(p + 1);
      j = getnum(&p, 1);
      if (j != -0x7fffffff && j != 0) {
        i /= j;
      } else {
        i = -0x7fffffff;
      }
    } else if (*p == '%' && priority > 1) {
      p = skipspace(p + 1);
      j = getnum(&p, 1);
      if (j != -0x7fffffff && j != 0) {
        i %= j;
      } else {
        i = -0x7fffffff;
      }
    } else if (*p == '<' && p[1] == '<' && priority > 3) {
      p = skipspace(p + 2);
      j = getnum(&p, 3);
      if (j != -0x7fffffff && j != 0) {
        i <<= j;
      } else {
        i = -0x7fffffff;
      }
    } else if (*p == '>' && p[1] == '>' && priority > 3) {
      p = skipspace(p + 2);
      j = getnum(&p, 3);
      if (j != -0x7fffffff && j != 0) {
        i >>= j;
      } else {
        i = -0x7fffffff;
      }
    } else if (*p == '&' && priority > 4) {
      p = skipspace(p + 1);
      j = getnum(&p, 4);
      if (j != -0x7fffffff) {
        i &= j;
      } else {
        i = -0x7fffffff;
      }
    } else if (*p == '^' && priority > 5) {
      p = skipspace(p + 1);
      j = getnum(&p, 5);
      if (j != -0x7fffffff) {
        i ^= j;
      } else {
        i = -0x7fffffff;
      }
    } else if (*p == '|' && priority > 6) {
      p = skipspace(p + 1);
      j = getnum(&p, 6);
      if (j != -0x7fffffff) {
        i |= j;
      } else {
        i = -0x7fffffff;
      }
    } else {
      break;
    }
  }
  p = skipspace(p);
  *pp = p;
  return i;
}


x86 assembly (clang, -O0):
<getnum>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x18(%rbp)
movl   $0x80000001,-0x1c(%rbp)
mov    -0x18(%rbp),%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2b,%eax
jne    1192 <getnum+0x62>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
xor    %esi,%esi
call   1030 <getnum@plt>
mov    %eax,-0x1c(%rbp)
jmp    12df <getnum+0x1af>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    11db <getnum+0xab>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
xor    %esi,%esi
call   1030 <getnum@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x80000001,-0x1c(%rbp)
je     11d6 <getnum+0xa6>
xor    %eax,%eax
sub    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    12da <getnum+0x1aa>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x7e,%eax
jne    1225 <getnum+0xf5>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
xor    %esi,%esi
call   1030 <getnum@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x80000001,-0x1c(%rbp)
je     1220 <getnum+0xf0>
mov    -0x1c(%rbp),%eax
xor    $0xffffffff,%eax
mov    %eax,-0x1c(%rbp)
jmp    12d5 <getnum+0x1a5>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x28,%eax
jne    1289 <getnum+0x159>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x9,%esi
call   1030 <getnum@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x29,%eax
jne    127d <getnum+0x14d>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
jmp    1284 <getnum+0x154>
movl   $0x80000001,-0x1c(%rbp)
jmp    12d0 <getnum+0x1a0>
mov    -0x18(%rbp),%rax
movsbl (%rax),%ecx
mov    $0x30,%eax
cmp    %ecx,%eax
jg     12c4 <getnum+0x194>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x39,%eax
jg     12c4 <getnum+0x194>
mov    -0x18(%rbp),%rdi
lea    -0x18(%rbp),%rsi
xor    %edx,%edx
call   1040 <strtol@plt>
mov    %eax,-0x1c(%rbp)
jmp    12cb <getnum+0x19b>
movl   $0x80000001,-0x1c(%rbp)
jmp    12d0 <getnum+0x1a0>
jmp    12d5 <getnum+0x1a5>
jmp    12da <getnum+0x1aa>
jmp    12df <getnum+0x1af>
jmp    12e4 <getnum+0x1b4>
cmpl   $0x80000001,-0x1c(%rbp)
jne    12f6 <getnum+0x1c6>
jmp    176f <getnum+0x63f>
mov    -0x18(%rbp),%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2b,%eax
jne    1366 <getnum+0x236>
cmpl   $0x2,-0xc(%rbp)
jle    1366 <getnum+0x236>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x2,%esi
call   1030 <getnum@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x80000001,-0x20(%rbp)
je     135a <getnum+0x22a>
mov    -0x20(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    1361 <getnum+0x231>
movl   $0x80000001,-0x1c(%rbp)
jmp    176a <getnum+0x63a>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    13cb <getnum+0x29b>
cmpl   $0x2,-0xc(%rbp)
jle    13cb <getnum+0x29b>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x2,%esi
call   1030 <getnum@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x80000001,-0x20(%rbp)
je     13bf <getnum+0x28f>
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x1c(%rbp)
jmp    13c6 <getnum+0x296>
movl   $0x80000001,-0x1c(%rbp)
jmp    1765 <getnum+0x635>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2a,%eax
jne    142f <getnum+0x2ff>
cmpl   $0x1,-0xc(%rbp)
jle    142f <getnum+0x2ff>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x1,%esi
call   1030 <getnum@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x80000001,-0x20(%rbp)
je     1423 <getnum+0x2f3>
mov    -0x20(%rbp),%eax
imul   -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    142a <getnum+0x2fa>
movl   $0x80000001,-0x1c(%rbp)
jmp    1760 <getnum+0x630>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2f,%eax
jne    149f <getnum+0x36f>
cmpl   $0x1,-0xc(%rbp)
jle    149f <getnum+0x36f>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x1,%esi
call   1030 <getnum@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x80000001,-0x20(%rbp)
je     1493 <getnum+0x363>
cmpl   $0x0,-0x20(%rbp)
je     1493 <getnum+0x363>
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%eax
cltd
idiv   %ecx
mov    %eax,-0x1c(%rbp)
jmp    149a <getnum+0x36a>
movl   $0x80000001,-0x1c(%rbp)
jmp    175b <getnum+0x62b>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x25,%eax
jne    150f <getnum+0x3df>
cmpl   $0x1,-0xc(%rbp)
jle    150f <getnum+0x3df>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x1,%esi
call   1030 <getnum@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x80000001,-0x20(%rbp)
je     1503 <getnum+0x3d3>
cmpl   $0x0,-0x20(%rbp)
je     1503 <getnum+0x3d3>
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%eax
cltd
idiv   %ecx
mov    %edx,-0x1c(%rbp)
jmp    150a <getnum+0x3da>
movl   $0x80000001,-0x1c(%rbp)
jmp    1756 <getnum+0x626>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3c,%eax
jne    158f <getnum+0x45f>
mov    -0x18(%rbp),%rax
movsbl 0x1(%rax),%eax
cmp    $0x3c,%eax
jne    158f <getnum+0x45f>
cmpl   $0x3,-0xc(%rbp)
jle    158f <getnum+0x45f>
mov    -0x18(%rbp),%rdi
add    $0x2,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x3,%esi
call   1030 <getnum@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x80000001,-0x20(%rbp)
je     1583 <getnum+0x453>
cmpl   $0x0,-0x20(%rbp)
je     1583 <getnum+0x453>
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%eax
shl    %cl,%eax
mov    %eax,-0x1c(%rbp)
jmp    158a <getnum+0x45a>
movl   $0x80000001,-0x1c(%rbp)
jmp    1751 <getnum+0x621>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3e,%eax
jne    160f <getnum+0x4df>
mov    -0x18(%rbp),%rax
movsbl 0x1(%rax),%eax
cmp    $0x3e,%eax
jne    160f <getnum+0x4df>
cmpl   $0x3,-0xc(%rbp)
jle    160f <getnum+0x4df>
mov    -0x18(%rbp),%rdi
add    $0x2,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x3,%esi
call   1030 <getnum@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x80000001,-0x20(%rbp)
je     1603 <getnum+0x4d3>
cmpl   $0x0,-0x20(%rbp)
je     1603 <getnum+0x4d3>
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%eax
sar    %cl,%eax
mov    %eax,-0x1c(%rbp)
jmp    160a <getnum+0x4da>
movl   $0x80000001,-0x1c(%rbp)
jmp    174c <getnum+0x61c>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x26,%eax
jne    1672 <getnum+0x542>
cmpl   $0x4,-0xc(%rbp)
jle    1672 <getnum+0x542>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x4,%esi
call   1030 <getnum@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x80000001,-0x20(%rbp)
je     1666 <getnum+0x536>
mov    -0x20(%rbp),%eax
and    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    166d <getnum+0x53d>
movl   $0x80000001,-0x1c(%rbp)
jmp    1747 <getnum+0x617>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5e,%eax
jne    16d5 <getnum+0x5a5>
cmpl   $0x5,-0xc(%rbp)
jle    16d5 <getnum+0x5a5>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x5,%esi
call   1030 <getnum@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x80000001,-0x20(%rbp)
je     16c9 <getnum+0x599>
mov    -0x20(%rbp),%eax
xor    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    16d0 <getnum+0x5a0>
movl   $0x80000001,-0x1c(%rbp)
jmp    1742 <getnum+0x612>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x7c,%eax
jne    1738 <getnum+0x608>
cmpl   $0x6,-0xc(%rbp)
jle    1738 <getnum+0x608>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
lea    -0x18(%rbp),%rdi
mov    $0x6,%esi
call   1030 <getnum@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x80000001,-0x20(%rbp)
je     172c <getnum+0x5fc>
mov    -0x20(%rbp),%eax
or     -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    1733 <getnum+0x603>
movl   $0x80000001,-0x1c(%rbp)
jmp    173d <getnum+0x60d>
jmp    176f <getnum+0x63f>
jmp    1742 <getnum+0x612>
jmp    1747 <getnum+0x617>
jmp    174c <getnum+0x61c>
jmp    1751 <getnum+0x621>
jmp    1756 <getnum+0x626>
jmp    175b <getnum+0x62b>
jmp    1760 <getnum+0x630>
jmp    1765 <getnum+0x635>
jmp    176a <getnum+0x63a>
jmp    12e4 <getnum+0x1b4>
mov    -0x18(%rbp),%rdi
call   1050 <skipspace@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rcx
mov    -0x8(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x1c(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<getnum>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %esi,%ebp
mov    %rdi,%r14
mov    (%rdi),%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    (%rax),%cl
cmp    $0x2c,%cl
jg     1185 <getnum+0x55>
cmp    $0x28,%cl
je     11ce <getnum+0x9e>
cmp    $0x2b,%cl
jne    1240 <getnum+0x110>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
lea    0x8(%rsp),%rdi
xor    %esi,%esi
call   1030 <getnum@plt>
jmp    125d <getnum+0x12d>
cmp    $0x2d,%cl
je     1210 <getnum+0xe0>
cmp    $0x7e,%cl
jne    1240 <getnum+0x110>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
lea    0x8(%rsp),%rdi
xor    %esi,%esi
call   1030 <getnum@plt>
mov    $0x80000001,%r15d
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
mov    %eax,%ebx
not    %ebx
jmp    125f <getnum+0x12f>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
lea    0x8(%rsp),%rdi
mov    $0x9,%esi
call   1030 <getnum@plt>
mov    0x8(%rsp),%rdi
mov    $0x80000001,%r15d
cmpb   $0x29,(%rdi)
jne    126d <getnum+0x13d>
mov    %eax,%ebx
add    $0x1,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
jmp    125f <getnum+0x12f>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
lea    0x8(%rsp),%rdi
xor    %esi,%esi
call   1030 <getnum@plt>
mov    $0x80000001,%r15d
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
mov    %eax,%ebx
neg    %ebx
jmp    125f <getnum+0x12f>
add    $0xd0,%cl
mov    $0x80000001,%r15d
cmp    $0x9,%cl
ja     126d <getnum+0x13d>
lea    0x8(%rsp),%rsi
mov    %rax,%rdi
xor    %edx,%edx
call   1040 <strtol@plt>
mov    %eax,%ebx
mov    $0x80000001,%r15d
cmp    $0x80000001,%ebx
jne    128a <getnum+0x15a>
mov    0x8(%rsp),%rdi
call   1050 <skipspace@plt>
mov    %rax,(%r14)
mov    %r15d,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x8(%rsp),%r12
jmp    12a8 <getnum+0x178>
or     %eax,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
cmp    $0x80000001,%ebx
je     126d <getnum+0x13d>
mov    0x8(%rsp),%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
movzbl (%rax),%ecx
cmp    $0x3,%ebp
jl     12f0 <getnum+0x1c0>
cmp    $0x2b,%cl
jne    12f0 <getnum+0x1c0>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    %r12,%rdi
mov    $0x2,%esi
call   1030 <getnum@plt>
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
add    %eax,%ebx
jmp    12a0 <getnum+0x170>
nopl   (%rax)
cmp    $0x3,%ebp
jl     1330 <getnum+0x200>
cmp    $0x2d,%cl
jne    1330 <getnum+0x200>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    %r12,%rdi
mov    $0x2,%esi
call   1030 <getnum@plt>
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
sub    %eax,%ebx
jmp    12a0 <getnum+0x170>
nopw   0x0(%rax,%rax,1)
cmp    $0x2,%ebp
jl     136b <getnum+0x23b>
cmp    $0x2a,%cl
jne    136b <getnum+0x23b>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    %r12,%rdi
mov    $0x1,%esi
call   1030 <getnum@plt>
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
imul   %eax,%ebx
jmp    12a0 <getnum+0x170>
cmp    $0x2,%ebp
jl     13b4 <getnum+0x284>
cmp    $0x2f,%cl
jne    13b4 <getnum+0x284>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    %r12,%rdi
mov    $0x1,%esi
call   1030 <getnum@plt>
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
mov    %eax,%ecx
test   %eax,%eax
je     126d <getnum+0x13d>
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %eax,%ebx
jmp    12a0 <getnum+0x170>
cmp    $0x2,%ebp
jl     13fd <getnum+0x2cd>
cmp    $0x25,%cl
jne    13fd <getnum+0x2cd>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    %r12,%rdi
mov    $0x1,%esi
call   1030 <getnum@plt>
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
mov    %eax,%ecx
test   %eax,%eax
je     126d <getnum+0x13d>
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %edx,%ebx
jmp    12a0 <getnum+0x170>
cmp    $0x3e,%cl
je     1458 <getnum+0x328>
cmp    $0x3c,%cl
jne    14a5 <getnum+0x375>
cmp    $0x4,%ebp
jl     1551 <getnum+0x421>
cmpb   $0x3c,0x1(%rax)
jne    1551 <getnum+0x421>
add    $0x2,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    %r12,%rdi
mov    $0x3,%esi
call   1030 <getnum@plt>
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
test   %eax,%eax
je     126d <getnum+0x13d>
mov    %eax,%ecx
shl    %cl,%ebx
jmp    12a0 <getnum+0x170>
cmp    $0x4,%ebp
jl     1551 <getnum+0x421>
cmpb   $0x3e,0x1(%rax)
jne    1551 <getnum+0x421>
add    $0x2,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    %r12,%rdi
mov    $0x3,%esi
call   1030 <getnum@plt>
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
test   %eax,%eax
je     126d <getnum+0x13d>
mov    %eax,%ecx
sar    %cl,%ebx
jmp    12a0 <getnum+0x170>
cmp    $0x5,%ebp
jl     14df <getnum+0x3af>
cmp    $0x26,%cl
jne    14df <getnum+0x3af>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    %r12,%rdi
mov    $0x4,%esi
call   1030 <getnum@plt>
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
and    %eax,%ebx
jmp    12a0 <getnum+0x170>
cmp    $0x6,%ebp
jl     1519 <getnum+0x3e9>
cmp    $0x5e,%cl
jne    1519 <getnum+0x3e9>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    %r12,%rdi
mov    $0x5,%esi
call   1030 <getnum@plt>
cmp    $0x80000001,%eax
je     126d <getnum+0x13d>
xor    %eax,%ebx
jmp    12a0 <getnum+0x170>
cmp    $0x7,%ebp
jl     1551 <getnum+0x421>
cmp    $0x7c,%cl
jne    1551 <getnum+0x421>
add    $0x1,%rax
mov    %rax,%rdi
call   1050 <skipspace@plt>
mov    %rax,0x8(%rsp)
mov    %r12,%rdi
mov    $0x6,%esi
call   1030 <getnum@plt>
cmp    $0x80000001,%eax
jne    1291 <getnum+0x161>
jmp    126d <getnum+0x13d>
mov    %ebx,%r15d
jmp    126d <getnum+0x13d>

LLVM IR (-O0):
define i32 @getnum(i8** %0, i32 %1) {
%3 = alloca i8**
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i32
%7 = alloca i32
store i8** %0, i8*** %3
store i32 %1, i32* %4
%8 = load i8**, i8*** %3
%9 = load i8*, i8** %8
store i8* %9, i8** %5
store i32 -2147483647, i32* %6
%10 = load i8*, i8** %5
%11 = call i8* @skipspace(i8* %10)
store i8* %11, i8** %5
%12 = load i8*, i8** %5
%13 = load i8, i8* %12
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 43
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load i8*, i8** %5
%18 = getelementptr inbounds i8, i8* %17, i64 1
%19 = call i8* @skipspace(i8* %18)
store i8* %19, i8** %5
%20 = call i32 @getnum(i8** %5, i32 0)
store i32 %20, i32* %6
br label %91
21: ; preds = %2
%22 = load i8*, i8** %5
%23 = load i8, i8* %22
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 45
br i1 %25, label %26, label %37
26: ; preds = %21
%27 = load i8*, i8** %5
%28 = getelementptr inbounds i8, i8* %27, i64 1
%29 = call i8* @skipspace(i8* %28)
store i8* %29, i8** %5
%30 = call i32 @getnum(i8** %5, i32 0)
store i32 %30, i32* %6
%31 = load i32, i32* %6
%32 = icmp ne i32 %31, -2147483647
br i1 %32, label %33, label %36
33: ; preds = %26
%34 = load i32, i32* %6
%35 = sub nsw i32 0, %34
store i32 %35, i32* %6
br label %36
36: ; preds = %33, %26
br label %90
37: ; preds = %21
%38 = load i8*, i8** %5
%39 = load i8, i8* %38
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 126
br i1 %41, label %42, label %53
42: ; preds = %37
%43 = load i8*, i8** %5
%44 = getelementptr inbounds i8, i8* %43, i64 1
%45 = call i8* @skipspace(i8* %44)
store i8* %45, i8** %5
%46 = call i32 @getnum(i8** %5, i32 0)
store i32 %46, i32* %6
%47 = load i32, i32* %6
%48 = icmp ne i32 %47, -2147483647
br i1 %48, label %49, label %52
49: ; preds = %42
%50 = load i32, i32* %6
%51 = xor i32 %50, -1
store i32 %51, i32* %6
br label %52
52: ; preds = %49, %42
br label %89
53: ; preds = %37
%54 = load i8*, i8** %5
%55 = load i8, i8* %54
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 40
br i1 %57, label %58, label %73
58: ; preds = %53
%59 = load i8*, i8** %5
%60 = getelementptr inbounds i8, i8* %59, i64 1
%61 = call i8* @skipspace(i8* %60)
store i8* %61, i8** %5
%62 = call i32 @getnum(i8** %5, i32 9)
store i32 %62, i32* %6
%63 = load i8*, i8** %5
%64 = load i8, i8* %63
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 41
br i1 %66, label %67, label %71
67: ; preds = %58
%68 = load i8*, i8** %5
%69 = getelementptr inbounds i8, i8* %68, i64 1
%70 = call i8* @skipspace(i8* %69)
store i8* %70, i8** %5
br label %72
71: ; preds = %58
store i32 -2147483647, i32* %6
br label %72
72: ; preds = %71, %67
br label %88
73: ; preds = %53
%74 = load i8*, i8** %5
%75 = load i8, i8* %74
%76 = sext i8 %75 to i32
%77 = icmp sle i32 48, %76
br i1 %77, label %78, label %86
78: ; preds = %73
%79 = load i8*, i8** %5
%80 = load i8, i8* %79
%81 = sext i8 %80 to i32
%82 = icmp sle i32 %81, 57
br i1 %82, label %83, label %86
83: ; preds = %78
%84 = load i8*, i8** %5
%85 = call i32 @strtol(i8* %84, i8** %5, i32 0)
store i32 %85, i32* %6
br label %87
86: ; preds = %78, %73
store i32 -2147483647, i32* %6
br label %87
87: ; preds = %86, %83
br label %88
88: ; preds = %87, %72
br label %89
89: ; preds = %88, %52
br label %90
90: ; preds = %89, %36
br label %91
91: ; preds = %90, %16
br label %92
92: ; preds = %342, %91
%93 = load i32, i32* %6
%94 = icmp eq i32 %93, -2147483647
br i1 %94, label %95, label %96
95: ; preds = %92
br label %343
96: ; preds = %92
%97 = load i8*, i8** %5
%98 = call i8* @skipspace(i8* %97)
store i8* %98, i8** %5
%99 = load i8*, i8** %5
%100 = load i8, i8* %99
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 43
br i1 %102, label %103, label %119
103: ; preds = %96
%104 = load i32, i32* %4
%105 = icmp sgt i32 %104, 2
br i1 %105, label %106, label %119
106: ; preds = %103
%107 = load i8*, i8** %5
%108 = getelementptr inbounds i8, i8* %107, i64 1
%109 = call i8* @skipspace(i8* %108)
store i8* %109, i8** %5
%110 = call i32 @getnum(i8** %5, i32 2)
store i32 %110, i32* %7
%111 = load i32, i32* %7
%112 = icmp ne i32 %111, -2147483647
br i1 %112, label %113, label %117
113: ; preds = %106
%114 = load i32, i32* %7
%115 = load i32, i32* %6
%116 = add nsw i32 %115, %114
store i32 %116, i32* %6
br label %118
117: ; preds = %106
store i32 -2147483647, i32* %6
br label %118
118: ; preds = %117, %113
br label %342
119: ; preds = %103, %96
%120 = load i8*, i8** %5
%121 = load i8, i8* %120
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 45
br i1 %123, label %124, label %140
124: ; preds = %119
%125 = load i32, i32* %4
%126 = icmp sgt i32 %125, 2
br i1 %126, label %127, label %140
127: ; preds = %124
%128 = load i8*, i8** %5
%129 = getelementptr inbounds i8, i8* %128, i64 1
%130 = call i8* @skipspace(i8* %129)
store i8* %130, i8** %5
%131 = call i32 @getnum(i8** %5, i32 2)
store i32 %131, i32* %7
%132 = load i32, i32* %7
%133 = icmp ne i32 %132, -2147483647
br i1 %133, label %134, label %138
134: ; preds = %127
%135 = load i32, i32* %7
%136 = load i32, i32* %6
%137 = sub nsw i32 %136, %135
store i32 %137, i32* %6
br label %139
138: ; preds = %127
store i32 -2147483647, i32* %6
br label %139
139: ; preds = %138, %134
br label %341
140: ; preds = %124, %119
%141 = load i8*, i8** %5
%142 = load i8, i8* %141
%143 = sext i8 %142 to i32
%144 = icmp eq i32 %143, 42
br i1 %144, label %145, label %161
145: ; preds = %140
%146 = load i32, i32* %4
%147 = icmp sgt i32 %146, 1
br i1 %147, label %148, label %161
148: ; preds = %145
%149 = load i8*, i8** %5
%150 = getelementptr inbounds i8, i8* %149, i64 1
%151 = call i8* @skipspace(i8* %150)
store i8* %151, i8** %5
%152 = call i32 @getnum(i8** %5, i32 1)
store i32 %152, i32* %7
%153 = load i32, i32* %7
%154 = icmp ne i32 %153, -2147483647
br i1 %154, label %155, label %159
155: ; preds = %148
%156 = load i32, i32* %7
%157 = load i32, i32* %6
%158 = mul nsw i32 %157, %156
store i32 %158, i32* %6
br label %160
159: ; preds = %148
store i32 -2147483647, i32* %6
br label %160
160: ; preds = %159, %155
br label %340
161: ; preds = %145, %140
%162 = load i8*, i8** %5
%163 = load i8, i8* %162
%164 = sext i8 %163 to i32
%165 = icmp eq i32 %164, 47
br i1 %165, label %166, label %185
166: ; preds = %161
%167 = load i32, i32* %4
%168 = icmp sgt i32 %167, 1
br i1 %168, label %169, label %185
169: ; preds = %166
%170 = load i8*, i8** %5
%171 = getelementptr inbounds i8, i8* %170, i64 1
%172 = call i8* @skipspace(i8* %171)
store i8* %172, i8** %5
%173 = call i32 @getnum(i8** %5, i32 1)
store i32 %173, i32* %7
%174 = load i32, i32* %7
%175 = icmp ne i32 %174, -2147483647
br i1 %175, label %176, label %183
176: ; preds = %169
%177 = load i32, i32* %7
%178 = icmp ne i32 %177, 0
br i1 %178, label %179, label %183
179: ; preds = %176
%180 = load i32, i32* %7
%181 = load i32, i32* %6
%182 = sdiv i32 %181, %180
store i32 %182, i32* %6
br label %184
183: ; preds = %176, %169
store i32 -2147483647, i32* %6
br label %184
184: ; preds = %183, %179
br label %339
185: ; preds = %166, %161
%186 = load i8*, i8** %5
%187 = load i8, i8* %186
%188 = sext i8 %187 to i32
%189 = icmp eq i32 %188, 37
br i1 %189, label %190, label %209
190: ; preds = %185
%191 = load i32, i32* %4
%192 = icmp sgt i32 %191, 1
br i1 %192, label %193, label %209
193: ; preds = %190
%194 = load i8*, i8** %5
%195 = getelementptr inbounds i8, i8* %194, i64 1
%196 = call i8* @skipspace(i8* %195)
store i8* %196, i8** %5
%197 = call i32 @getnum(i8** %5, i32 1)
store i32 %197, i32* %7
%198 = load i32, i32* %7
%199 = icmp ne i32 %198, -2147483647
br i1 %199, label %200, label %207
200: ; preds = %193
%201 = load i32, i32* %7
%202 = icmp ne i32 %201, 0
br i1 %202, label %203, label %207
203: ; preds = %200
%204 = load i32, i32* %7
%205 = load i32, i32* %6
%206 = srem i32 %205, %204
store i32 %206, i32* %6
br label %208
207: ; preds = %200, %193
store i32 -2147483647, i32* %6
br label %208
208: ; preds = %207, %203
br label %338
209: ; preds = %190, %185
%210 = load i8*, i8** %5
%211 = load i8, i8* %210
%212 = sext i8 %211 to i32
%213 = icmp eq i32 %212, 60
br i1 %213, label %214, label %239
214: ; preds = %209
%215 = load i8*, i8** %5
%216 = getelementptr inbounds i8, i8* %215, i64 1
%217 = load i8, i8* %216
%218 = sext i8 %217 to i32
%219 = icmp eq i32 %218, 60
br i1 %219, label %220, label %239
220: ; preds = %214
%221 = load i32, i32* %4
%222 = icmp sgt i32 %221, 3
br i1 %222, label %223, label %239
223: ; preds = %220
%224 = load i8*, i8** %5
%225 = getelementptr inbounds i8, i8* %224, i64 2
%226 = call i8* @skipspace(i8* %225)
store i8* %226, i8** %5
%227 = call i32 @getnum(i8** %5, i32 3)
store i32 %227, i32* %7
%228 = load i32, i32* %7
%229 = icmp ne i32 %228, -2147483647
br i1 %229, label %230, label %237
230: ; preds = %223
%231 = load i32, i32* %7
%232 = icmp ne i32 %231, 0
br i1 %232, label %233, label %237
233: ; preds = %230
%234 = load i32, i32* %7
%235 = load i32, i32* %6
%236 = shl i32 %235, %234
store i32 %236, i32* %6
br label %238
237: ; preds = %230, %223
store i32 -2147483647, i32* %6
br label %238
238: ; preds = %237, %233
br label %337
239: ; preds = %220, %214, %209
%240 = load i8*, i8** %5
%241 = load i8, i8* %240
%242 = sext i8 %241 to i32
%243 = icmp eq i32 %242, 62
br i1 %243, label %244, label %269
244: ; preds = %239
%245 = load i8*, i8** %5
%246 = getelementptr inbounds i8, i8* %245, i64 1
%247 = load i8, i8* %246
%248 = sext i8 %247 to i32
%249 = icmp eq i32 %248, 62
br i1 %249, label %250, label %269
250: ; preds = %244
%251 = load i32, i32* %4
%252 = icmp sgt i32 %251, 3
br i1 %252, label %253, label %269
253: ; preds = %250
%254 = load i8*, i8** %5
%255 = getelementptr inbounds i8, i8* %254, i64 2
%256 = call i8* @skipspace(i8* %255)
store i8* %256, i8** %5
%257 = call i32 @getnum(i8** %5, i32 3)
store i32 %257, i32* %7
%258 = load i32, i32* %7
%259 = icmp ne i32 %258, -2147483647
br i1 %259, label %260, label %267
260: ; preds = %253
%261 = load i32, i32* %7
%262 = icmp ne i32 %261, 0
br i1 %262, label %263, label %267
263: ; preds = %260
%264 = load i32, i32* %7
%265 = load i32, i32* %6
%266 = ashr i32 %265, %264
store i32 %266, i32* %6
br label %268
267: ; preds = %260, %253
store i32 -2147483647, i32* %6
br label %268
268: ; preds = %267, %263
br label %336
269: ; preds = %250, %244, %239
%270 = load i8*, i8** %5
%271 = load i8, i8* %270
%272 = sext i8 %271 to i32
%273 = icmp eq i32 %272, 38
br i1 %273, label %274, label %290
274: ; preds = %269
%275 = load i32, i32* %4
%276 = icmp sgt i32 %275, 4
br i1 %276, label %277, label %290
277: ; preds = %274
%278 = load i8*, i8** %5
%279 = getelementptr inbounds i8, i8* %278, i64 1
%280 = call i8* @skipspace(i8* %279)
store i8* %280, i8** %5
%281 = call i32 @getnum(i8** %5, i32 4)
store i32 %281, i32* %7
%282 = load i32, i32* %7
%283 = icmp ne i32 %282, -2147483647
br i1 %283, label %284, label %288
284: ; preds = %277
%285 = load i32, i32* %7
%286 = load i32, i32* %6
%287 = and i32 %286, %285
store i32 %287, i32* %6
br label %289
288: ; preds = %277
store i32 -2147483647, i32* %6
br label %289
289: ; preds = %288, %284
br label %335
290: ; preds = %274, %269
%291 = load i8*, i8** %5
%292 = load i8, i8* %291
%293 = sext i8 %292 to i32
%294 = icmp eq i32 %293, 94
br i1 %294, label %295, label %311
295: ; preds = %290
%296 = load i32, i32* %4
%297 = icmp sgt i32 %296, 5
br i1 %297, label %298, label %311
298: ; preds = %295
%299 = load i8*, i8** %5
%300 = getelementptr inbounds i8, i8* %299, i64 1
%301 = call i8* @skipspace(i8* %300)
store i8* %301, i8** %5
%302 = call i32 @getnum(i8** %5, i32 5)
store i32 %302, i32* %7
%303 = load i32, i32* %7
%304 = icmp ne i32 %303, -2147483647
br i1 %304, label %305, label %309
305: ; preds = %298
%306 = load i32, i32* %7
%307 = load i32, i32* %6
%308 = xor i32 %307, %306
store i32 %308, i32* %6
br label %310
309: ; preds = %298
store i32 -2147483647, i32* %6
br label %310
310: ; preds = %309, %305
br label %334
311: ; preds = %295, %290
%312 = load i8*, i8** %5
%313 = load i8, i8* %312
%314 = sext i8 %313 to i32
%315 = icmp eq i32 %314, 124
br i1 %315, label %316, label %332
316: ; preds = %311
%317 = load i32, i32* %4
%318 = icmp sgt i32 %317, 6
br i1 %318, label %319, label %332
319: ; preds = %316
%320 = load i8*, i8** %5
%321 = getelementptr inbounds i8, i8* %320, i64 1
%322 = call i8* @skipspace(i8* %321)
store i8* %322, i8** %5
%323 = call i32 @getnum(i8** %5, i32 6)
store i32 %323, i32* %7
%324 = load i32, i32* %7
%325 = icmp ne i32 %324, -2147483647
br i1 %325, label %326, label %330
326: ; preds = %319
%327 = load i32, i32* %7
%328 = load i32, i32* %6
%329 = or i32 %328, %327
store i32 %329, i32* %6
br label %331
330: ; preds = %319
store i32 -2147483647, i32* %6
br label %331
331: ; preds = %330, %326
br label %333
332: ; preds = %316, %311
br label %343
333: ; preds = %331
br label %334
334: ; preds = %333, %310
br label %335
335: ; preds = %334, %289
br label %336
336: ; preds = %335, %268
br label %337
337: ; preds = %336, %238
br label %338
338: ; preds = %337, %208
br label %339
339: ; preds = %338, %184
br label %340
340: ; preds = %339, %160
br label %341
341: ; preds = %340, %139
br label %342
342: ; preds = %341, %118
br label %92
343: ; preds = %332, %95
%344 = load i8*, i8** %5
%345 = call i8* @skipspace(i8* %344)
store i8* %345, i8** %5
%346 = load i8*, i8** %5
%347 = load i8**, i8*** %3
store i8* %346, i8** %347
%348 = load i32, i32* %6
ret i32 %348
}

LLVM IR (-O2):
define i32 @getnum(i8** nocapture %0, i32 %1) {
%3 = alloca i8*
%4 = bitcast i8** %3 to i8*
%5 = load i8*, i8** %0
%6 = tail call i8* @skipspace(i8* %5)
store i8* %6, i8** %3
%7 = load i8, i8* %6
switch i8 %7, label %34 [
i8 43, label %8
i8 45, label %12
i8 126, label %18
i8 40, label %24
]
8: ; preds = %2
%9 = getelementptr inbounds i8, i8* %6, i64 1
%10 = tail call i8* @skipspace(i8* %9)
store i8* %10, i8** %3
%11 = call i32 @getnum(i8** %3, i32 0)
br label %39
12: ; preds = %2
%13 = getelementptr inbounds i8, i8* %6, i64 1
%14 = tail call i8* @skipspace(i8* %13)
store i8* %14, i8** %3
%15 = call i32 @getnum(i8** %3, i32 0)
%16 = icmp eq i32 %15, -2147483647
%17 = sub nsw i32 0, %15
br i1 %16, label %151, label %39
18: ; preds = %2
%19 = getelementptr inbounds i8, i8* %6, i64 1
%20 = tail call i8* @skipspace(i8* %19)
store i8* %20, i8** %3
%21 = call i32 @getnum(i8** %3, i32 0)
%22 = icmp eq i32 %21, -2147483647
%23 = xor i32 %21, -1
br i1 %22, label %151, label %39
24: ; preds = %2
%25 = getelementptr inbounds i8, i8* %6, i64 1
%26 = tail call i8* @skipspace(i8* %25)
store i8* %26, i8** %3
%27 = call i32 @getnum(i8** %3, i32 9)
%28 = load i8*, i8** %3
%29 = load i8, i8* %28
%30 = icmp eq i8 %29, 41
br i1 %30, label %31, label %151
31: ; preds = %24
%32 = getelementptr inbounds i8, i8* %28, i64 1
%33 = tail call i8* @skipspace(i8* %32)
store i8* %33, i8** %3
br label %39
34: ; preds = %2
%35 = add i8 %7, -48
%36 = icmp ult i8 %35, 10
br i1 %36, label %37, label %151
37: ; preds = %34
%38 = call i32 @strtol(i8* %6, i8** %3, i32 0)
br label %39
39: ; preds = %18, %12, %31, %37, %8
%40 = phi i32 [ %11, %8 ], [ %27, %31 ], [ %38, %37 ], [ %17, %12 ], [ %23, %18 ]
%41 = icmp eq i32 %40, -2147483647
br i1 %41, label %151, label %42
42: ; preds = %39
%43 = icmp sgt i32 %1, 2
%44 = icmp sgt i32 %1, 1
%45 = icmp sgt i32 %1, 3
%46 = icmp sgt i32 %1, 4
%47 = icmp sgt i32 %1, 5
%48 = icmp sgt i32 %1, 6
br label %49
49: ; preds = %42, %148
%50 = phi i32 [ %40, %42 ], [ %149, %148 ]
%51 = load i8*, i8** %3
%52 = tail call i8* @skipspace(i8* %51)
store i8* %52, i8** %3
%53 = load i8, i8* %52
%54 = icmp eq i8 %53, 43
%55 = and i1 %43, %54
br i1 %55, label %56, label %62
56: ; preds = %49
%57 = getelementptr inbounds i8, i8* %52, i64 1
%58 = tail call i8* @skipspace(i8* %57)
store i8* %58, i8** %3
%59 = call i32 @getnum(i8** %3, i32 2)
%60 = icmp eq i32 %59, -2147483647
%61 = add nsw i32 %59, %50
br i1 %60, label %151, label %148
62: ; preds = %49
%63 = icmp eq i8 %53, 45
%64 = and i1 %43, %63
br i1 %64, label %65, label %71
65: ; preds = %62
%66 = getelementptr inbounds i8, i8* %52, i64 1
%67 = tail call i8* @skipspace(i8* %66)
store i8* %67, i8** %3
%68 = call i32 @getnum(i8** %3, i32 2)
%69 = icmp eq i32 %68, -2147483647
%70 = sub nsw i32 %50, %68
br i1 %69, label %151, label %148
71: ; preds = %62
%72 = icmp eq i8 %53, 42
%73 = and i1 %44, %72
br i1 %73, label %74, label %80
74: ; preds = %71
%75 = getelementptr inbounds i8, i8* %52, i64 1
%76 = tail call i8* @skipspace(i8* %75)
store i8* %76, i8** %3
%77 = call i32 @getnum(i8** %3, i32 1)
%78 = icmp eq i32 %77, -2147483647
%79 = mul nsw i32 %77, %50
br i1 %78, label %151, label %148
80: ; preds = %71
%81 = icmp eq i8 %53, 47
%82 = and i1 %44, %81
br i1 %82, label %83, label %89
83: ; preds = %80
%84 = getelementptr inbounds i8, i8* %52, i64 1
%85 = tail call i8* @skipspace(i8* %84)
store i8* %85, i8** %3
%86 = call i32 @getnum(i8** %3, i32 1)
switch i32 %86, label %87 [
i32 -2147483647, label %151
i32 0, label %151
]
87: ; preds = %83
%88 = sdiv i32 %50, %86
br label %148
89: ; preds = %80
%90 = icmp eq i8 %53, 37
%91 = and i1 %44, %90
br i1 %91, label %92, label %98
92: ; preds = %89
%93 = getelementptr inbounds i8, i8* %52, i64 1
%94 = tail call i8* @skipspace(i8* %93)
store i8* %94, i8** %3
%95 = call i32 @getnum(i8** %3, i32 1)
switch i32 %95, label %96 [
i32 -2147483647, label %151
i32 0, label %151
]
96: ; preds = %92
%97 = srem i32 %50, %95
br label %148
98: ; preds = %89
switch i8 %53, label %121 [
i8 60, label %99
i8 62, label %110
]
99: ; preds = %98
%100 = getelementptr inbounds i8, i8* %52, i64 1
%101 = load i8, i8* %100
%102 = icmp eq i8 %101, 60
%103 = and i1 %45, %102
br i1 %103, label %104, label %151
104: ; preds = %99
%105 = getelementptr inbounds i8, i8* %52, i64 2
%106 = tail call i8* @skipspace(i8* %105)
store i8* %106, i8** %3
%107 = call i32 @getnum(i8** %3, i32 3)
switch i32 %107, label %108 [
i32 -2147483647, label %151
i32 0, label %151
]
108: ; preds = %104
%109 = shl i32 %50, %107
br label %148
110: ; preds = %98
%111 = getelementptr inbounds i8, i8* %52, i64 1
%112 = load i8, i8* %111
%113 = icmp eq i8 %112, 62
%114 = and i1 %45, %113
br i1 %114, label %115, label %151
115: ; preds = %110
%116 = getelementptr inbounds i8, i8* %52, i64 2
%117 = tail call i8* @skipspace(i8* %116)
store i8* %117, i8** %3
%118 = call i32 @getnum(i8** %3, i32 3)
switch i32 %118, label %119 [
i32 -2147483647, label %151
i32 0, label %151
]
119: ; preds = %115
%120 = ashr i32 %50, %118
br label %148
121: ; preds = %98
%122 = icmp eq i8 %53, 38
%123 = and i1 %46, %122
br i1 %123, label %124, label %130
124: ; preds = %121
%125 = getelementptr inbounds i8, i8* %52, i64 1
%126 = tail call i8* @skipspace(i8* %125)
store i8* %126, i8** %3
%127 = call i32 @getnum(i8** %3, i32 4)
%128 = icmp eq i32 %127, -2147483647
%129 = and i32 %127, %50
br i1 %128, label %151, label %148
130: ; preds = %121
%131 = icmp eq i8 %53, 94
%132 = and i1 %47, %131
br i1 %132, label %133, label %139
133: ; preds = %130
%134 = getelementptr inbounds i8, i8* %52, i64 1
%135 = tail call i8* @skipspace(i8* %134)
store i8* %135, i8** %3
%136 = call i32 @getnum(i8** %3, i32 5)
%137 = icmp eq i32 %136, -2147483647
%138 = xor i32 %136, %50
br i1 %137, label %151, label %148
139: ; preds = %130
%140 = icmp eq i8 %53, 124
%141 = and i1 %48, %140
br i1 %141, label %142, label %151
142: ; preds = %139
%143 = getelementptr inbounds i8, i8* %52, i64 1
%144 = tail call i8* @skipspace(i8* %143)
store i8* %144, i8** %3
%145 = call i32 @getnum(i8** %3, i32 6)
%146 = icmp eq i32 %145, -2147483647
%147 = or i32 %145, %50
br i1 %146, label %151, label %148
148: ; preds = %142, %133, %124, %74, %65, %56, %87, %108, %119, %96
%149 = phi i32 [ %88, %87 ], [ %97, %96 ], [ %109, %108 ], [ %120, %119 ], [ %61, %56 ], [ %70, %65 ], [ %79, %74 ], [ %129, %124 ], [ %138, %133 ], [ %147, %142 ]
%150 = icmp eq i32 %149, -2147483647
br i1 %150, label %151, label %49
151: ; preds = %142, %133, %124, %74, %65, %56, %115, %115, %104, %104, %92, %92, %83, %83, %148, %139, %110, %99, %18, %12, %34, %24, %39
%152 = phi i32 [ -2147483647, %39 ], [ -2147483647, %24 ], [ -2147483647, %34 ], [ -2147483647, %12 ], [ -2147483647, %18 ], [ -2147483647, %142 ], [ -2147483647, %133 ], [ -2147483647, %124 ], [ -2147483647, %74 ], [ -2147483647, %65 ], [ -2147483647, %56 ], [ -2147483647, %115 ], [ -2147483647, %115 ], [ -2147483647, %104 ], [ -2147483647, %104 ], [ -2147483647, %92 ], [ -2147483647, %92 ], [ -2147483647, %83 ], [ -2147483647, %83 ], [ %50, %99 ], [ %50, %110 ], [ %50, %139 ], [ -2147483647, %148 ]
%153 = load i8*, i8** %3
%154 = tail call i8* @skipspace(i8* %153)
store i8* %154, i8** %0
ret i32 %152
}