#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 spent_data {
  int dummy;
};

/* Variables and functions */
scalar_t__ isspace(char);
char *strpbrk(char *, char *);
scalar_t__ strtoul(char *, char **, int);
int _nss_directories_parse_spent(char *line, struct spwd *result,
                                 struct spent_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)(strtoul(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)(strtoul(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)(strtoul(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)(strtoul(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)(strtoul(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)(strtoul(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)(strtoul(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_directories_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   1040 <strpbrk@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
je     1175 <_nss_directories_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_directories_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_directories_parse_spent+0x87>
jmp    11c8 <_nss_directories_parse_spent+0x98>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1180 <_nss_directories_parse_spent+0x50>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     11f0 <_nss_directories_parse_spent+0xc0>
mov    -0x10(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    11f0 <_nss_directories_parse_spent+0xc0>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    128b <_nss_directories_parse_spent+0x15b>
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
movsbl (%rax),%eax
cmp    $0x2b,%eax
je     1226 <_nss_directories_parse_spent+0xf6>
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    128b <_nss_directories_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_directories_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_directories_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_directories_parse_spent+0x19e>
jmp    12df <_nss_directories_parse_spent+0x1af>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1297 <_nss_directories_parse_spent+0x167>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1307 <_nss_directories_parse_spent+0x1d7>
mov    -0x10(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1307 <_nss_directories_parse_spent+0x1d7>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1323 <_nss_directories_parse_spent+0x1f3>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x40(%rbp),%rsi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x10(%rax)
mov    -0x40(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    135a <_nss_directories_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_directories_parse_spent+0x250>
jmp    136f <_nss_directories_parse_spent+0x23f>
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    13a1 <_nss_directories_parse_spent+0x271>
mov    -0x40(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     139c <_nss_directories_parse_spent+0x26c>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
jmp    13a1 <_nss_directories_parse_spent+0x271>
mov    -0x40(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    13c5 <_nss_directories_parse_spent+0x295>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x48(%rbp),%rsi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x18(%rax)
mov    -0x48(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    13fc <_nss_directories_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_directories_parse_spent+0x2f2>
jmp    1411 <_nss_directories_parse_spent+0x2e1>
mov    -0x48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x48(%rbp)
jmp    1443 <_nss_directories_parse_spent+0x313>
mov    -0x48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     143e <_nss_directories_parse_spent+0x30e>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
jmp    1443 <_nss_directories_parse_spent+0x313>
mov    -0x48(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1467 <_nss_directories_parse_spent+0x337>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x50(%rbp),%rsi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x20(%rax)
mov    -0x50(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    149e <_nss_directories_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_directories_parse_spent+0x394>
jmp    14b3 <_nss_directories_parse_spent+0x383>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    14e5 <_nss_directories_parse_spent+0x3b5>
mov    -0x50(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     14e0 <_nss_directories_parse_spent+0x3b0>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
jmp    14e5 <_nss_directories_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_directories_parse_spent+0x3e4>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    14ed <_nss_directories_parse_spent+0x3bd>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1559 <_nss_directories_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_directories_parse_spent+0x6ac>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1575 <_nss_directories_parse_spent+0x445>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x58(%rbp),%rsi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x28(%rax)
mov    -0x58(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    15ac <_nss_directories_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_directories_parse_spent+0x4a2>
jmp    15c1 <_nss_directories_parse_spent+0x491>
mov    -0x58(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x58(%rbp)
jmp    15f3 <_nss_directories_parse_spent+0x4c3>
mov    -0x58(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     15ee <_nss_directories_parse_spent+0x4be>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
jmp    15f3 <_nss_directories_parse_spent+0x4c3>
mov    -0x58(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1617 <_nss_directories_parse_spent+0x4e7>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x60(%rbp),%rsi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x30(%rax)
mov    -0x60(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    164e <_nss_directories_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_directories_parse_spent+0x544>
jmp    1663 <_nss_directories_parse_spent+0x533>
mov    -0x60(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x60(%rbp)
jmp    1695 <_nss_directories_parse_spent+0x565>
mov    -0x60(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1690 <_nss_directories_parse_spent+0x560>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
jmp    1695 <_nss_directories_parse_spent+0x565>
mov    -0x60(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    16b9 <_nss_directories_parse_spent+0x589>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x68(%rbp),%rsi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x38(%rax)
mov    -0x68(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    16f0 <_nss_directories_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_directories_parse_spent+0x5e6>
jmp    1705 <_nss_directories_parse_spent+0x5d5>
mov    -0x68(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x68(%rbp)
jmp    1737 <_nss_directories_parse_spent+0x607>
mov    -0x68(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1732 <_nss_directories_parse_spent+0x602>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
jmp    1737 <_nss_directories_parse_spent+0x607>
mov    -0x68(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     17cb <_nss_directories_parse_spent+0x69b>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    176b <_nss_directories_parse_spent+0x63b>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
mov    -0x10(%rbp),%rdi
lea    -0x70(%rbp),%rsi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,0x40(%rax)
mov    -0x70(%rbp),%rax
cmp    -0x10(%rbp),%rax
jne    17a2 <_nss_directories_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_directories_parse_spent+0x68e>
movl   $0x0,-0x4(%rbp)
jmp    17e8 <_nss_directories_parse_spent+0x6b8>
mov    -0x70(%rbp),%rax
mov    %rax,-0x10(%rbp)
jmp    17d7 <_nss_directories_parse_spent+0x6a7>
mov    -0x18(%rbp),%rax
movq   $0xffffffffffffffff,0x40(%rax)
ff
jmp    17dc <_nss_directories_parse_spent+0x6ac>
jmp    17e1 <_nss_directories_parse_spent+0x6b1>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_nss_directories_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_directories_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_directories_parse_spent+0x4e>
cmp    $0x3a,%al
je     1171 <_nss_directories_parse_spent+0x41>
add    $0x1,%rbx
jmp    1160 <_nss_directories_parse_spent+0x30>
movb   $0x0,(%rbx)
cmpb   $0x0,0x1(%rbx)
lea    0x1(%rbx),%rbx
jne    11b2 <_nss_directories_parse_spent+0x82>
mov    (%r14),%rax
mov    (%rax),%al
cmp    $0x2d,%al
je     118b <_nss_directories_parse_spent+0x5b>
cmp    $0x2b,%al
jne    11b2 <_nss_directories_parse_spent+0x82>
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    120c <_nss_directories_parse_spent+0xdc>
mov    %rbx,0x8(%r14)
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%rbx
movzbl -0x1(%rbx),%eax
cmp    $0x3a,%al
je     11d2 <_nss_directories_parse_spent+0xa2>
test   %al,%al
jne    11c0 <_nss_directories_parse_spent+0x90>
jmp    120a <_nss_directories_parse_spent+0xda>
movb   $0x0,-0x1(%rbx)
cmpb   $0x0,(%rbx)
je     120a <_nss_directories_parse_spent+0xda>
mov    %rsp,%rsi
mov    %rbx,%rdi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    (%rsp),%r15
cmp    %r15,%rbx
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x10(%r14)
mov    (%r15),%al
cmp    $0x3a,%al
je     1218 <_nss_directories_parse_spent+0xe8>
test   %al,%al
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret
cmpb   $0x0,0x1(%r15)
je     120a <_nss_directories_parse_spent+0xda>
add    $0x1,%r15
mov    %rsp,%rsi
mov    %r15,%rdi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    (%rsp),%r12
cmp    %r15,%r12
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x18(%r14)
mov    (%r12),%al
cmp    $0x3a,%al
jne    1208 <_nss_directories_parse_spent+0xd8>
cmpb   $0x0,0x1(%r12)
je     120a <_nss_directories_parse_spent+0xda>
add    $0x1,%r12
mov    %rsp,%rsi
mov    %r12,%rdi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    (%rsp),%rbx
cmp    %r12,%rbx
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x20(%r14)
mov    (%rbx),%al
test   %al,%al
je     1295 <_nss_directories_parse_spent+0x165>
cmp    $0x3a,%al
jne    120a <_nss_directories_parse_spent+0xda>
add    $0x1,%rbx
add    $0xffffffffffffffff,%rbx
movsbl 0x1(%rbx),%edi
add    $0x1,%rbx
call   1040 <isspace@plt>
test   %rax,%rax
jne    1299 <_nss_directories_parse_spent+0x169>
cmpb   $0x0,(%rbx)
je     1368 <_nss_directories_parse_spent+0x238>
mov    %rsp,%rsi
mov    %rbx,%rdi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    (%rsp),%r15
cmp    %r15,%rbx
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x28(%r14)
mov    (%r15),%al
cmp    $0x3a,%al
jne    1208 <_nss_directories_parse_spent+0xd8>
cmpb   $0x0,0x1(%r15)
je     120a <_nss_directories_parse_spent+0xda>
add    $0x1,%r15
mov    %rsp,%rsi
mov    %r15,%rdi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    (%rsp),%rbx
cmp    %r15,%rbx
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x30(%r14)
mov    (%rbx),%al
cmp    $0x3a,%al
jne    1208 <_nss_directories_parse_spent+0xd8>
cmpb   $0x0,0x1(%rbx)
je     120a <_nss_directories_parse_spent+0xda>
add    $0x1,%rbx
mov    %rsp,%rsi
mov    %rbx,%rdi
mov    $0xa,%edx
call   1050 <strtoul@plt>
mov    (%rsp),%r15
cmp    %rbx,%r15
mov    $0xffffffffffffffff,%rcx
cmovne %rax,%rcx
mov    %rcx,0x38(%r14)
mov    (%r15),%al
cmp    $0x3a,%al
je     137d <_nss_directories_parse_spent+0x24d>
test   %al,%al
je     13bb <_nss_directories_parse_spent+0x28b>
jmp    120a <_nss_directories_parse_spent+0xda>
pcmpeqd %xmm0,%xmm0
movdqu %xmm0,0x38(%r14)
movdqu %xmm0,0x28(%r14)
jmp    11ab <_nss_directories_parse_spent+0x7b>
cmpb   $0x0,0x1(%r15)
je     13bb <_nss_directories_parse_spent+0x28b>
add    $0x1,%r15
mov    %rsp,%rsi
mov    %r15,%rdi
mov    $0xa,%edx
call   1050 <strtoul@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    120c <_nss_directories_parse_spent+0xdc>
movq   $0xffffffffffffffff,0x40(%r14)
ff
jmp    11ab <_nss_directories_parse_spent+0x7b>

LLVM IR (-O0):
%struct.spwd = type { i8*, i8*, i64, i64, i64, i64, i64, i64, i64 }
%struct.spent_data = type { i32 }
@.str = [2 x i8] c"\0A\00"
define i32 @_nss_directories_parse_spent(i8* %0, %struct.spwd* %1, %struct.spent_data* %2, i64 %3, i32* %4) {
%6 = alloca i32
%7 = alloca i8*
%8 = alloca %struct.spwd*
%9 = alloca %struct.spent_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.spent_data* %2, %struct.spent_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 %395
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 %396
133: ; preds = %127
%134 = load i8*, i8** %7
%135 = call i64 @strtoul(i8* %134, i8** %13, i32 10)
%136 = load %struct.spwd*, %struct.spwd** %8
%137 = getelementptr inbounds %struct.spwd, %struct.spwd* %136, i32 0, i32 2
store i64 %135, i64* %137
%138 = load i8*, i8** %13
%139 = load i8*, i8** %7
%140 = icmp eq i8* %138, %139
br i1 %140, label %141, label %144
141: ; preds = %133
%142 = load %struct.spwd*, %struct.spwd** %8
%143 = getelementptr inbounds %struct.spwd, %struct.spwd* %142, i32 0, i32 2
store i64 -1, i64* %143
br label %144
144: ; preds = %141, %133
%145 = load i8*, i8** %13
%146 = load i8, i8* %145
%147 = sext i8 %146 to i32
%148 = icmp eq i32 %147, 58
br i1 %148, label %149, label %154
149: ; preds = %144
br label %150
150: ; preds = %149
%151 = load i8*, i8** %13
%152 = getelementptr inbounds i8, i8* %151, i32 1
store i8* %152, i8** %13
br label %153
153: ; preds = %150
br label %161
154: ; preds = %144
%155 = load i8*, i8** %13
%156 = load i8, i8* %155
%157 = sext i8 %156 to i32
%158 = icmp ne i32 %157, 0
br i1 %158, label %159, label %160
159: ; preds = %154
store i32 0, i32* %6
br label %396
160: ; preds = %154
br label %161
161: ; preds = %160, %153
%162 = load i8*, i8** %13
store i8* %162, i8** %7
%163 = load i8*, i8** %7
%164 = load i8, i8* %163
%165 = sext i8 %164 to i32
%166 = icmp eq i32 %165, 0
br i1 %166, label %167, label %168
167: ; preds = %161
store i32 0, i32* %6
br label %396
168: ; preds = %161
%169 = load i8*, i8** %7
%170 = call i64 @strtoul(i8* %169, i8** %14, i32 10)
%171 = load %struct.spwd*, %struct.spwd** %8
%172 = getelementptr inbounds %struct.spwd, %struct.spwd* %171, i32 0, i32 3
store i64 %170, i64* %172
%173 = load i8*, i8** %14
%174 = load i8*, i8** %7
%175 = icmp eq i8* %173, %174
br i1 %175, label %176, label %179
176: ; preds = %168
%177 = load %struct.spwd*, %struct.spwd** %8
%178 = getelementptr inbounds %struct.spwd, %struct.spwd* %177, i32 0, i32 3
store i64 -1, i64* %178
br label %179
179: ; preds = %176, %168
%180 = load i8*, i8** %14
%181 = load i8, i8* %180
%182 = sext i8 %181 to i32
%183 = icmp eq i32 %182, 58
br i1 %183, label %184, label %189
184: ; preds = %179
br label %185
185: ; preds = %184
%186 = load i8*, i8** %14
%187 = getelementptr inbounds i8, i8* %186, i32 1
store i8* %187, i8** %14
br label %188
188: ; preds = %185
br label %196
189: ; preds = %179
%190 = load i8*, i8** %14
%191 = load i8, i8* %190
%192 = sext i8 %191 to i32
%193 = icmp ne i32 %192, 0
br i1 %193, label %194, label %195
194: ; preds = %189
store i32 0, i32* %6
br label %396
195: ; preds = %189
br label %196
196: ; preds = %195, %188
%197 = load i8*, i8** %14
store i8* %197, i8** %7
%198 = load i8*, i8** %7
%199 = load i8, i8* %198
%200 = sext i8 %199 to i32
%201 = icmp eq i32 %200, 0
br i1 %201, label %202, label %203
202: ; preds = %196
store i32 0, i32* %6
br label %396
203: ; preds = %196
%204 = load i8*, i8** %7
%205 = call i64 @strtoul(i8* %204, i8** %15, i32 10)
%206 = load %struct.spwd*, %struct.spwd** %8
%207 = getelementptr inbounds %struct.spwd, %struct.spwd* %206, i32 0, i32 4
store i64 %205, i64* %207
%208 = load i8*, i8** %15
%209 = load i8*, i8** %7
%210 = icmp eq i8* %208, %209
br i1 %210, label %211, label %214
211: ; preds = %203
%212 = load %struct.spwd*, %struct.spwd** %8
%213 = getelementptr inbounds %struct.spwd, %struct.spwd* %212, i32 0, i32 4
store i64 -1, i64* %213
br label %214
214: ; preds = %211, %203
%215 = load i8*, i8** %15
%216 = load i8, i8* %215
%217 = sext i8 %216 to i32
%218 = icmp eq i32 %217, 58
br i1 %218, label %219, label %224
219: ; preds = %214
br label %220
220: ; preds = %219
%221 = load i8*, i8** %15
%222 = getelementptr inbounds i8, i8* %221, i32 1
store i8* %222, i8** %15
br label %223
223: ; preds = %220
br label %231
224: ; preds = %214
%225 = load i8*, i8** %15
%226 = load i8, i8* %225
%227 = sext i8 %226 to i32
%228 = icmp ne i32 %227, 0
br i1 %228, label %229, label %230
229: ; preds = %224
store i32 0, i32* %6
br label %396
230: ; preds = %224
br label %231
231: ; preds = %230, %223
%232 = load i8*, i8** %15
store i8* %232, i8** %7
br label %233
233: ; preds = %238, %231
%234 = load i8*, i8** %7
%235 = load i8, i8* %234
%236 = call i64 @isspace(i8 signext %235)
%237 = icmp ne i64 %236, 0
br i1 %237, label %238, label %241
238: ; preds = %233
%239 = load i8*, i8** %7
%240 = getelementptr inbounds i8, i8* %239, i32 1
store i8* %240, i8** %7
br label %233
241: ; preds = %233
%242 = load i8*, i8** %7
%243 = load i8, i8* %242
%244 = sext i8 %243 to i32
%245 = icmp eq i32 %244, 0
br i1 %245, label %246, label %255
246: ; preds = %241
%247 = load %struct.spwd*, %struct.spwd** %8
%248 = getelementptr inbounds %struct.spwd, %struct.spwd* %247, i32 0, i32 5
store i64 -1, i64* %248
%249 = load %struct.spwd*, %struct.spwd** %8
%250 = getelementptr inbounds %struct.spwd, %struct.spwd* %249, i32 0, i32 6
store i64 -1, i64* %250
%251 = load %struct.spwd*, %struct.spwd** %8
%252 = getelementptr inbounds %struct.spwd, %struct.spwd* %251, i32 0, i32 7
store i64 -1, i64* %252
%253 = load %struct.spwd*, %struct.spwd** %8
%254 = getelementptr inbounds %struct.spwd, %struct.spwd* %253, i32 0, i32 8
store i64 -1, i64* %254
br label %394
255: ; preds = %241
%256 = load i8*, i8** %7
%257 = load i8, i8* %256
%258 = sext i8 %257 to i32
%259 = icmp eq i32 %258, 0
br i1 %259, label %260, label %261
260: ; preds = %255
store i32 0, i32* %6
br label %396
261: ; preds = %255
%262 = load i8*, i8** %7
%263 = call i64 @strtoul(i8* %262, i8** %16, i32 10)
%264 = load %struct.spwd*, %struct.spwd** %8
%265 = getelementptr inbounds %struct.spwd, %struct.spwd* %264, i32 0, i32 5
store i64 %263, i64* %265
%266 = load i8*, i8** %16
%267 = load i8*, i8** %7
%268 = icmp eq i8* %266, %267
br i1 %268, label %269, label %272
269: ; preds = %261
%270 = load %struct.spwd*, %struct.spwd** %8
%271 = getelementptr inbounds %struct.spwd, %struct.spwd* %270, i32 0, i32 5
store i64 -1, i64* %271
br label %272
272: ; preds = %269, %261
%273 = load i8*, i8** %16
%274 = load i8, i8* %273
%275 = sext i8 %274 to i32
%276 = icmp eq i32 %275, 58
br i1 %276, label %277, label %282
277: ; preds = %272
br label %278
278: ; preds = %277
%279 = load i8*, i8** %16
%280 = getelementptr inbounds i8, i8* %279, i32 1
store i8* %280, i8** %16
br label %281
281: ; preds = %278
br label %289
282: ; preds = %272
%283 = load i8*, i8** %16
%284 = load i8, i8* %283
%285 = sext i8 %284 to i32
%286 = icmp ne i32 %285, 0
br i1 %286, label %287, label %288
287: ; preds = %282
store i32 0, i32* %6
br label %396
288: ; preds = %282
br label %289
289: ; preds = %288, %281
%290 = load i8*, i8** %16
store i8* %290, i8** %7
%291 = load i8*, i8** %7
%292 = load i8, i8* %291
%293 = sext i8 %292 to i32
%294 = icmp eq i32 %293, 0
br i1 %294, label %295, label %296
295: ; preds = %289
store i32 0, i32* %6
br label %396
296: ; preds = %289
%297 = load i8*, i8** %7
%298 = call i64 @strtoul(i8* %297, i8** %17, i32 10)
%299 = load %struct.spwd*, %struct.spwd** %8
%300 = getelementptr inbounds %struct.spwd, %struct.spwd* %299, i32 0, i32 6
store i64 %298, i64* %300
%301 = load i8*, i8** %17
%302 = load i8*, i8** %7
%303 = icmp eq i8* %301, %302
br i1 %303, label %304, label %307
304: ; preds = %296
%305 = load %struct.spwd*, %struct.spwd** %8
%306 = getelementptr inbounds %struct.spwd, %struct.spwd* %305, i32 0, i32 6
store i64 -1, i64* %306
br label %307
307: ; preds = %304, %296
%308 = load i8*, i8** %17
%309 = load i8, i8* %308
%310 = sext i8 %309 to i32
%311 = icmp eq i32 %310, 58
br i1 %311, label %312, label %317
312: ; preds = %307
br label %313
313: ; preds = %312
%314 = load i8*, i8** %17
%315 = getelementptr inbounds i8, i8* %314, i32 1
store i8* %315, i8** %17
br label %316
316: ; preds = %313
br label %324
317: ; preds = %307
%318 = load i8*, i8** %17
%319 = load i8, i8* %318
%320 = sext i8 %319 to i32
%321 = icmp ne i32 %320, 0
br i1 %321, label %322, label %323
322: ; preds = %317
store i32 0, i32* %6
br label %396
323: ; preds = %317
br label %324
324: ; preds = %323, %316
%325 = load i8*, i8** %17
store i8* %325, i8** %7
%326 = load i8*, i8** %7
%327 = load i8, i8* %326
%328 = sext i8 %327 to i32
%329 = icmp eq i32 %328, 0
br i1 %329, label %330, label %331
330: ; preds = %324
store i32 0, i32* %6
br label %396
331: ; preds = %324
%332 = load i8*, i8** %7
%333 = call i64 @strtoul(i8* %332, i8** %18, i32 10)
%334 = load %struct.spwd*, %struct.spwd** %8
%335 = getelementptr inbounds %struct.spwd, %struct.spwd* %334, i32 0, i32 7
store i64 %333, i64* %335
%336 = load i8*, i8** %18
%337 = load i8*, i8** %7
%338 = icmp eq i8* %336, %337
br i1 %338, label %339, label %342
339: ; preds = %331
%340 = load %struct.spwd*, %struct.spwd** %8
%341 = getelementptr inbounds %struct.spwd, %struct.spwd* %340, i32 0, i32 7
store i64 -1, i64* %341
br label %342
342: ; preds = %339, %331
%343 = load i8*, i8** %18
%344 = load i8, i8* %343
%345 = sext i8 %344 to i32
%346 = icmp eq i32 %345, 58
br i1 %346, label %347, label %352
347: ; preds = %342
br label %348
348: ; preds = %347
%349 = load i8*, i8** %18
%350 = getelementptr inbounds i8, i8* %349, i32 1
store i8* %350, i8** %18
br label %351
351: ; preds = %348
br label %359
352: ; preds = %342
%353 = load i8*, i8** %18
%354 = load i8, i8* %353
%355 = sext i8 %354 to i32
%356 = icmp ne i32 %355, 0
br i1 %356, label %357, label %358
357: ; preds = %352
store i32 0, i32* %6
br label %396
358: ; preds = %352
br label %359
359: ; preds = %358, %351
%360 = load i8*, i8** %18
store i8* %360, i8** %7
%361 = load i8*, i8** %7
%362 = load i8, i8* %361
%363 = sext i8 %362 to i32
%364 = icmp ne i32 %363, 0
br i1 %364, label %365, label %390
365: ; preds = %359
%366 = load i8*, i8** %7
%367 = load i8, i8* %366
%368 = sext i8 %367 to i32
%369 = icmp eq i32 %368, 0
br i1 %369, label %370, label %371
370: ; preds = %365
store i32 0, i32* %6
br label %396
371: ; preds = %365
%372 = load i8*, i8** %7
%373 = call i64 @strtoul(i8* %372, i8** %19, i32 10)
%374 = load %struct.spwd*, %struct.spwd** %8
%375 = getelementptr inbounds %struct.spwd, %struct.spwd* %374, i32 0, i32 8
store i64 %373, i64* %375
%376 = load i8*, i8** %19
%377 = load i8*, i8** %7
%378 = icmp eq i8* %376, %377
br i1 %378, label %379, label %382
379: ; preds = %371
%380 = load %struct.spwd*, %struct.spwd** %8
%381 = getelementptr inbounds %struct.spwd, %struct.spwd* %380, i32 0, i32 8
store i64 -1, i64* %381
br label %382
382: ; preds = %379, %371
%383 = load i8*, i8** %19
%384 = load i8, i8* %383
%385 = sext i8 %384 to i32
%386 = icmp ne i32 %385, 0
br i1 %386, label %387, label %388
387: ; preds = %382
store i32 0, i32* %6
br label %396
388: ; preds = %382
%389 = load i8*, i8** %19
store i8* %389, i8** %7
br label %393
390: ; preds = %359
%391 = load %struct.spwd*, %struct.spwd** %8
%392 = getelementptr inbounds %struct.spwd, %struct.spwd* %391, i32 0, i32 8
store i64 -1, i64* %392
br label %393
393: ; preds = %390, %388
br label %394
394: ; preds = %393, %246
br label %395
395: ; preds = %394, %79
store i32 1, i32* %6
br label %396
396: ; preds = %395, %387, %370, %357, %330, %322, %295, %287, %260, %229, %202, %194, %167, %159, %132
%397 = load i32, i32* %6
ret i32 %397
}

LLVM IR (-O2):
%struct.spwd = type { i8*, i8*, i64, i64, i64, i64, i64, i64, i64 }
%struct.spent_data = type { i32 }
define i32 @_nss_directories_parse_spent(i8* %0, %struct.spwd* %1, %struct.spent_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 %166
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 %60
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 %60, label %51
51: ; preds = %46
%52 = call i64 @strtoul(i8* %47, i8** %6, i32 10)
%53 = getelementptr inbounds %struct.spwd, %struct.spwd* %1, i64 0, i32 2
%54 = load i8*, i8** %6
%55 = icmp eq i8* %54, %47
%56 = select i1 %55, i64 -1, i64 %52
store i64 %56, i64* %53
%57 = load i8, i8* %54
switch i8 %57, label %60 [
i8 58, label %62
i8 0, label %58
]
58: ; preds = %51
%59 = bitcast i8** %7 to i8*
br label %76
60: ; preds = %42, %46, %51
%61 = bitcast i8** %6 to i8*
br label %166
62: ; preds = %51
%63 = getelementptr inbounds i8, i8* %54, i64 1
%64 = load i8, i8* %63
%65 = bitcast i8** %7 to i8*
%66 = icmp eq i8 %64, 0
br i1 %66, label %76, label %67
67: ; preds = %62
%68 = call i64 @strtoul(i8* %63, i8** %7, i32 10)
%69 = getelementptr inbounds %struct.spwd, %struct.spwd* %1, i64 0, i32 3
%70 = load i8*, i8** %7
%71 = icmp eq i8* %70, %63
%72 = select i1 %71, i64 -1, i64 %68
store i64 %72, i64* %69
%73 = load i8, i8* %70
switch i8 %73, label %76 [
i8 58, label %78
i8 0, label %74
]
74: ; preds = %67
%75 = bitcast i8** %8 to i8*
br label %92
76: ; preds = %58, %62, %67
%77 = bitcast i8** %7 to i8*
br label %166
78: ; preds = %67
%79 = getelementptr inbounds i8, i8* %70, i64 1
%80 = load i8, i8* %79
%81 = icmp eq i8 %80, 0
%82 = bitcast i8** %8 to i8*
br i1 %81, label %92, label %83
83: ; preds = %78
%84 = call i64 @strtoul(i8* %79, i8** %8, i32 10)
%85 = getelementptr inbounds %struct.spwd, %struct.spwd* %1, i64 0, i32 4
%86 = load i8*, i8** %8
%87 = icmp eq i8* %86, %79
%88 = select i1 %87, i64 -1, i64 %84
store i64 %88, i64* %85
%89 = load i8, i8* %86
switch i8 %89, label %92 [
i8 58, label %90
i8 0, label %94
]
90: ; preds = %83
%91 = getelementptr inbounds i8, i8* %86, i64 1
br label %94
92: ; preds = %74, %78, %83
%93 = bitcast i8** %8 to i8*
br label %166
94: ; preds = %90, %83
%95 = phi i8* [ %91, %90 ], [ %86, %83 ]
br label %96
96: ; preds = %96, %94
%97 = phi i8* [ %95, %94 ], [ %101, %96 ]
%98 = load i8, i8* %97
%99 = tail call i64 @isspace(i8 signext %98)
%100 = icmp eq i64 %99, 0
%101 = getelementptr inbounds i8, i8* %97, i64 1
br i1 %100, label %102, label %96
102: ; preds = %96
%103 = load i8, i8* %97
%104 = icmp eq i8 %103, 0
br i1 %104, label %105, label %108
105: ; preds = %102
%106 = getelementptr inbounds %struct.spwd, %struct.spwd* %1, i64 0, i32 5
%107 = bitcast i64* %106 to i8*
br label %166
108: ; preds = %102
%109 = bitcast i8** %9 to i8*
%110 = call i64 @strtoul(i8* %97, i8** %9, i32 10)
%111 = getelementptr inbounds %struct.spwd, %struct.spwd* %1, i64 0, i32 5
%112 = load i8*, i8** %9
%113 = icmp eq i8* %112, %97
%114 = select i1 %113, i64 -1, i64 %110
store i64 %114, i64* %111
%115 = load i8, i8* %112
switch i8 %115, label %118 [
i8 58, label %119
i8 0, label %116
]
116: ; preds = %108
%117 = bitcast i8** %10 to i8*
br label %133
118: ; preds = %108
br label %166
119: ; preds = %108
%120 = getelementptr inbounds i8, i8* %112, i64 1
%121 = load i8, i8* %120
%122 = icmp eq i8 %121, 0
%123 = bitcast i8** %10 to i8*
br i1 %122, label %133, label %124
124: ; preds = %119
%125 = call i64 @strtoul(i8* %120, i8** %10, i32 10)
%126 = getelementptr inbounds %struct.spwd, %struct.spwd* %1, i64 0, i32 6
%127 = load i8*, i8** %10
%128 = icmp eq i8* %127, %120
%129 = select i1 %128, i64 -1, i64 %125
store i64 %129, i64* %126
%130 = load i8, i8* %127
switch i8 %130, label %133 [
i8 58, label %135
i8 0, label %131
]
131: ; preds = %124
%132 = bitcast i8** %11 to i8*
br label %148
133: ; preds = %116, %119, %124
%134 = bitcast i8** %10 to i8*
br label %166
135: ; preds = %124
%136 = getelementptr inbounds i8, i8* %127, i64 1
%137 = load i8, i8* %136
%138 = icmp eq i8 %137, 0
%139 = bitcast i8** %11 to i8*
br i1 %138, label %148, label %140
140: ; preds = %135
%141 = call i64 @strtoul(i8* %136, i8** %11, i32 10)
%142 = getelementptr inbounds %struct.spwd, %struct.spwd* %1, i64 0, i32 7
%143 = load i8*, i8** %11
%144 = icmp eq i8* %143, %136
%145 = select i1 %144, i64 -1, i64 %141
store i64 %145, i64* %142
%146 = load i8, i8* %143
switch i8 %146, label %148 [
i8 58, label %150
i8 0, label %147
]
147: ; preds = %140
br label %164
148: ; preds = %131, %135, %140
%149 = bitcast i8** %11 to i8*
br label %166
150: ; preds = %140
%151 = getelementptr inbounds i8, i8* %143, i64 1
%152 = load i8, i8* %151
%153 = icmp eq i8 %152, 0
br i1 %153, label %164, label %154
154: ; preds = %150
%155 = bitcast i8** %12 to i8*
%156 = call i64 @strtoul(i8* %151, i8** %12, i32 10)
%157 = getelementptr inbounds %struct.spwd, %struct.spwd* %1, i64 0, i32 8
%158 = load i8*, i8** %12
%159 = icmp eq i8* %158, %151
%160 = select i1 %159, i64 -1, i64 %156
store i64 %160, i64* %157
%161 = load i8, i8* %158
%162 = icmp eq i8 %161, 0
%163 = zext i1 %162 to i32
br label %166
164: ; preds = %147, %150
%165 = getelementptr inbounds %struct.spwd, %struct.spwd* %1, i64 0, i32 8
store i64 -1, i64* %165
br label %166
166: ; preds = %154, %148, %133, %118, %92, %76, %60, %31, %164, %105
%167 = phi i32 [ 1, %105 ], [ 1, %164 ], [ 1, %31 ], [ 0, %60 ], [ 0, %76 ], [ 0, %92 ], [ 0, %118 ], [ 0, %133 ], [ 0, %148 ], [ %163, %154 ]
ret i32 %167
}