#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 */
struct spwd {
  char *sp_namp;
  char *sp_pwdp;
  long sp_lstchg;
  long sp_min;
  long sp_max;
  long sp_warn;
  long sp_inact;
  long sp_expire;
  unsigned long sp_flag;
};
struct parser_data {
  int dummy;
};

/* Variables and functions */
scalar_t__ isspace(char);
char *strpbrk(char *, char *);
scalar_t__ strtou32(char *, char **, int);
int _nss_altfiles_parse_spent(char *line, struct spwd *result,
                              struct parser_data *data, size_t datalen,
                              int *errnop) {
  char *p = strpbrk(line, "\n");
  if (p != NULL)
    *p = '\0';
  {
    result->sp_namp = line;
    while (*line != '\0' && !((*line) == ':'))
      ++line;
    if (*line != '\0') {
      *line = '\0';
      do
        ++line;
      while (0 && ((*line) == ':'));
    }
  };
  if (line[0] == '\0' &&
      (result->sp_namp[0] == '+' || result->sp_namp[0] == '-')) {
    result->sp_pwdp = NULL;
    result->sp_lstchg = 0;
    result->sp_min = 0;
    result->sp_max = 0;
    result->sp_warn = -1l;
    result->sp_inact = -1l;
    result->sp_expire = -1l;
    result->sp_flag = ~0ul;
  } else {
    {
      result->sp_pwdp = line;
      while (*line != '\0' && !((*line) == ':'))
        ++line;
      if (*line != '\0') {
        *line = '\0';
        do
          ++line;
        while (0 && ((*line) == ':'));
      }
    };
    {
      char *endp;
      if (*line == '\0')
        return 0;
      result->sp_lstchg = (long int)(int)(strtou32(line, &endp, 10));
      if (endp == line)
        result->sp_lstchg = (long int)-1;
      if (((*endp) == ':'))
        do
          ++endp;
        while (0 && ((*endp) == ':'));
      else if (*endp != '\0')
        return 0;
      line = endp;
    };
    {
      char *endp;
      if (*line == '\0')
        return 0;
      result->sp_min = (long int)(int)(strtou32(line, &endp, 10));
      if (endp == line)
        result->sp_min = (long int)-1;
      if (((*endp) == ':'))
        do
          ++endp;
        while (0 && ((*endp) == ':'));
      else if (*endp != '\0')
        return 0;
      line = endp;
    };
    {
      char *endp;
      if (*line == '\0')
        return 0;
      result->sp_max = (long int)(int)(strtou32(line, &endp, 10));
      if (endp == line)
        result->sp_max = (long int)-1;
      if (((*endp) == ':'))
        do
          ++endp;
        while (0 && ((*endp) == ':'));
      else if (*endp != '\0')
        return 0;
      line = endp;
    };
    while (isspace(*line))
      ++line;
    if (*line == '\0') {
      result->sp_warn = -1l;
      result->sp_inact = -1l;
      result->sp_expire = -1l;
      result->sp_flag = ~0ul;
    } else {
      {
        char *endp;
        if (*line == '\0')
          return 0;
        result->sp_warn = (long int)(int)(strtou32(line, &endp, 10));
        if (endp == line)
          result->sp_warn = (long int)-1;
        if (((*endp) == ':'))
          do
            ++endp;
          while (0 && ((*endp) == ':'));
        else if (*endp != '\0')
          return 0;
        line = endp;
      };
      {
        char *endp;
        if (*line == '\0')
          return 0;
        result->sp_inact = (long int)(int)(strtou32(line, &endp, 10));
        if (endp == line)
          result->sp_inact = (long int)-1;
        if (((*endp) == ':'))
          do
            ++endp;
          while (0 && ((*endp) == ':'));
        else if (*endp != '\0')
          return 0;
        line = endp;
      };
      {
        char *endp;
        if (*line == '\0')
          return 0;
        result->sp_expire = (long int)(int)(strtou32(line, &endp, 10));
        if (endp == line)
          result->sp_expire = (long int)-1;
        if (((*endp) == ':'))
          do
            ++endp;
          while (0 && ((*endp) == ':'));
        else if (*endp != '\0')
          return 0;
        line = endp;
      };
      if (*line != '\0') {
        char *endp;
        if (*line == '\0')
          return 0;
        result->sp_flag = (unsigned long int)(strtou32(line, &endp, 10));
        if (endp == line)
          result->sp_flag = ~0ul;
        if (0)
          do
            ++endp;
          while (0 && 0);
        else if (*endp != '\0')
          return 0;
        line = endp;
      } else
        result->sp_flag = ~0ul;
    }
  };
  ;
  return 1;
}


x86 assembly (clang, -O0):
<_nss_altfiles_parse_spent>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xea6(%rip),%rsi
call   1050 <strpbrk@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
je     1175 <_nss_altfiles_parse_spent+0x45>
mov    -0x38(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x10(%rbp),%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x10(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x71(%rbp)
je     11a7 <_nss_altfiles_parse_spent+0x77>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3a,%eax
sete   %al
xor    $0xff,%al
mov    %al,-0x71(%rbp)
mov    -0x71(%rbp),%al
test   $0x1,%al
jne    11b7 <_nss_altfiles_parse_spent+0x87>
jmp    11c8 <_nss_altfiles_parse_spent+0x98>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1180 <_nss_altfiles_parse_spent+0x50>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     11f0 <_nss_altfiles_parse_spent+0xc0>
mov    -0x10(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    11f0 <_nss_altfiles_parse_spent+0xc0>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    128b <_nss_altfiles_parse_spent+0x15b>
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
movsbl (%rax),%eax
cmp    $0x2b,%eax
je     1226 <_nss_altfiles_parse_spent+0xf6>
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    128b <_nss_altfiles_parse_spent+0x15b>
mov    -0x18(%rbp),%rax
movq   $0x0,0x8(%rax)
mov    -0x18(%rbp),%rax
movq   $0x0,0x10(%rax)
mov    -0x18(%rbp),%rax
movq   $0x0,0x18(%rax)
mov    -0x18(%rbp),%rax
movq   $0x0,0x20(%rax)
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x28(%rax)
ff
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x30(%rax)
ff
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x38(%rax)
ff
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x40(%rax)
ff
jmp    17e1 <_nss_altfiles_parse_spent+0x6b1>
mov    -0x10(%rbp),%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x8(%rax)
mov    -0x10(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x72(%rbp)
je     12be <_nss_altfiles_parse_spent+0x18e>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3a,%eax
sete   %al
xor    $0xff,%al
mov    %al,-0x72(%rbp)
mov    -0x72(%rbp),%al
test   $0x1,%al
jne    12ce <_nss_altfiles_parse_spent+0x19e>
jmp    12df <_nss_altfiles_parse_spent+0x1af>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1297 <_nss_altfiles_parse_spent+0x167>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1307 <_nss_altfiles_parse_spent+0x1d7>
mov    -0x10(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1307 <_nss_altfiles_parse_spent+0x1d7>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1323 <_nss_altfiles_parse_spent+0x1f3>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x40(%rbp),%rsi
mov    $0xa,%edx
call   1040 <strtou32@plt>
movslq %eax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x10(%rax)
mov    -0x40(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    135a <_nss_altfiles_parse_spent+0x22a>
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x10(%rax)
ff
mov    -0x40(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3a,%eax
jne    1380 <_nss_altfiles_parse_spent+0x250>
jmp    136f <_nss_altfiles_parse_spent+0x23f>
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    13a1 <_nss_altfiles_parse_spent+0x271>
mov    -0x40(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     139c <_nss_altfiles_parse_spent+0x26c>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
jmp    13a1 <_nss_altfiles_parse_spent+0x271>
mov    -0x40(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    13c5 <_nss_altfiles_parse_spent+0x295>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x48(%rbp),%rsi
mov    $0xa,%edx
call   1040 <strtou32@plt>
movslq %eax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x18(%rax)
mov    -0x48(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    13fc <_nss_altfiles_parse_spent+0x2cc>
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x18(%rax)
ff
mov    -0x48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3a,%eax
jne    1422 <_nss_altfiles_parse_spent+0x2f2>
jmp    1411 <_nss_altfiles_parse_spent+0x2e1>
mov    -0x48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x48(%rbp)
jmp    1443 <_nss_altfiles_parse_spent+0x313>
mov    -0x48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     143e <_nss_altfiles_parse_spent+0x30e>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
jmp    1443 <_nss_altfiles_parse_spent+0x313>
mov    -0x48(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1467 <_nss_altfiles_parse_spent+0x337>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x50(%rbp),%rsi
mov    $0xa,%edx
call   1040 <strtou32@plt>
movslq %eax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x20(%rax)
mov    -0x50(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    149e <_nss_altfiles_parse_spent+0x36e>
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x20(%rax)
ff
mov    -0x50(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3a,%eax
jne    14c4 <_nss_altfiles_parse_spent+0x394>
jmp    14b3 <_nss_altfiles_parse_spent+0x383>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    14e5 <_nss_altfiles_parse_spent+0x3b5>
mov    -0x50(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     14e0 <_nss_altfiles_parse_spent+0x3b0>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
jmp    14e5 <_nss_altfiles_parse_spent+0x3b5>
mov    -0x50(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%edi
call   1030 <isspace@plt>
cmp    $0x0,%rax
je     1514 <_nss_altfiles_parse_spent+0x3e4>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    14ed <_nss_altfiles_parse_spent+0x3bd>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1559 <_nss_altfiles_parse_spent+0x429>
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x28(%rax)
ff
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x30(%rax)
ff
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x38(%rax)
ff
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x40(%rax)
ff
jmp    17dc <_nss_altfiles_parse_spent+0x6ac>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1575 <_nss_altfiles_parse_spent+0x445>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x58(%rbp),%rsi
mov    $0xa,%edx
call   1040 <strtou32@plt>
movslq %eax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x28(%rax)
mov    -0x58(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    15ac <_nss_altfiles_parse_spent+0x47c>
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x28(%rax)
ff
mov    -0x58(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3a,%eax
jne    15d2 <_nss_altfiles_parse_spent+0x4a2>
jmp    15c1 <_nss_altfiles_parse_spent+0x491>
mov    -0x58(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x58(%rbp)
jmp    15f3 <_nss_altfiles_parse_spent+0x4c3>
mov    -0x58(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     15ee <_nss_altfiles_parse_spent+0x4be>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
jmp    15f3 <_nss_altfiles_parse_spent+0x4c3>
mov    -0x58(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1617 <_nss_altfiles_parse_spent+0x4e7>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x60(%rbp),%rsi
mov    $0xa,%edx
call   1040 <strtou32@plt>
movslq %eax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x30(%rax)
mov    -0x60(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    164e <_nss_altfiles_parse_spent+0x51e>
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x30(%rax)
ff
mov    -0x60(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3a,%eax
jne    1674 <_nss_altfiles_parse_spent+0x544>
jmp    1663 <_nss_altfiles_parse_spent+0x533>
mov    -0x60(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x60(%rbp)
jmp    1695 <_nss_altfiles_parse_spent+0x565>
mov    -0x60(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1690 <_nss_altfiles_parse_spent+0x560>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
jmp    1695 <_nss_altfiles_parse_spent+0x565>
mov    -0x60(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    16b9 <_nss_altfiles_parse_spent+0x589>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x68(%rbp),%rsi
mov    $0xa,%edx
call   1040 <strtou32@plt>
movslq %eax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x38(%rax)
mov    -0x68(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    16f0 <_nss_altfiles_parse_spent+0x5c0>
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x38(%rax)
ff
mov    -0x68(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3a,%eax
jne    1716 <_nss_altfiles_parse_spent+0x5e6>
jmp    1705 <_nss_altfiles_parse_spent+0x5d5>
mov    -0x68(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x68(%rbp)
jmp    1737 <_nss_altfiles_parse_spent+0x607>
mov    -0x68(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1732 <_nss_altfiles_parse_spent+0x602>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
jmp    1737 <_nss_altfiles_parse_spent+0x607>
mov    -0x68(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     17cb <_nss_altfiles_parse_spent+0x69b>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    176b <_nss_altfiles_parse_spent+0x63b>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x70(%rbp),%rsi
mov    $0xa,%edx
call   1040 <strtou32@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x40(%rax)
mov    -0x70(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    17a2 <_nss_altfiles_parse_spent+0x672>
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x40(%rax)
ff
mov    -0x70(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     17be <_nss_altfiles_parse_spent+0x68e>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_altfiles_parse_spent+0x6b8>
mov    -0x70(%rbp),%rax
mov    %rax,-0x10(%rbp)
jmp    17d7 <_nss_altfiles_parse_spent+0x6a7>
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x40(%rax)
ff
jmp    17dc <_nss_altfiles_parse_spent+0x6ac>
jmp    17e1 <_nss_altfiles_parse_spent+0x6b1>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_nss_altfiles_parse_spent>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
mov    $0xa,%esi
call   1030 <strchr@plt>
test   %rax,%rax
je     1150 <_nss_altfiles_parse_spent+0x20>
movb   $0x0,(%rax)
mov    %rbx,(%r14)
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movzbl (%rbx),%eax
test   %al,%al
je     117e <_nss_altfiles_parse_spent+0x4e>
cmp    $0x3a,%al
je     1171 <_nss_altfiles_parse_spent+0x41>
add    $0x1,%rbx
jmp    1160 <_nss_altfiles_parse_spent+0x30>
movb   $0x0,(%rbx)
cmpb   $0x0,0x1(%rbx)
lea    0x1(%rbx),%rbx
jne    11b5 <_nss_altfiles_parse_spent+0x85>
mov    (%r14),%rax
mov    (%rax),%al
cmp    $0x2d,%al
je     118b <_nss_altfiles_parse_spent+0x5b>
cmp    $0x2b,%al
jne    11b5 <_nss_altfiles_parse_spent+0x85>
pxor   %xmm0,%xmm0
movdqu %xmm0,0x18(%r14)
movdqu %xmm0,0x8(%r14)
pcmpeqd %xmm0,%xmm0
movdqu %xmm0,0x28(%r14)
movdqu %xmm0,0x38(%r14)
mov    $0x1,%eax
jmp    13ba <_nss_altfiles_parse_spent+0x28a>
mov    %rbx,0x8(%r14)
nopl   0x0(%rax)
add    $0x1,%rbx
movzbl -0x1(%rbx),%eax
cmp    $0x3a,%al
je     11d5 <_nss_altfiles_parse_spent+0xa5>
test   %al,%al
jne    11c0 <_nss_altfiles_parse_spent+0x90>
jmp    13b8 <_nss_altfiles_parse_spent+0x288>
movb   $0x0,-0x1(%rbx)
cmpb   $0x0,(%rbx)
je     13b8 <_nss_altfiles_parse_spent+0x288>
mov    %rsp,%rsi
mov    %rbx,%rdi
mov    $0xa,%edx
call   1050 <strtou32@plt>
cltq
mov    (%rsp),%r15
cmp    %r15,%rbx
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x10(%r14)
mov    (%r15),%al
test   %al,%al
je     121d <_nss_altfiles_parse_spent+0xed>
cmp    $0x3a,%al
jne    13b8 <_nss_altfiles_parse_spent+0x288>
add    $0x1,%r15
cmpb   $0x0,(%r15)
je     13b8 <_nss_altfiles_parse_spent+0x288>
mov    %rsp,%rsi
mov    %r15,%rdi
mov    $0xa,%edx
call   1050 <strtou32@plt>
cltq
mov    (%rsp),%r12
cmp    %r15,%r12
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x18(%r14)
mov    (%r12),%al
test   %al,%al
je     1263 <_nss_altfiles_parse_spent+0x133>
cmp    $0x3a,%al
jne    13b8 <_nss_altfiles_parse_spent+0x288>
add    $0x1,%r12
cmpb   $0x0,(%r12)
je     13b8 <_nss_altfiles_parse_spent+0x288>
mov    %rsp,%rsi
mov    %r12,%rdi
mov    $0xa,%edx
call   1050 <strtou32@plt>
cltq
mov    (%rsp),%rbx
cmp    %r12,%rbx
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x20(%r14)
mov    (%rbx),%al
test   %al,%al
je     12a8 <_nss_altfiles_parse_spent+0x178>
cmp    $0x3a,%al
jne    13b8 <_nss_altfiles_parse_spent+0x288>
add    $0x1,%rbx
add    $0xffffffffffffffff,%rbx
nopl   0x0(%rax)
movsbl 0x1(%rbx),%edi
add    $0x1,%rbx
call   1040 <isspace@plt>
test   %rax,%rax
jne    12b0 <_nss_altfiles_parse_spent+0x180>
cmpb   $0x0,(%rbx)
je     13c6 <_nss_altfiles_parse_spent+0x296>
mov    %rsp,%rsi
mov    %rbx,%rdi
mov    $0xa,%edx
call   1050 <strtou32@plt>
cltq
mov    (%rsp),%r15
cmp    %r15,%rbx
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x28(%r14)
mov    (%r15),%al
test   %al,%al
je     1306 <_nss_altfiles_parse_spent+0x1d6>
cmp    $0x3a,%al
jne    13b8 <_nss_altfiles_parse_spent+0x288>
add    $0x1,%r15
cmpb   $0x0,(%r15)
je     13b8 <_nss_altfiles_parse_spent+0x288>
mov    %rsp,%rsi
mov    %r15,%rdi
mov    $0xa,%edx
call   1050 <strtou32@plt>
cltq
mov    (%rsp),%rbx
cmp    %r15,%rbx
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x30(%r14)
mov    (%rbx),%al
test   %al,%al
je     1346 <_nss_altfiles_parse_spent+0x216>
cmp    $0x3a,%al
jne    13b8 <_nss_altfiles_parse_spent+0x288>
add    $0x1,%rbx
cmpb   $0x0,(%rbx)
je     13b8 <_nss_altfiles_parse_spent+0x288>
mov    %rsp,%rsi
mov    %rbx,%rdi
mov    $0xa,%edx
call   1050 <strtou32@plt>
cltq
mov    (%rsp),%r15
cmp    %rbx,%r15
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x38(%r14)
mov    (%r15),%al
test   %al,%al
je     1382 <_nss_altfiles_parse_spent+0x252>
cmp    $0x3a,%al
jne    13b8 <_nss_altfiles_parse_spent+0x288>
add    $0x1,%r15
cmpb   $0x0,(%r15)
je     13db <_nss_altfiles_parse_spent+0x2ab>
mov    %rsp,%rsi
mov    %r15,%rdi
mov    $0xa,%edx
call   1050 <strtou32@plt>
mov    (%rsp),%rcx
cmp    %r15,%rcx
mov    $0xffffffffffffffff,%rdx
cmovne %rax,%rdx
mov    %rdx,0x40(%r14)
xor    %eax,%eax
cmpb   $0x0,(%rcx)
sete   %al
jmp    13ba <_nss_altfiles_parse_spent+0x28a>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret
pcmpeqd %xmm0,%xmm0
movdqu %xmm0,0x38(%r14)
movdqu %xmm0,0x28(%r14)
jmp    11ab <_nss_altfiles_parse_spent+0x7b>
movq   $0xffffffffffffffff,0x40(%r14)
ff
jmp    11ab <_nss_altfiles_parse_spent+0x7b>

LLVM IR (-O0):
%struct.spwd = type { i8*, i8*, i64, i64, i64, i64, i64, i64, i64 }
%struct.parser_data = type { i32 }
@.str = [2 x i8] c"\0A\00"
define i32 @_nss_altfiles_parse_spent(i8* %0, %struct.spwd* %1, %struct.parser_data* %2, i64 %3, i32* %4) {
%6 = alloca i32
%7 = alloca i8*
%8 = alloca %struct.spwd*
%9 = alloca %struct.parser_data*
%10 = alloca i64
%11 = alloca i32*
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i8*
%15 = alloca i8*
%16 = alloca i8*
%17 = alloca i8*
%18 = alloca i8*
%19 = alloca i8*
store i8* %0, i8** %7
store %struct.spwd* %1, %struct.spwd** %8
store %struct.parser_data* %2, %struct.parser_data** %9
store i64 %3, i64* %10
store i32* %4, i32** %11
%20 = load i8*, i8** %7
%21 = call i8* @strpbrk(i8* %20, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i8* %21, i8** %12
%22 = load i8*, i8** %12
%23 = icmp ne i8* %22, null
br i1 %23, label %24, label %26
24: ; preds = %5
%25 = load i8*, i8** %12
store i8 0, i8* %25
br label %26
26: ; preds = %24, %5
%27 = load i8*, i8** %7
%28 = load %struct.spwd*, %struct.spwd** %8
%29 = getelementptr inbounds %struct.spwd, %struct.spwd* %28, i32 0, i32 0
store i8* %27, i8** %29
br label %30
30: ; preds = %43, %26
%31 = load i8*, i8** %7
%32 = load i8, i8* %31
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %41
35: ; preds = %30
%36 = load i8*, i8** %7
%37 = load i8, i8* %36
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 58
%40 = xor i1 %39, true
br label %41
41: ; preds = %35, %30
%42 = phi i1 [ false, %30 ], [ %40, %35 ]
br i1 %42, label %43, label %46
43: ; preds = %41
%44 = load i8*, i8** %7
%45 = getelementptr inbounds i8, i8* %44, i32 1
store i8* %45, i8** %7
br label %30
46: ; preds = %41
%47 = load i8*, i8** %7
%48 = load i8, i8* %47
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %57
51: ; preds = %46
%52 = load i8*, i8** %7
store i8 0, i8* %52
br label %53
53: ; preds = %51
%54 = load i8*, i8** %7
%55 = getelementptr inbounds i8, i8* %54, i32 1
store i8* %55, i8** %7
br label %56
56: ; preds = %53
br label %57
57: ; preds = %56, %46
%58 = load i8*, i8** %7
%59 = getelementptr inbounds i8, i8* %58, i64 0
%60 = load i8, i8* %59
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %96
63: ; preds = %57
%64 = load %struct.spwd*, %struct.spwd** %8
%65 = getelementptr inbounds %struct.spwd, %struct.spwd* %64, i32 0, i32 0
%66 = load i8*, i8** %65
%67 = getelementptr inbounds i8, i8* %66, i64 0
%68 = load i8, i8* %67
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 43
br i1 %70, label %79, label %71
71: ; preds = %63
%72 = load %struct.spwd*, %struct.spwd** %8
%73 = getelementptr inbounds %struct.spwd, %struct.spwd* %72, i32 0, i32 0
%74 = load i8*, i8** %73
%75 = getelementptr inbounds i8, i8* %74, i64 0
%76 = load i8, i8* %75
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 45
br i1 %78, label %79, label %96
79: ; preds = %71, %63
%80 = load %struct.spwd*, %struct.spwd** %8
%81 = getelementptr inbounds %struct.spwd, %struct.spwd* %80, i32 0, i32 1
store i8* null, i8** %81
%82 = load %struct.spwd*, %struct.spwd** %8
%83 = getelementptr inbounds %struct.spwd, %struct.spwd* %82, i32 0, i32 2
store i64 0, i64* %83
%84 = load %struct.spwd*, %struct.spwd** %8
%85 = getelementptr inbounds %struct.spwd, %struct.spwd* %84, i32 0, i32 3
store i64 0, i64* %85
%86 = load %struct.spwd*, %struct.spwd** %8
%87 = getelementptr inbounds %struct.spwd, %struct.spwd* %86, i32 0, i32 4
store i64 0, i64* %87
%88 = load %struct.spwd*, %struct.spwd** %8
%89 = getelementptr inbounds %struct.spwd, %struct.spwd* %88, i32 0, i32 5
store i64 -1, i64* %89
%90 = load %struct.spwd*, %struct.spwd** %8
%91 = getelementptr inbounds %struct.spwd, %struct.spwd* %90, i32 0, i32 6
store i64 -1, i64* %91
%92 = load %struct.spwd*, %struct.spwd** %8
%93 = getelementptr inbounds %struct.spwd, %struct.spwd* %92, i32 0, i32 7
store i64 -1, i64* %93
%94 = load %struct.spwd*, %struct.spwd** %8
%95 = getelementptr inbounds %struct.spwd, %struct.spwd* %94, i32 0, i32 8
store i64 -1, i64* %95
br label %407
96: ; preds = %71, %57
%97 = load i8*, i8** %7
%98 = load %struct.spwd*, %struct.spwd** %8
%99 = getelementptr inbounds %struct.spwd, %struct.spwd* %98, i32 0, i32 1
store i8* %97, i8** %99
br label %100
100: ; preds = %113, %96
%101 = load i8*, i8** %7
%102 = load i8, i8* %101
%103 = sext i8 %102 to i32
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %111
105: ; preds = %100
%106 = load i8*, i8** %7
%107 = load i8, i8* %106
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 58
%110 = xor i1 %109, true
br label %111
111: ; preds = %105, %100
%112 = phi i1 [ false, %100 ], [ %110, %105 ]
br i1 %112, label %113, label %116
113: ; preds = %111
%114 = load i8*, i8** %7
%115 = getelementptr inbounds i8, i8* %114, i32 1
store i8* %115, i8** %7
br label %100
116: ; preds = %111
%117 = load i8*, i8** %7
%118 = load i8, i8* %117
%119 = sext i8 %118 to i32
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %127
121: ; preds = %116
%122 = load i8*, i8** %7
store i8 0, i8* %122
br label %123
123: ; preds = %121
%124 = load i8*, i8** %7
%125 = getelementptr inbounds i8, i8* %124, i32 1
store i8* %125, i8** %7
br label %126
126: ; preds = %123
br label %127
127: ; preds = %126, %116
%128 = load i8*, i8** %7
%129 = load i8, i8* %128
%130 = sext i8 %129 to i32
%131 = icmp eq i32 %130, 0
br i1 %131, label %132, label %133
132: ; preds = %127
store i32 0, i32* %6
br label %408
133: ; preds = %127
%134 = load i8*, i8** %7
%135 = call i64 @strtou32(i8* %134, i8** %13, i32 10)
%136 = trunc i64 %135 to i32
%137 = sext i32 %136 to i64
%138 = load %struct.spwd*, %struct.spwd** %8
%139 = getelementptr inbounds %struct.spwd, %struct.spwd* %138, i32 0, i32 2
store i64 %137, i64* %139
%140 = load i8*, i8** %13
%141 = load i8*, i8** %7
%142 = icmp eq i8* %140, %141
br i1 %142, label %143, label %146
143: ; preds = %133
%144 = load %struct.spwd*, %struct.spwd** %8
%145 = getelementptr inbounds %struct.spwd, %struct.spwd* %144, i32 0, i32 2
store i64 -1, i64* %145
br label %146
146: ; preds = %143, %133
%147 = load i8*, i8** %13
%148 = load i8, i8* %147
%149 = sext i8 %148 to i32
%150 = icmp eq i32 %149, 58
br i1 %150, label %151, label %156
151: ; preds = %146
br label %152
152: ; preds = %151
%153 = load i8*, i8** %13
%154 = getelementptr inbounds i8, i8* %153, i32 1
store i8* %154, i8** %13
br label %155
155: ; preds = %152
br label %163
156: ; preds = %146
%157 = load i8*, i8** %13
%158 = load i8, i8* %157
%159 = sext i8 %158 to i32
%160 = icmp ne i32 %159, 0
br i1 %160, label %161, label %162
161: ; preds = %156
store i32 0, i32* %6
br label %408
162: ; preds = %156
br label %163
163: ; preds = %162, %155
%164 = load i8*, i8** %13
store i8* %164, i8** %7
%165 = load i8*, i8** %7
%166 = load i8, i8* %165
%167 = sext i8 %166 to i32
%168 = icmp eq i32 %167, 0
br i1 %168, label %169, label %170
169: ; preds = %163
store i32 0, i32* %6
br label %408
170: ; preds = %163
%171 = load i8*, i8** %7
%172 = call i64 @strtou32(i8* %171, i8** %14, i32 10)
%173 = trunc i64 %172 to i32
%174 = sext i32 %173 to i64
%175 = load %struct.spwd*, %struct.spwd** %8
%176 = getelementptr inbounds %struct.spwd, %struct.spwd* %175, i32 0, i32 3
store i64 %174, i64* %176
%177 = load i8*, i8** %14
%178 = load i8*, i8** %7
%179 = icmp eq i8* %177, %178
br i1 %179, label %180, label %183
180: ; preds = %170
%181 = load %struct.spwd*, %struct.spwd** %8
%182 = getelementptr inbounds %struct.spwd, %struct.spwd* %181, i32 0, i32 3
store i64 -1, i64* %182
br label %183
183: ; preds = %180, %170
%184 = load i8*, i8** %14
%185 = load i8, i8* %184
%186 = sext i8 %185 to i32
%187 = icmp eq i32 %186, 58
br i1 %187, label %188, label %193
188: ; preds = %183
br label %189
189: ; preds = %188
%190 = load i8*, i8** %14
%191 = getelementptr inbounds i8, i8* %190, i32 1
store i8* %191, i8** %14
br label %192
192: ; preds = %189
br label %200
193: ; preds = %183
%194 = load i8*, i8** %14
%195 = load i8, i8* %194
%196 = sext i8 %195 to i32
%197 = icmp ne i32 %196, 0
br i1 %197, label %198, label %199
198: ; preds = %193
store i32 0, i32* %6
br label %408
199: ; preds = %193
br label %200
200: ; preds = %199, %192
%201 = load i8*, i8** %14
store i8* %201, i8** %7
%202 = load i8*, i8** %7
%203 = load i8, i8* %202
%204 = sext i8 %203 to i32
%205 = icmp eq i32 %204, 0
br i1 %205, label %206, label %207
206: ; preds = %200
store i32 0, i32* %6
br label %408
207: ; preds = %200
%208 = load i8*, i8** %7
%209 = call i64 @strtou32(i8* %208, i8** %15, i32 10)
%210 = trunc i64 %209 to i32
%211 = sext i32 %210 to i64
%212 = load %struct.spwd*, %struct.spwd** %8
%213 = getelementptr inbounds %struct.spwd, %struct.spwd* %212, i32 0, i32 4
store i64 %211, i64* %213
%214 = load i8*, i8** %15
%215 = load i8*, i8** %7
%216 = icmp eq i8* %214, %215
br i1 %216, label %217, label %220
217: ; preds = %207
%218 = load %struct.spwd*, %struct.spwd** %8
%219 = getelementptr inbounds %struct.spwd, %struct.spwd* %218, i32 0, i32 4
store i64 -1, i64* %219
br label %220
220: ; preds = %217, %207
%221 = load i8*, i8** %15
%222 = load i8, i8* %221
%223 = sext i8 %222 to i32
%224 = icmp eq i32 %223, 58
br i1 %224, label %225, label %230
225: ; preds = %220
br label %226
226: ; preds = %225
%227 = load i8*, i8** %15
%228 = getelementptr inbounds i8, i8* %227, i32 1
store i8* %228, i8** %15
br label %229
229: ; preds = %226
br label %237
230: ; preds = %220
%231 = load i8*, i8** %15
%232 = load i8, i8* %231
%233 = sext i8 %232 to i32
%234 = icmp ne i32 %233, 0
br i1 %234, label %235, label %236
235: ; preds = %230
store i32 0, i32* %6
br label %408
236: ; preds = %230
br label %237
237: ; preds = %236, %229
%238 = load i8*, i8** %15
store i8* %238, i8** %7
br label %239
239: ; preds = %244, %237
%240 = load i8*, i8** %7
%241 = load i8, i8* %240
%242 = call i64 @isspace(i8 signext %241)
%243 = icmp ne i64 %242, 0
br i1 %243, label %244, label %247
244: ; preds = %239
%245 = load i8*, i8** %7
%246 = getelementptr inbounds i8, i8* %245, i32 1
store i8* %246, i8** %7
br label %239
247: ; preds = %239
%248 = load i8*, i8** %7
%249 = load i8, i8* %248
%250 = sext i8 %249 to i32
%251 = icmp eq i32 %250, 0
br i1 %251, label %252, label %261
252: ; preds = %247
%253 = load %struct.spwd*, %struct.spwd** %8
%254 = getelementptr inbounds %struct.spwd, %struct.spwd* %253, i32 0, i32 5
store i64 -1, i64* %254
%255 = load %struct.spwd*, %struct.spwd** %8
%256 = getelementptr inbounds %struct.spwd, %struct.spwd* %255, i32 0, i32 6
store i64 -1, i64* %256
%257 = load %struct.spwd*, %struct.spwd** %8
%258 = getelementptr inbounds %struct.spwd, %struct.spwd* %257, i32 0, i32 7
store i64 -1, i64* %258
%259 = load %struct.spwd*, %struct.spwd** %8
%260 = getelementptr inbounds %struct.spwd, %struct.spwd* %259, i32 0, i32 8
store i64 -1, i64* %260
br label %406
261: ; preds = %247
%262 = load i8*, i8** %7
%263 = load i8, i8* %262
%264 = sext i8 %263 to i32
%265 = icmp eq i32 %264, 0
br i1 %265, label %266, label %267
266: ; preds = %261
store i32 0, i32* %6
br label %408
267: ; preds = %261
%268 = load i8*, i8** %7
%269 = call i64 @strtou32(i8* %268, i8** %16, i32 10)
%270 = trunc i64 %269 to i32
%271 = sext i32 %270 to i64
%272 = load %struct.spwd*, %struct.spwd** %8
%273 = getelementptr inbounds %struct.spwd, %struct.spwd* %272, i32 0, i32 5
store i64 %271, i64* %273
%274 = load i8*, i8** %16
%275 = load i8*, i8** %7
%276 = icmp eq i8* %274, %275
br i1 %276, label %277, label %280
277: ; preds = %267
%278 = load %struct.spwd*, %struct.spwd** %8
%279 = getelementptr inbounds %struct.spwd, %struct.spwd* %278, i32 0, i32 5
store i64 -1, i64* %279
br label %280
280: ; preds = %277, %267
%281 = load i8*, i8** %16
%282 = load i8, i8* %281
%283 = sext i8 %282 to i32
%284 = icmp eq i32 %283, 58
br i1 %284, label %285, label %290
285: ; preds = %280
br label %286
286: ; preds = %285
%287 = load i8*, i8** %16
%288 = getelementptr inbounds i8, i8* %287, i32 1
store i8* %288, i8** %16
br label %289
289: ; preds = %286
br label %297
290: ; preds = %280
%291 = load i8*, i8** %16
%292 = load i8, i8* %291
%293 = sext i8 %292 to i32
%294 = icmp ne i32 %293, 0
br i1 %294, label %295, label %296
295: ; preds = %290
store i32 0, i32* %6
br label %408
296: ; preds = %290
br label %297
297: ; preds = %296, %289
%298 = load i8*, i8** %16
store i8* %298, i8** %7
%299 = load i8*, i8** %7
%300 = load i8, i8* %299
%301 = sext i8 %300 to i32
%302 = icmp eq i32 %301, 0
br i1 %302, label %303, label %304
303: ; preds = %297
store i32 0, i32* %6
br label %408
304: ; preds = %297
%305 = load i8*, i8** %7
%306 = call i64 @strtou32(i8* %305, i8** %17, i32 10)
%307 = trunc i64 %306 to i32
%308 = sext i32 %307 to i64
%309 = load %struct.spwd*, %struct.spwd** %8
%310 = getelementptr inbounds %struct.spwd, %struct.spwd* %309, i32 0, i32 6
store i64 %308, i64* %310
%311 = load i8*, i8** %17
%312 = load i8*, i8** %7
%313 = icmp eq i8* %311, %312
br i1 %313, label %314, label %317
314: ; preds = %304
%315 = load %struct.spwd*, %struct.spwd** %8
%316 = getelementptr inbounds %struct.spwd, %struct.spwd* %315, i32 0, i32 6
store i64 -1, i64* %316
br label %317
317: ; preds = %314, %304
%318 = load i8*, i8** %17
%319 = load i8, i8* %318
%320 = sext i8 %319 to i32
%321 = icmp eq i32 %320, 58
br i1 %321, label %322, label %327
322: ; preds = %317
br label %323
323: ; preds = %322
%324 = load i8*, i8** %17
%325 = getelementptr inbounds i8, i8* %324, i32 1
store i8* %325, i8** %17
br label %326
326: ; preds = %323
br label %334
327: ; preds = %317
%328 = load i8*, i8** %17
%329 = load i8, i8* %328
%330 = sext i8 %329 to i32
%331 = icmp ne i32 %330, 0
br i1 %331, label %332, label %333
332: ; preds = %327
store i32 0, i32* %6
br label %408
333: ; preds = %327
br label %334
334: ; preds = %333, %326
%335 = load i8*, i8** %17
store i8* %335, i8** %7
%336 = load i8*, i8** %7
%337 = load i8, i8* %336
%338 = sext i8 %337 to i32
%339 = icmp eq i32 %338, 0
br i1 %339, label %340, label %341
340: ; preds = %334
store i32 0, i32* %6
br label %408
341: ; preds = %334
%342 = load i8*, i8** %7
%343 = call i64 @strtou32(i8* %342, i8** %18, i32 10)
%344 = trunc i64 %343 to i32
%345 = sext i32 %344 to i64
%346 = load %struct.spwd*, %struct.spwd** %8
%347 = getelementptr inbounds %struct.spwd, %struct.spwd* %346, i32 0, i32 7
store i64 %345, i64* %347
%348 = load i8*, i8** %18
%349 = load i8*, i8** %7
%350 = icmp eq i8* %348, %349
br i1 %350, label %351, label %354
351: ; preds = %341
%352 = load %struct.spwd*, %struct.spwd** %8
%353 = getelementptr inbounds %struct.spwd, %struct.spwd* %352, i32 0, i32 7
store i64 -1, i64* %353
br label %354
354: ; preds = %351, %341
%355 = load i8*, i8** %18
%356 = load i8, i8* %355
%357 = sext i8 %356 to i32
%358 = icmp eq i32 %357, 58
br i1 %358, label %359, label %364
359: ; preds = %354
br label %360
360: ; preds = %359
%361 = load i8*, i8** %18
%362 = getelementptr inbounds i8, i8* %361, i32 1
store i8* %362, i8** %18
br label %363
363: ; preds = %360
br label %371
364: ; preds = %354
%365 = load i8*, i8** %18
%366 = load i8, i8* %365
%367 = sext i8 %366 to i32
%368 = icmp ne i32 %367, 0
br i1 %368, label %369, label %370
369: ; preds = %364
store i32 0, i32* %6
br label %408
370: ; preds = %364
br label %371
371: ; preds = %370, %363
%372 = load i8*, i8** %18
store i8* %372, i8** %7
%373 = load i8*, i8** %7
%374 = load i8, i8* %373
%375 = sext i8 %374 to i32
%376 = icmp ne i32 %375, 0
br i1 %376, label %377, label %402
377: ; preds = %371
%378 = load i8*, i8** %7
%379 = load i8, i8* %378
%380 = sext i8 %379 to i32
%381 = icmp eq i32 %380, 0
br i1 %381, label %382, label %383
382: ; preds = %377
store i32 0, i32* %6
br label %408
383: ; preds = %377
%384 = load i8*, i8** %7
%385 = call i64 @strtou32(i8* %384, i8** %19, i32 10)
%386 = load %struct.spwd*, %struct.spwd** %8
%387 = getelementptr inbounds %struct.spwd, %struct.spwd* %386, i32 0, i32 8
store i64 %385, i64* %387
%388 = load i8*, i8** %19
%389 = load i8*, i8** %7
%390 = icmp eq i8* %388, %389
br i1 %390, label %391, label %394
391: ; preds = %383
%392 = load %struct.spwd*, %struct.spwd** %8
%393 = getelementptr inbounds %struct.spwd, %struct.spwd* %392, i32 0, i32 8
store i64 -1, i64* %393
br label %394
394: ; preds = %391, %383
%395 = load i8*, i8** %19
%396 = load i8, i8* %395
%397 = sext i8 %396 to i32
%398 = icmp ne i32 %397, 0
br i1 %398, label %399, label %400
399: ; preds = %394
store i32 0, i32* %6
br label %408
400: ; preds = %394
%401 = load i8*, i8** %19
store i8* %401, i8** %7
br label %405
402: ; preds = %371
%403 = load %struct.spwd*, %struct.spwd** %8
%404 = getelementptr inbounds %struct.spwd, %struct.spwd* %403, i32 0, i32 8
store i64 -1, i64* %404
br label %405
405: ; preds = %402, %400
br label %406
406: ; preds = %405, %252
br label %407
407: ; preds = %406, %79
store i32 1, i32* %6
br label %408
408: ; preds = %407, %399, %382, %369, %340, %332, %303, %295, %266, %235, %206, %198, %169, %161, %132
%409 = load i32, i32* %6
ret i32 %409
}

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