#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 */
int sscanf(char const *, char *, ...);
int strlen(char *);
int parse_constraints_line(const char *line, char command, int *i, int *j,
                           int *k, int *l, char *loop, char *orientation,
                           float *e) {
  int v1, v2;
  int ret = 0;
  int range_mode = 0;
  int pos = 0;
  int max_entries = 5;
  int entries_seen = 0;
  int pp;
  float energy;
  char buf[256], buf2[10], *c, tmp_loop;
  switch (command) {
  case 'A':
  case 'F':
  case 'P':
    max_entries = 5;
    break;
  case 'C':
  case 'E':
    max_entries = 4;
    break;
  case '#':
  case ';':
  case '%':
  case '/':
  case ' ':
    ret = 2;
    break;
  default:
    ret = 1;
    break;
  }
  *loop = (char)((char)0x01 | (char)0x02 | (char)0x04 | (char)0x08 |
                 (char)0x10 | (char)0x20);
  tmp_loop = (char)0;
  while (!ret && (entries_seen < max_entries) &&
         (sscanf(line + pos, "%15s%n", &buf[0], &pp) == 1)) {
    pos += pp;
    switch (entries_seen) {
    case 0:
      if (sscanf(buf, "%d-%d%n", &v1, &v2, &pp) == 2) {
        if (pp == strlen(buf)) {
          *i = v1;
          *j = v2;
          range_mode = 1;
          --max_entries;
          break;
        }
      } else if (sscanf(buf, "%d%n", &v1, &pp) == 1) {
        if (pp == strlen(buf)) {
          *i = v1;
          break;
        }
      }
      ret = 1;
      break;
    case 1:
      if (sscanf(buf, "%d-%d%n", &v1, &v2, &pp) == 2) {
        if (pp == strlen(buf)) {
          *k = v1;
          *l = v2;
          if (!range_mode)
            --max_entries;
          range_mode = 1;
          break;
        }
      } else if (range_mode) {
        if (sscanf(buf, "%d%n", &v1, &pp) == 1) {
          if (pp == strlen(buf)) {
            *l = v1;
            break;
          }
        }
      } else if (sscanf(buf, "%d%n", &v1, &pp) == 1) {
        if (pp == strlen(buf)) {
          *j = v1;
          break;
        }
      }
      ret = 1;
      break;
    case 2:
      if (!range_mode) {
        if (sscanf(buf, "%d%n", &v1, &pp) == 1) {
          if (pp == strlen(buf)) {
            *k = v1;
            break;
          }
        }
        ret = 1;
        break;
      } else {
        --max_entries;
      }
    case 3:
      if (command == 'E') {
        if (sscanf(buf, "%g%n", &energy, &pp) == 1) {
          if (pp == strlen(buf)) {
            *e = energy;
            break;
          }
        }
      } else {
        if (sscanf(buf, "%8s%n", &buf2[0], &pp) == 1) {
          buf2[8] = '\0';
          if (pp == strlen(buf)) {
            for (c = &(buf2[0]); (*c != '\0') && (!ret); c++) {
              switch (*c) {
              case 'E':
                tmp_loop |= (char)0x01;
                break;
              case 'H':
                tmp_loop |= (char)0x02;
                break;
              case 'I':
                tmp_loop |= (char)0x04;
                break;
              case 'i':
                tmp_loop |= (char)0x08;
                break;
              case 'M':
                tmp_loop |= (char)0x10;
                break;
              case 'm':
                tmp_loop |= (char)0x20;
                break;
              case 'A':
                tmp_loop |= (char)((char)0x01 | (char)0x02 | (char)0x04 |
                                   (char)0x08 | (char)0x10 | (char)0x20);
                break;
              case 'U':
              case 'D':
                *orientation = *c;
                break;
              default:
                ret = 1;
              }
            }
            if (tmp_loop)
              *loop = tmp_loop;
            break;
          }
        }
      }
      ret = 1;
      break;
    case 4:
      if (!(sscanf(buf, "%c", orientation) == 1)) {
        ret = 1;
      }
      break;
    }
    ++entries_seen;
  }
  return ret;
}


x86 assembly (clang, -O0):
<parse_constraints_line>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1c0,%rsp
mov    %sil,%al
mov    0x20(%rbp),%rsi
mov    0x18(%rbp),%rsi
mov    0x10(%rbp),%rsi
mov    %rdi,-0x8(%rbp)
mov    %al,-0x9(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movl   $0x0,-0x3c(%rbp)
movl   $0x0,-0x40(%rbp)
movl   $0x0,-0x44(%rbp)
movl   $0x5,-0x48(%rbp)
movl   $0x0,-0x4c(%rbp)
movsbl -0x9(%rbp),%eax
mov    %eax,-0x180(%rbp)
sub    $0x20,%eax
je     1258 <parse_constraints_line+0x138>
jmp    118c <parse_constraints_line+0x6c>
mov    -0x180(%rbp),%eax
sub    $0x23,%eax
je     1258 <parse_constraints_line+0x138>
jmp    11a0 <parse_constraints_line+0x80>
mov    -0x180(%rbp),%eax
sub    $0x25,%eax
je     1258 <parse_constraints_line+0x138>
jmp    11b4 <parse_constraints_line+0x94>
mov    -0x180(%rbp),%eax
sub    $0x2f,%eax
je     1258 <parse_constraints_line+0x138>
jmp    11c8 <parse_constraints_line+0xa8>
mov    -0x180(%rbp),%eax
sub    $0x3b,%eax
je     1258 <parse_constraints_line+0x138>
jmp    11dc <parse_constraints_line+0xbc>
mov    -0x180(%rbp),%eax
sub    $0x41,%eax
je     1240 <parse_constraints_line+0x120>
jmp    11f0 <parse_constraints_line+0xd0>
mov    -0x180(%rbp),%eax
sub    $0x43,%eax
je     124c <parse_constraints_line+0x12c>
jmp    1204 <parse_constraints_line+0xe4>
mov    -0x180(%rbp),%eax
sub    $0x45,%eax
je     124c <parse_constraints_line+0x12c>
jmp    1218 <parse_constraints_line+0xf8>
mov    -0x180(%rbp),%eax
sub    $0x46,%eax
je     1240 <parse_constraints_line+0x120>
jmp    122c <parse_constraints_line+0x10c>
mov    -0x180(%rbp),%eax
sub    $0x50,%eax
jne    1264 <parse_constraints_line+0x144>
jmp    1240 <parse_constraints_line+0x120>
movl   $0x5,-0x48(%rbp)
jmp    126b <parse_constraints_line+0x14b>
movl   $0x4,-0x48(%rbp)
jmp    126b <parse_constraints_line+0x14b>
movl   $0x2,-0x3c(%rbp)
jmp    126b <parse_constraints_line+0x14b>
movl   $0x1,-0x3c(%rbp)
mov    0x10(%rbp),%rax
movb   $0x3f,(%rax)
movb   $0x0,-0x179(%rbp)
xor    %eax,%eax
cmpl   $0x0,-0x3c(%rbp)
mov    %al,-0x181(%rbp)
jne    12cf <parse_constraints_line+0x1af>
mov    -0x4c(%rbp),%ecx
xor    %eax,%eax
cmp    -0x48(%rbp),%ecx
mov    %al,-0x181(%rbp)
jge    12cf <parse_constraints_line+0x1af>
mov    -0x8(%rbp),%rdi
movslq -0x44(%rbp),%rax
add    %rax,%rdi
lea    -0x160(%rbp),%rdx
lea    0xe10(%rip),%rsi
lea    -0x50(%rbp),%rcx
mov    $0x0,%al
call   1040 <sscanf@plt>
cmp    $0x1,%eax
sete   %al
mov    %al,-0x181(%rbp)
mov    -0x181(%rbp),%al
test   $0x1,%al
jne    12e2 <parse_constraints_line+0x1c2>
jmp    186e <parse_constraints_line+0x74e>
mov    -0x50(%rbp),%ecx
mov    -0x44(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0x44(%rbp)
mov    -0x4c(%rbp),%eax
mov    %rax,-0x190(%rbp)
sub    $0x4,%rax
ja     1860 <parse_constraints_line+0x740>
mov    -0x190(%rbp),%rax
lea    0xcf1(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    -0x160(%rbp),%rdi
lea    0xda9(%rip),%rsi
lea    -0x34(%rbp),%rdx
lea    -0x38(%rbp),%rcx
lea    -0x50(%rbp),%r8
mov    $0x0,%al
call   1040 <sscanf@plt>
cmp    $0x2,%eax
jne    1393 <parse_constraints_line+0x273>
mov    -0x50(%rbp),%eax
mov    %eax,-0x194(%rbp)
lea    -0x160(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x194(%rbp),%eax
cmp    %ecx,%eax
jne    138e <parse_constraints_line+0x26e>
mov    -0x34(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x38(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
movl   $0x1,-0x40(%rbp)
mov    -0x48(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x48(%rbp)
jmp    1860 <parse_constraints_line+0x740>
jmp    13f6 <parse_constraints_line+0x2d6>
lea    -0x160(%rbp),%rdi
lea    0xd31(%rip),%rsi
lea    -0x34(%rbp),%rdx
lea    -0x50(%rbp),%rcx
mov    $0x0,%al
call   1040 <sscanf@plt>
cmp    $0x1,%eax
jne    13f1 <parse_constraints_line+0x2d1>
mov    -0x50(%rbp),%eax
mov    %eax,-0x198(%rbp)
lea    -0x160(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x198(%rbp),%eax
cmp    %ecx,%eax
jne    13ec <parse_constraints_line+0x2cc>
mov    -0x34(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
jmp    1860 <parse_constraints_line+0x740>
jmp    13f1 <parse_constraints_line+0x2d1>
jmp    13f6 <parse_constraints_line+0x2d6>
movl   $0x1,-0x3c(%rbp)
jmp    1860 <parse_constraints_line+0x740>
lea    -0x160(%rbp),%rdi
lea    0xcbf(%rip),%rsi
lea    -0x34(%rbp),%rdx
lea    -0x38(%rbp),%rcx
lea    -0x50(%rbp),%r8
mov    $0x0,%al
call   1040 <sscanf@plt>
cmp    $0x2,%eax
jne    1487 <parse_constraints_line+0x367>
mov    -0x50(%rbp),%eax
mov    %eax,-0x19c(%rbp)
lea    -0x160(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x19c(%rbp),%eax
cmp    %ecx,%eax
jne    1482 <parse_constraints_line+0x362>
mov    -0x34(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x38(%rbp),%ecx
mov    -0x30(%rbp),%rax
mov    %ecx,(%rax)
cmpl   $0x0,-0x40(%rbp)
jne    1476 <parse_constraints_line+0x356>
mov    -0x48(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x48(%rbp)
movl   $0x1,-0x40(%rbp)
jmp    1860 <parse_constraints_line+0x740>
jmp    155c <parse_constraints_line+0x43c>
cmpl   $0x0,-0x40(%rbp)
je     14f4 <parse_constraints_line+0x3d4>
lea    -0x160(%rbp),%rdi
lea    0xc33(%rip),%rsi
lea    -0x34(%rbp),%rdx
lea    -0x50(%rbp),%rcx
mov    $0x0,%al
call   1040 <sscanf@plt>
cmp    $0x1,%eax
jne    14ef <parse_constraints_line+0x3cf>
mov    -0x50(%rbp),%eax
mov    %eax,-0x1a0(%rbp)
lea    -0x160(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x1a0(%rbp),%eax
cmp    %ecx,%eax
jne    14ea <parse_constraints_line+0x3ca>
mov    -0x34(%rbp),%ecx
mov    -0x30(%rbp),%rax
mov    %ecx,(%rax)
jmp    1860 <parse_constraints_line+0x740>
jmp    14ef <parse_constraints_line+0x3cf>
jmp    1557 <parse_constraints_line+0x437>
lea    -0x160(%rbp),%rdi
lea    0xbd0(%rip),%rsi
lea    -0x34(%rbp),%rdx
lea    -0x50(%rbp),%rcx
mov    $0x0,%al
call   1040 <sscanf@plt>
cmp    $0x1,%eax
jne    1552 <parse_constraints_line+0x432>
mov    -0x50(%rbp),%eax
mov    %eax,-0x1a4(%rbp)
lea    -0x160(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x1a4(%rbp),%eax
cmp    %ecx,%eax
jne    154d <parse_constraints_line+0x42d>
mov    -0x34(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
jmp    1860 <parse_constraints_line+0x740>
jmp    1552 <parse_constraints_line+0x432>
jmp    1557 <parse_constraints_line+0x437>
jmp    155c <parse_constraints_line+0x43c>
movl   $0x1,-0x3c(%rbp)
jmp    1860 <parse_constraints_line+0x740>
cmpl   $0x0,-0x40(%rbp)
jne    15dc <parse_constraints_line+0x4bc>
lea    -0x160(%rbp),%rdi
lea    0xb52(%rip),%rsi
lea    -0x34(%rbp),%rdx
lea    -0x50(%rbp),%rcx
mov    $0x0,%al
call   1040 <sscanf@plt>
cmp    $0x1,%eax
jne    15d0 <parse_constraints_line+0x4b0>
mov    -0x50(%rbp),%eax
mov    %eax,-0x1a8(%rbp)
lea    -0x160(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x1a8(%rbp),%eax
cmp    %ecx,%eax
jne    15cb <parse_constraints_line+0x4ab>
mov    -0x34(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
jmp    1860 <parse_constraints_line+0x740>
jmp    15d0 <parse_constraints_line+0x4b0>
movl   $0x1,-0x3c(%rbp)
jmp    1860 <parse_constraints_line+0x740>
mov    -0x48(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x48(%rbp)
jmp    15ea <parse_constraints_line+0x4ca>
movsbl -0x9(%rbp),%eax
cmp    $0x45,%eax
jne    165e <parse_constraints_line+0x53e>
lea    -0x160(%rbp),%rdi
lea    0xad2(%rip),%rsi
lea    -0x54(%rbp),%rdx
lea    -0x50(%rbp),%rcx
mov    $0x0,%al
call   1040 <sscanf@plt>
cmp    $0x1,%eax
jne    1659 <parse_constraints_line+0x539>
mov    -0x50(%rbp),%eax
mov    %eax,-0x1ac(%rbp)
lea    -0x160(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x1ac(%rbp),%eax
cmp    %ecx,%eax
jne    1654 <parse_constraints_line+0x534>
movss  -0x54(%rbp),%xmm0
mov    0x20(%rbp),%rax
movss  %xmm0,(%rax)
jmp    1860 <parse_constraints_line+0x740>
jmp    1659 <parse_constraints_line+0x539>
jmp    1826 <parse_constraints_line+0x706>
lea    -0x160(%rbp),%rdi
lea    -0x16a(%rbp),%rdx
lea    0xa69(%rip),%rsi
lea    -0x50(%rbp),%rcx
mov    $0x0,%al
call   1040 <sscanf@plt>
cmp    $0x1,%eax
jne    1821 <parse_constraints_line+0x701>
movb   $0x0,-0x162(%rbp)
mov    -0x50(%rbp),%eax
mov    %eax,-0x1b0(%rbp)
lea    -0x160(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x1b0(%rbp),%eax
cmp    %ecx,%eax
jne    181c <parse_constraints_line+0x6fc>
lea    -0x16a(%rbp),%rax
mov    %rax,-0x178(%rbp)
mov    -0x178(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1b1(%rbp)
je     16eb <parse_constraints_line+0x5cb>
cmpl   $0x0,-0x3c(%rbp)
setne  %al
xor    $0xff,%al
mov    %al,-0x1b1(%rbp)
mov    -0x1b1(%rbp),%al
test   $0x1,%al
jne    16fe <parse_constraints_line+0x5de>
jmp    17fe <parse_constraints_line+0x6de>
mov    -0x178(%rbp),%rax
movsbl (%rax),%eax
add    $0xffffffbf,%eax
mov    %eax,%ecx
mov    %rcx,-0x1c0(%rbp)
sub    $0x2c,%eax
ja     17db <parse_constraints_line+0x6bb>
mov    -0x1c0(%rbp),%rax
lea    0x8e9(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movsbl -0x179(%rbp),%eax
or     $0x1,%eax
mov    %al,-0x179(%rbp)
jmp    17e2 <parse_constraints_line+0x6c2>
movsbl -0x179(%rbp),%eax
or     $0x2,%eax
mov    %al,-0x179(%rbp)
jmp    17e2 <parse_constraints_line+0x6c2>
movsbl -0x179(%rbp),%eax
or     $0x4,%eax
mov    %al,-0x179(%rbp)
jmp    17e2 <parse_constraints_line+0x6c2>
movsbl -0x179(%rbp),%eax
or     $0x8,%eax
mov    %al,-0x179(%rbp)
jmp    17e2 <parse_constraints_line+0x6c2>
movsbl -0x179(%rbp),%eax
or     $0x10,%eax
mov    %al,-0x179(%rbp)
jmp    17e2 <parse_constraints_line+0x6c2>
movsbl -0x179(%rbp),%eax
or     $0x20,%eax
mov    %al,-0x179(%rbp)
jmp    17e2 <parse_constraints_line+0x6c2>
movsbl -0x179(%rbp),%eax
or     $0x3f,%eax
mov    %al,-0x179(%rbp)
jmp    17e2 <parse_constraints_line+0x6c2>
mov    -0x178(%rbp),%rax
mov    (%rax),%cl
mov    0x18(%rbp),%rax
mov    %cl,(%rax)
jmp    17e2 <parse_constraints_line+0x6c2>
movl   $0x1,-0x3c(%rbp)
jmp    17e7 <parse_constraints_line+0x6c7>
mov    -0x178(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x178(%rbp)
jmp    16c1 <parse_constraints_line+0x5a1>
cmpb   $0x0,-0x179(%rbp)
je     1817 <parse_constraints_line+0x6f7>
mov    -0x179(%rbp),%cl
mov    0x10(%rbp),%rax
mov    %cl,(%rax)
jmp    1860 <parse_constraints_line+0x740>
jmp    1821 <parse_constraints_line+0x701>
jmp    1826 <parse_constraints_line+0x706>
movl   $0x1,-0x3c(%rbp)
jmp    1860 <parse_constraints_line+0x740>
lea    -0x160(%rbp),%rdi
mov    0x18(%rbp),%rdx
lea    0x89e(%rip),%rsi
mov    $0x0,%al
call   1040 <sscanf@plt>
cmp    $0x1,%eax
je     185b <parse_constraints_line+0x73b>
movl   $0x1,-0x3c(%rbp)
jmp    1860 <parse_constraints_line+0x740>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1279 <parse_constraints_line+0x159>
mov    -0x3c(%rbp),%eax
add    $0x1c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<parse_constraints_line>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x158,%rsp
mov    %r9,0x28(%rsp)
mov    %r8,0x30(%rsp)
mov    %rdx,0x38(%rsp)
mov    %rdi,0x48(%rsp)
mov    0x190(%rsp),%rdx
mov    %rsi,%rax
mov    %rsi,0x40(%rsp)
lea    -0x20(%rsi),%eax
cmp    $0x30,%eax
ja     15c9 <parse_constraints_line+0x4a9>
mov    $0x2,%r15d
mov    $0x8008029,%esi
bt     %rax,%rsi
jb     15cf <parse_constraints_line+0x4af>
mov    $0x5,%ebx
movabs $0x1004200000000,%rsi
bt     %rax,%rsi
jb     11a4 <parse_constraints_line+0x84>
movabs $0x2800000000,%rsi
bt     %rax,%rsi
jae    15c9 <parse_constraints_line+0x4a9>
mov    $0x4,%ebx
mov    %rcx,0x20(%rsp)
movb   $0x3f,(%rdx)
lea    0x50(%rsp),%rbp
xor    %r14d,%r14d
xor    %r13d,%r13d
xor    %r12d,%r12d
movl   $0x0,0x8(%rsp)
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movslq %r12d,%rdi
add    0x48(%rsp),%rdi
lea    0xee9(%rip),%rsi
mov    %rbp,%rdx
mov    %rsp,%rcx
xor    %eax,%eax
call   1040 <sscanf@plt>
cmp    $0x1,%eax
jne    15c4 <parse_constraints_line+0x4a4>
add    (%rsp),%r12d
xor    %r15d,%r15d
cmp    $0x4,%r13d
ja     15b0 <parse_constraints_line+0x490>
mov    %r13d,%eax
lea    0xdf0(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    %rbp,%rdi
lea    0xeac(%rip),%rsi
lea    0x4(%rsp),%rdx
lea    0xc(%rsp),%rcx
mov    %rsp,%r15
mov    %r15,%r8
xor    %eax,%eax
call   1040 <sscanf@plt>
mov    %rbp,%rdi
cmp    $0x2,%eax
jne    145d <parse_constraints_line+0x33d>
mov    (%rsp),%ebp
call   1030 <strlen@plt>
cmp    %eax,%ebp
jne    15e7 <parse_constraints_line+0x4c7>
mov    0x4(%rsp),%eax
mov    0x38(%rsp),%rcx
mov    %eax,(%rcx)
mov    0xc(%rsp),%eax
mov    0x20(%rsp),%rcx
mov    %eax,(%rcx)
add    $0xffffffff,%ebx
jmp    12cc <parse_constraints_line+0x1ac>
mov    %rbp,%rdi
lea    0xe54(%rip),%rsi
lea    0x4(%rsp),%rdx
lea    0xc(%rsp),%rcx
mov    %rsp,%r15
mov    %r15,%r8
xor    %eax,%eax
call   1040 <sscanf@plt>
mov    %rbp,%rdi
cmp    $0x2,%eax
jne    14b3 <parse_constraints_line+0x393>
mov    (%rsp),%ebp
call   1030 <strlen@plt>
cmp    %eax,%ebp
jne    15e7 <parse_constraints_line+0x4c7>
mov    0x4(%rsp),%eax
mov    0x30(%rsp),%rcx
mov    %eax,(%rcx)
mov    0xc(%rsp),%eax
mov    0x28(%rsp),%rcx
mov    %eax,(%rcx)
cmpl   $0x1,0x8(%rsp)
sbb    $0x0,%ebx
movl   $0x1,0x8(%rsp)
xor    %r15d,%r15d
lea    0x50(%rsp),%rbp
jmp    15b0 <parse_constraints_line+0x490>
cmpl   $0x0,0x8(%rsp)
je     151c <parse_constraints_line+0x3fc>
add    $0xffffffff,%ebx
cmpb   $0x45,0x40(%rsp)
jne    1382 <parse_constraints_line+0x262>
mov    %rbp,%rdi
lea    0xdd3(%rip),%rsi
lea    0x10(%rsp),%rdx
mov    %rsp,%rcx
xor    %eax,%eax
call   1040 <sscanf@plt>
mov    $0x1,%r15d
cmp    $0x1,%eax
jne    15d2 <parse_constraints_line+0x4b2>
mov    %ebx,%ebp
mov    (%rsp),%ebx
lea    0x50(%rsp),%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebx
mov    %ebp,%ebx
lea    0x50(%rsp),%rbp
jne    15d2 <parse_constraints_line+0x4b2>
movss  0x10(%rsp),%xmm0
mov    0x1a0(%rsp),%rax
movss  %xmm0,(%rax)
xor    %r15d,%r15d
jmp    15b0 <parse_constraints_line+0x490>
mov    %rbp,%rdi
lea    0xd7e(%rip),%rsi
mov    0x198(%rsp),%rdx
xor    %eax,%eax
call   1040 <sscanf@plt>
xor    %r15d,%r15d
cmp    $0x1,%eax
setne  %r15b
jmp    15b0 <parse_constraints_line+0x490>
mov    %rbp,%rdi
lea    0xd50(%rip),%rsi
lea    0x16(%rsp),%rdx
mov    %rsp,%rcx
xor    %eax,%eax
call   1040 <sscanf@plt>
mov    $0x1,%r15d
cmp    $0x1,%eax
jne    15d2 <parse_constraints_line+0x4b2>
movb   $0x0,0x1e(%rsp)
mov    %ebx,%ebp
mov    (%rsp),%ebx
lea    0x50(%rsp),%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebx
mov    %ebp,%ebx
lea    0x50(%rsp),%rbp
jne    15d2 <parse_constraints_line+0x4b2>
mov    0x16(%rsp),%cl
test   %cl,%cl
je     1441 <parse_constraints_line+0x321>
lea    0x17(%rsp),%rax
mov    0x198(%rsp),%rsi
lea    0xc2b(%rip),%rdi
jmp    13fd <parse_constraints_line+0x2dd>
nopl   0x0(%rax,%rax,1)
mov    %cl,(%rsi)
movzbl (%rax),%ecx
add    $0x1,%rax
test   %cl,%cl
je     1441 <parse_constraints_line+0x321>
movsbl %cl,%edx
mov    $0x1,%r15d
add    $0xffffffbf,%edx
cmp    $0x2c,%edx
ja     1444 <parse_constraints_line+0x324>
movslq (%rdi,%rdx,4),%rdx
add    %rdi,%rdx
jmp    *%rdx
or     $0x3f,%r14b
jmp    13f2 <parse_constraints_line+0x2d2>
or     $0x1,%r14b
jmp    13f2 <parse_constraints_line+0x2d2>
or     $0x2,%r14b
jmp    13f2 <parse_constraints_line+0x2d2>
or     $0x4,%r14b
jmp    13f2 <parse_constraints_line+0x2d2>
or     $0x10,%r14b
jmp    13f2 <parse_constraints_line+0x2d2>
or     $0x8,%r14b
jmp    13f2 <parse_constraints_line+0x2d2>
or     $0x20,%r14b
jmp    13f2 <parse_constraints_line+0x2d2>
xor    %r15d,%r15d
test   %r14b,%r14b
je     1569 <parse_constraints_line+0x449>
mov    0x190(%rsp),%rax
mov    %r14b,(%rax)
jmp    15b0 <parse_constraints_line+0x490>
lea    0xc6e(%rip),%rsi
lea    0x4(%rsp),%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <sscanf@plt>
mov    $0x1,%r15d
cmp    $0x1,%eax
jne    15d2 <parse_constraints_line+0x4b2>
mov    %ebx,%ebp
mov    (%rsp),%ebx
lea    0x50(%rsp),%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebx
mov    %ebp,%ebx
lea    0x50(%rsp),%rbp
jne    15d2 <parse_constraints_line+0x4b2>
mov    0x4(%rsp),%eax
mov    0x38(%rsp),%rcx
mov    %eax,(%rcx)
xor    %r15d,%r15d
jmp    15b0 <parse_constraints_line+0x490>
lea    0xc18(%rip),%rsi
lea    0x4(%rsp),%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <sscanf@plt>
cmpl   $0x0,0x8(%rsp)
je     156e <parse_constraints_line+0x44e>
mov    $0x1,%r15d
cmp    $0x1,%eax
jne    15d2 <parse_constraints_line+0x4b2>
mov    %ebx,%ebp
mov    (%rsp),%ebx
lea    0x50(%rsp),%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebx
mov    %ebp,%ebx
lea    0x50(%rsp),%rbp
jne    15d2 <parse_constraints_line+0x4b2>
mov    0x4(%rsp),%eax
mov    0x28(%rsp),%rcx
mov    %eax,(%rcx)
movl   $0x1,0x8(%rsp)
xor    %r15d,%r15d
jmp    15b0 <parse_constraints_line+0x490>
mov    %rbp,%rdi
lea    0xbac(%rip),%rsi
lea    0x4(%rsp),%rdx
mov    %rsp,%rcx
xor    %eax,%eax
call   1040 <sscanf@plt>
mov    $0x1,%r15d
cmp    $0x1,%eax
jne    15d2 <parse_constraints_line+0x4b2>
mov    %ebx,%ebp
mov    (%rsp),%ebx
lea    0x50(%rsp),%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebx
mov    %ebp,%ebx
lea    0x50(%rsp),%rbp
jne    15d2 <parse_constraints_line+0x4b2>
mov    0x4(%rsp),%eax
mov    0x30(%rsp),%rcx
jmp    159c <parse_constraints_line+0x47c>
xor    %r14d,%r14d
jmp    15b0 <parse_constraints_line+0x490>
mov    $0x1,%r15d
cmp    $0x1,%eax
jne    15d2 <parse_constraints_line+0x4b2>
mov    %ebx,%ebp
mov    (%rsp),%ebx
lea    0x50(%rsp),%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebx
mov    %ebp,%ebx
lea    0x50(%rsp),%rbp
jne    15d2 <parse_constraints_line+0x4b2>
mov    0x4(%rsp),%eax
mov    0x20(%rsp),%rcx
mov    %eax,(%rcx)
xor    %r15d,%r15d
movl   $0x0,0x8(%rsp)
nopl   0x0(%rax)
test   %r15d,%r15d
jne    15d2 <parse_constraints_line+0x4b2>
add    $0x1,%r13d
cmp    %ebx,%r13d
jl     11d0 <parse_constraints_line+0xb0>
jmp    15d2 <parse_constraints_line+0x4b2>
xor    %r15d,%r15d
jmp    15d2 <parse_constraints_line+0x4b2>
mov    $0x1,%r15d
movb   $0x3f,(%rdx)
mov    %r15d,%eax
add    $0x158,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    $0x1,%r15d
jmp    15d2 <parse_constraints_line+0x4b2>

LLVM IR (-O0):
@.str = [7 x i8] c"%15s%n\00"
@.str.1 = [8 x i8] c"%d-%d%n\00"
@.str.2 = [5 x i8] c"%d%n\00"
@.str.3 = [5 x i8] c"%g%n\00"
@.str.4 = [6 x i8] c"%8s%n\00"
@.str.5 = [3 x i8] c"%c\00"
define i32 @parse_constraints_line(i8* %0, i8 signext %1, i32* %2, i32* %3, i32* %4, i32* %5, i8* %6, i8* %7, float* %8) {
%10 = alloca i8*
%11 = alloca i8
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca i32*
%16 = alloca i8*
%17 = alloca i8*
%18 = alloca float*
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca float
%28 = alloca [256 x i8]
%29 = alloca [10 x i8]
%30 = alloca i8*
%31 = alloca i8
store i8* %0, i8** %10
store i8 %1, i8* %11
store i32* %2, i32** %12
store i32* %3, i32** %13
store i32* %4, i32** %14
store i32* %5, i32** %15
store i8* %6, i8** %16
store i8* %7, i8** %17
store float* %8, float** %18
store i32 0, i32* %21
store i32 0, i32* %22
store i32 0, i32* %23
store i32 5, i32* %24
store i32 0, i32* %25
%32 = load i8, i8* %11
%33 = sext i8 %32 to i32
switch i32 %33, label %37 [
i32 65, label %34
i32 70, label %34
i32 80, label %34
i32 67, label %35
i32 69, label %35
i32 35, label %36
i32 59, label %36
i32 37, label %36
i32 47, label %36
i32 32, label %36
]
34: ; preds = %9, %9, %9
store i32 5, i32* %24
br label %38
35: ; preds = %9, %9
store i32 4, i32* %24
br label %38
36: ; preds = %9, %9, %9, %9, %9
store i32 2, i32* %21
br label %38
37: ; preds = %9
store i32 1, i32* %21
br label %38
38: ; preds = %37, %36, %35, %34
%39 = load i8*, i8** %16
store i8 63, i8* %39
store i8 0, i8* %31
br label %40
40: ; preds = %276, %38
%41 = load i32, i32* %21
%42 = icmp ne i32 %41, 0
br i1 %42, label %55, label %43
43: ; preds = %40
%44 = load i32, i32* %25
%45 = load i32, i32* %24
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %55
47: ; preds = %43
%48 = load i8*, i8** %10
%49 = load i32, i32* %23
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, i8* %48, i64 %50
%52 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%53 = call i32 (i8*, i8*, ...) @sscanf(i8* %51, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %52, i32* %26)
%54 = icmp eq i32 %53, 1
br label %55
55: ; preds = %47, %43, %40
%56 = phi i1 [ false, %43 ], [ false, %40 ], [ %54, %47 ]
br i1 %56, label %57, label %279
57: ; preds = %55
%58 = load i32, i32* %26
%59 = load i32, i32* %23
%60 = add nsw i32 %59, %58
store i32 %60, i32* %23
%61 = load i32, i32* %25
switch i32 %61, label %276 [
i32 0, label %62
i32 1, label %94
i32 2, label %148
i32 3, label %169
i32 4, label %269
]
62: ; preds = %57
%63 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%64 = call i32 (i8*, i8*, ...) @sscanf(i8* %63, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32* %19, i32* %20, i32* %26)
%65 = icmp eq i32 %64, 2
br i1 %65, label %66, label %79
66: ; preds = %62
%67 = load i32, i32* %26
%68 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%69 = call i32 @strlen(i8* %68)
%70 = icmp eq i32 %67, %69
br i1 %70, label %71, label %78
71: ; preds = %66
%72 = load i32, i32* %19
%73 = load i32*, i32** %12
store i32 %72, i32* %73
%74 = load i32, i32* %20
%75 = load i32*, i32** %13
store i32 %74, i32* %75
store i32 1, i32* %22
%76 = load i32, i32* %24
%77 = add nsw i32 %76, -1
store i32 %77, i32* %24
br label %276
78: ; preds = %66
br label %93
79: ; preds = %62
%80 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%81 = call i32 (i8*, i8*, ...) @sscanf(i8* %80, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32* %19, i32* %26)
%82 = icmp eq i32 %81, 1
br i1 %82, label %83, label %92
83: ; preds = %79
%84 = load i32, i32* %26
%85 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%86 = call i32 @strlen(i8* %85)
%87 = icmp eq i32 %84, %86
br i1 %87, label %88, label %91
88: ; preds = %83
%89 = load i32, i32* %19
%90 = load i32*, i32** %12
store i32 %89, i32* %90
br label %276
91: ; preds = %83
br label %92
92: ; preds = %91, %79
br label %93
93: ; preds = %92, %78
store i32 1, i32* %21
br label %276
94: ; preds = %57
%95 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%96 = call i32 (i8*, i8*, ...) @sscanf(i8* %95, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32* %19, i32* %20, i32* %26)
%97 = icmp eq i32 %96, 2
br i1 %97, label %98, label %115
98: ; preds = %94
%99 = load i32, i32* %26
%100 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%101 = call i32 @strlen(i8* %100)
%102 = icmp eq i32 %99, %101
br i1 %102, label %103, label %114
103: ; preds = %98
%104 = load i32, i32* %19
%105 = load i32*, i32** %14
store i32 %104, i32* %105
%106 = load i32, i32* %20
%107 = load i32*, i32** %15
store i32 %106, i32* %107
%108 = load i32, i32* %22
%109 = icmp ne i32 %108, 0
br i1 %109, label %113, label %110
110: ; preds = %103
%111 = load i32, i32* %24
%112 = add nsw i32 %111, -1
store i32 %112, i32* %24
br label %113
113: ; preds = %110, %103
store i32 1, i32* %22
br label %276
114: ; preds = %98
br label %147
115: ; preds = %94
%116 = load i32, i32* %22
%117 = icmp ne i32 %116, 0
br i1 %117, label %118, label %132
118: ; preds = %115
%119 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%120 = call i32 (i8*, i8*, ...) @sscanf(i8* %119, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32* %19, i32* %26)
%121 = icmp eq i32 %120, 1
br i1 %121, label %122, label %131
122: ; preds = %118
%123 = load i32, i32* %26
%124 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%125 = call i32 @strlen(i8* %124)
%126 = icmp eq i32 %123, %125
br i1 %126, label %127, label %130
127: ; preds = %122
%128 = load i32, i32* %19
%129 = load i32*, i32** %15
store i32 %128, i32* %129
br label %276
130: ; preds = %122
br label %131
131: ; preds = %130, %118
br label %146
132: ; preds = %115
%133 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%134 = call i32 (i8*, i8*, ...) @sscanf(i8* %133, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32* %19, i32* %26)
%135 = icmp eq i32 %134, 1
br i1 %135, label %136, label %145
136: ; preds = %132
%137 = load i32, i32* %26
%138 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%139 = call i32 @strlen(i8* %138)
%140 = icmp eq i32 %137, %139
br i1 %140, label %141, label %144
141: ; preds = %136
%142 = load i32, i32* %19
%143 = load i32*, i32** %13
store i32 %142, i32* %143
br label %276
144: ; preds = %136
br label %145
145: ; preds = %144, %132
br label %146
146: ; preds = %145, %131
br label %147
147: ; preds = %146, %114
store i32 1, i32* %21
br label %276
148: ; preds = %57
%149 = load i32, i32* %22
%150 = icmp ne i32 %149, 0
br i1 %150, label %165, label %151
151: ; preds = %148
%152 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%153 = call i32 (i8*, i8*, ...) @sscanf(i8* %152, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32* %19, i32* %26)
%154 = icmp eq i32 %153, 1
br i1 %154, label %155, label %164
155: ; preds = %151
%156 = load i32, i32* %26
%157 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%158 = call i32 @strlen(i8* %157)
%159 = icmp eq i32 %156, %158
br i1 %159, label %160, label %163
160: ; preds = %155
%161 = load i32, i32* %19
%162 = load i32*, i32** %14
store i32 %161, i32* %162
br label %276
163: ; preds = %155
br label %164
164: ; preds = %163, %151
store i32 1, i32* %21
br label %276
165: ; preds = %148
%166 = load i32, i32* %24
%167 = add nsw i32 %166, -1
store i32 %167, i32* %24
br label %168
168: ; preds = %165
br label %169
169: ; preds = %57, %168
%170 = load i8, i8* %11
%171 = sext i8 %170 to i32
%172 = icmp eq i32 %171, 69
br i1 %172, label %173, label %187
173: ; preds = %169
%174 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%175 = call i32 (i8*, i8*, ...) @sscanf(i8* %174, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), float* %27, i32* %26)
%176 = icmp eq i32 %175, 1
br i1 %176, label %177, label %186
177: ; preds = %173
%178 = load i32, i32* %26
%179 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%180 = call i32 @strlen(i8* %179)
%181 = icmp eq i32 %178, %180
br i1 %181, label %182, label %185
182: ; preds = %177
%183 = load float, float* %27
%184 = load float*, float** %18
store float %183, float* %184
br label %276
185: ; preds = %177
br label %186
186: ; preds = %185, %173
br label %268
187: ; preds = %169
%188 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%189 = getelementptr inbounds [10 x i8], [10 x i8]* %29, i64 0, i64 0
%190 = call i32 (i8*, i8*, ...) @sscanf(i8* %188, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* %189, i32* %26)
%191 = icmp eq i32 %190, 1
br i1 %191, label %192, label %267
192: ; preds = %187
%193 = getelementptr inbounds [10 x i8], [10 x i8]* %29, i64 0, i64 8
store i8 0, i8* %193
%194 = load i32, i32* %26
%195 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%196 = call i32 @strlen(i8* %195)
%197 = icmp eq i32 %194, %196
br i1 %197, label %198, label %266
198: ; preds = %192
%199 = getelementptr inbounds [10 x i8], [10 x i8]* %29, i64 0, i64 0
store i8* %199, i8** %30
br label %200
200: ; preds = %256, %198
%201 = load i8*, i8** %30
%202 = load i8, i8* %201
%203 = sext i8 %202 to i32
%204 = icmp ne i32 %203, 0
br i1 %204, label %205, label %209
205: ; preds = %200
%206 = load i32, i32* %21
%207 = icmp ne i32 %206, 0
%208 = xor i1 %207, true
br label %209
209: ; preds = %205, %200
%210 = phi i1 [ false, %200 ], [ %208, %205 ]
br i1 %210, label %211, label %259
211: ; preds = %209
%212 = load i8*, i8** %30
%213 = load i8, i8* %212
%214 = sext i8 %213 to i32
switch i32 %214, label %254 [
i32 69, label %215
i32 72, label %220
i32 73, label %225
i32 105, label %230
i32 77, label %235
i32 109, label %240
i32 65, label %245
i32 85, label %250
i32 68, label %250
]
215: ; preds = %211
%216 = load i8, i8* %31
%217 = sext i8 %216 to i32
%218 = or i32 %217, 1
%219 = trunc i32 %218 to i8
store i8 %219, i8* %31
br label %255
220: ; preds = %211
%221 = load i8, i8* %31
%222 = sext i8 %221 to i32
%223 = or i32 %222, 2
%224 = trunc i32 %223 to i8
store i8 %224, i8* %31
br label %255
225: ; preds = %211
%226 = load i8, i8* %31
%227 = sext i8 %226 to i32
%228 = or i32 %227, 4
%229 = trunc i32 %228 to i8
store i8 %229, i8* %31
br label %255
230: ; preds = %211
%231 = load i8, i8* %31
%232 = sext i8 %231 to i32
%233 = or i32 %232, 8
%234 = trunc i32 %233 to i8
store i8 %234, i8* %31
br label %255
235: ; preds = %211
%236 = load i8, i8* %31
%237 = sext i8 %236 to i32
%238 = or i32 %237, 16
%239 = trunc i32 %238 to i8
store i8 %239, i8* %31
br label %255
240: ; preds = %211
%241 = load i8, i8* %31
%242 = sext i8 %241 to i32
%243 = or i32 %242, 32
%244 = trunc i32 %243 to i8
store i8 %244, i8* %31
br label %255
245: ; preds = %211
%246 = load i8, i8* %31
%247 = sext i8 %246 to i32
%248 = or i32 %247, 63
%249 = trunc i32 %248 to i8
store i8 %249, i8* %31
br label %255
250: ; preds = %211, %211
%251 = load i8*, i8** %30
%252 = load i8, i8* %251
%253 = load i8*, i8** %17
store i8 %252, i8* %253
br label %255
254: ; preds = %211
store i32 1, i32* %21
br label %255
255: ; preds = %254, %250, %245, %240, %235, %230, %225, %220, %215
br label %256
256: ; preds = %255
%257 = load i8*, i8** %30
%258 = getelementptr inbounds i8, i8* %257, i32 1
store i8* %258, i8** %30
br label %200
259: ; preds = %209
%260 = load i8, i8* %31
%261 = icmp ne i8 %260, 0
br i1 %261, label %262, label %265
262: ; preds = %259
%263 = load i8, i8* %31
%264 = load i8*, i8** %16
store i8 %263, i8* %264
br label %265
265: ; preds = %262, %259
br label %276
266: ; preds = %192
br label %267
267: ; preds = %266, %187
br label %268
268: ; preds = %267, %186
store i32 1, i32* %21
br label %276
269: ; preds = %57
%270 = getelementptr inbounds [256 x i8], [256 x i8]* %28, i64 0, i64 0
%271 = load i8*, i8** %17
%272 = call i32 (i8*, i8*, ...) @sscanf(i8* %270, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %271)
%273 = icmp eq i32 %272, 1
br i1 %273, label %275, label %274
274: ; preds = %269
store i32 1, i32* %21
br label %275
275: ; preds = %274, %269
br label %276
276: ; preds = %57, %275, %268, %265, %182, %164, %160, %147, %141, %127, %113, %93, %88, %71
%277 = load i32, i32* %25
%278 = add nsw i32 %277, 1
store i32 %278, i32* %25
br label %40
279: ; preds = %55
%280 = load i32, i32* %21
ret i32 %280
}

LLVM IR (-O2):
@.str = [7 x i8] c"%15s%n\00"
@.str.1 = [8 x i8] c"%d-%d%n\00"
@.str.2 = [5 x i8] c"%d%n\00"
@.str.3 = [5 x i8] c"%g%n\00"
@.str.4 = [6 x i8] c"%8s%n\00"
@.str.5 = [3 x i8] c"%c\00"
define i32 @parse_constraints_line(i8* nocapture %0, i8 signext %1, i32* nocapture writeonly %2, i32* nocapture writeonly %3, i32* nocapture writeonly %4, i32* nocapture writeonly %5, i8* nocapture writeonly %6, i8* %7, float* nocapture writeonly %8) {
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca float
%14 = alloca [256 x i8]
%15 = alloca [10 x i8]
%16 = bitcast i32* %10 to i8*
%17 = bitcast i32* %11 to i8*
%18 = bitcast i32* %12 to i8*
%19 = bitcast float* %13 to i8*
%20 = getelementptr inbounds [256 x i8], [256 x i8]* %14, i64 0, i64 0
%21 = getelementptr inbounds [10 x i8], [10 x i8]* %15, i64 0, i64 0
%22 = sext i8 %1 to i32
switch i32 %22, label %24 [
i32 65, label %27
i32 70, label %27
i32 80, label %27
i32 67, label %23
i32 69, label %23
i32 35, label %25
i32 59, label %25
i32 37, label %25
i32 47, label %25
i32 32, label %25
]
23: ; preds = %9, %9
br label %27
24: ; preds = %9
br label %25
25: ; preds = %9, %9, %9, %9, %9, %24
%26 = phi i32 [ 1, %24 ], [ 2, %9 ], [ 2, %9 ], [ 2, %9 ], [ 2, %9 ], [ 2, %9 ]
store i8 63, i8* %6
br label %172
27: ; preds = %9, %9, %9, %23
%28 = phi i32 [ 4, %23 ], [ 5, %9 ], [ 5, %9 ], [ 5, %9 ]
store i8 63, i8* %6
%29 = icmp eq i8 %1, 69
%30 = getelementptr inbounds [10 x i8], [10 x i8]* %15, i64 0, i64 8
br label %31
31: ; preds = %27, %163
%32 = phi i8 [ 0, %27 ], [ %167, %163 ]
%33 = phi i32 [ 0, %27 ], [ %168, %163 ]
%34 = phi i32 [ %28, %27 ], [ %166, %163 ]
%35 = phi i32 [ 0, %27 ], [ %43, %163 ]
%36 = phi i32 [ 0, %27 ], [ %165, %163 ]
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds i8, i8* %0, i64 %37
%39 = call i32 (i8*, i8*, ...) @sscanf(i8* %38, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %20, i32* %12)
%40 = icmp eq i32 %39, 1
br i1 %40, label %41, label %172
41: ; preds = %31
%42 = load i32, i32* %12
%43 = add nsw i32 %42, %35
switch i32 %33, label %163 [
i32 0, label %44
i32 1, label %64
i32 2, label %95
i32 3, label %108
i32 4, label %159
]
44: ; preds = %41
%45 = call i32 (i8*, i8*, ...) @sscanf(i8* %20, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32* %10, i32* %11, i32* %12)
%46 = icmp eq i32 %45, 2
br i1 %46, label %47, label %55
47: ; preds = %44
%48 = load i32, i32* %12
%49 = call i32 @strlen(i8* %20)
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %172
51: ; preds = %47
%52 = load i32, i32* %10
store i32 %52, i32* %2
%53 = load i32, i32* %11
store i32 %53, i32* %3
%54 = add nsw i32 %34, -1
br label %163
55: ; preds = %44
%56 = call i32 (i8*, i8*, ...) @sscanf(i8* %20, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32* %10, i32* %12)
%57 = icmp eq i32 %56, 1
br i1 %57, label %58, label %172
58: ; preds = %55
%59 = load i32, i32* %12
%60 = call i32 @strlen(i8* %20)
%61 = icmp eq i32 %59, %60
br i1 %61, label %62, label %172
62: ; preds = %58
%63 = load i32, i32* %10
store i32 %63, i32* %2
br label %163
64: ; preds = %41
%65 = call i32 (i8*, i8*, ...) @sscanf(i8* %20, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32* %10, i32* %11, i32* %12)
%66 = icmp eq i32 %65, 2
br i1 %66, label %67, label %77
67: ; preds = %64
%68 = load i32, i32* %12
%69 = call i32 @strlen(i8* %20)
%70 = icmp eq i32 %68, %69
br i1 %70, label %71, label %172
71: ; preds = %67
%72 = load i32, i32* %10
store i32 %72, i32* %4
%73 = load i32, i32* %11
store i32 %73, i32* %5
%74 = icmp eq i32 %36, 0
%75 = sext i1 %74 to i32
%76 = add nsw i32 %34, %75
br label %163
77: ; preds = %64
%78 = icmp eq i32 %36, 0
%79 = call i32 (i8*, i8*, ...) @sscanf(i8* %20, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32* %10, i32* %12)
%80 = icmp eq i32 %79, 1
br i1 %78, label %88, label %81
81: ; preds = %77
br i1 %80, label %82, label %172
82: ; preds = %81
%83 = load i32, i32* %12
%84 = call i32 @strlen(i8* %20)
%85 = icmp eq i32 %83, %84
br i1 %85, label %86, label %172
86: ; preds = %82
%87 = load i32, i32* %10
store i32 %87, i32* %5
br label %163
88: ; preds = %77
br i1 %80, label %89, label %172
89: ; preds = %88
%90 = load i32, i32* %12
%91 = call i32 @strlen(i8* %20)
%92 = icmp eq i32 %90, %91
br i1 %92, label %93, label %172
93: ; preds = %89
%94 = load i32, i32* %10
store i32 %94, i32* %3
br label %163
95: ; preds = %41
%96 = icmp eq i32 %36, 0
br i1 %96, label %97, label %106
97: ; preds = %95
%98 = call i32 (i8*, i8*, ...) @sscanf(i8* %20, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32* %10, i32* %12)
%99 = icmp eq i32 %98, 1
br i1 %99, label %100, label %172
100: ; preds = %97
%101 = load i32, i32* %12
%102 = call i32 @strlen(i8* %20)
%103 = icmp eq i32 %101, %102
br i1 %103, label %104, label %172
104: ; preds = %100
%105 = load i32, i32* %10
store i32 %105, i32* %4
br label %163
106: ; preds = %95
%107 = add nsw i32 %34, -1
br label %108
108: ; preds = %41, %106
%109 = phi i32 [ %34, %41 ], [ %107, %106 ]
br i1 %29, label %110, label %119
110: ; preds = %108
%111 = call i32 (i8*, i8*, ...) @sscanf(i8* %20, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), float* %13, i32* %12)
%112 = icmp eq i32 %111, 1
br i1 %112, label %113, label %172
113: ; preds = %110
%114 = load i32, i32* %12
%115 = call i32 @strlen(i8* %20)
%116 = icmp eq i32 %114, %115
br i1 %116, label %117, label %172
117: ; preds = %113
%118 = load float, float* %13
store float %118, float* %8
br label %163
119: ; preds = %108
%120 = call i32 (i8*, i8*, ...) @sscanf(i8* %20, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* %21, i32* %12)
%121 = icmp eq i32 %120, 1
br i1 %121, label %122, label %172
122: ; preds = %119
store i8 0, i8* %30
%123 = load i32, i32* %12
%124 = call i32 @strlen(i8* %20)
%125 = icmp eq i32 %123, %124
br i1 %125, label %126, label %172
126: ; preds = %122
%127 = load i8, i8* %21
%128 = icmp eq i8 %127, 0
br i1 %128, label %154, label %129
129: ; preds = %126, %149
%130 = phi i8 [ %152, %149 ], [ %127, %126 ]
%131 = phi i8 [ %150, %149 ], [ %32, %126 ]
%132 = phi i8* [ %151, %149 ], [ %21, %126 ]
%133 = sext i8 %130 to i32
switch i32 %133, label %154 [
i32 69, label %134
i32 72, label %136
i32 73, label %138
i32 105, label %140
i32 77, label %142
i32 109, label %144
i32 65, label %146
i32 85, label %148
i32 68, label %148
]
134: ; preds = %129
%135 = or i8 %131, 1
br label %149
136: ; preds = %129
%137 = or i8 %131, 2
br label %149
138: ; preds = %129
%139 = or i8 %131, 4
br label %149
140: ; preds = %129
%141 = or i8 %131, 8
br label %149
142: ; preds = %129
%143 = or i8 %131, 16
br label %149
144: ; preds = %129
%145 = or i8 %131, 32
br label %149
146: ; preds = %129
%147 = or i8 %131, 63
br label %149
148: ; preds = %129, %129
store i8 %130, i8* %7
br label %149
149: ; preds = %134, %136, %138, %140, %142, %144, %146, %148
%150 = phi i8 [ %135, %134 ], [ %137, %136 ], [ %139, %138 ], [ %141, %140 ], [ %143, %142 ], [ %145, %144 ], [ %147, %146 ], [ %131, %148 ]
%151 = getelementptr inbounds i8, i8* %132, i64 1
%152 = load i8, i8* %151
%153 = icmp eq i8 %152, 0
br i1 %153, label %154, label %129
154: ; preds = %129, %149, %126
%155 = phi i32 [ 0, %126 ], [ 1, %129 ], [ 0, %149 ]
%156 = phi i8 [ %32, %126 ], [ %131, %129 ], [ %150, %149 ]
%157 = icmp eq i8 %156, 0
br i1 %157, label %163, label %158
158: ; preds = %154
store i8 %156, i8* %6
br label %163
159: ; preds = %41
%160 = call i32 (i8*, i8*, ...) @sscanf(i8* %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %7)
%161 = icmp ne i32 %160, 1
%162 = zext i1 %161 to i32
br label %163
163: ; preds = %159, %154, %158, %41, %117, %104, %93, %86, %71, %62, %51
%164 = phi i32 [ 0, %41 ], [ 0, %117 ], [ %155, %158 ], [ %155, %154 ], [ 0, %104 ], [ 0, %71 ], [ 0, %86 ], [ 0, %93 ], [ 0, %51 ], [ 0, %62 ], [ %162, %159 ]
%165 = phi i32 [ %36, %41 ], [ %36, %117 ], [ %36, %158 ], [ %36, %154 ], [ 0, %104 ], [ 1, %71 ], [ 1, %86 ], [ 0, %93 ], [ 1, %51 ], [ %36, %62 ], [ %36, %159 ]
%166 = phi i32 [ %34, %41 ], [ %109, %117 ], [ %109, %158 ], [ %109, %154 ], [ %34, %104 ], [ %76, %71 ], [ %34, %86 ], [ %34, %93 ], [ %54, %51 ], [ %34, %62 ], [ %34, %159 ]
%167 = phi i8 [ %32, %41 ], [ %32, %117 ], [ %156, %158 ], [ 0, %154 ], [ %32, %104 ], [ %32, %71 ], [ %32, %86 ], [ %32, %93 ], [ %32, %51 ], [ %32, %62 ], [ %32, %159 ]
%168 = add nuw nsw i32 %33, 1
%169 = icmp eq i32 %164, 0
%170 = icmp slt i32 %168, %166
%171 = select i1 %169, i1 %170, i1 false
br i1 %171, label %31, label %172
172: ; preds = %113, %110, %122, %119, %97, %100, %67, %88, %89, %81, %82, %47, %58, %55, %31, %163, %25
%173 = phi i32 [ %26, %25 ], [ 1, %113 ], [ 1, %110 ], [ 1, %122 ], [ 1, %119 ], [ 1, %97 ], [ 1, %100 ], [ 1, %67 ], [ 1, %88 ], [ 1, %89 ], [ 1, %81 ], [ 1, %82 ], [ 1, %47 ], [ 1, %58 ], [ 1, %55 ], [ %164, %163 ], [ 0, %31 ]
ret i32 %173
}