#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 /*<<< orphan*/ conf_set(int, char *, char *, char *, char *,
                            int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ free(char *);
scalar_t__ isblank(char);
scalar_t__ isspace(char);
char *malloc(size_t);
char *strchr(char *, char);
size_t strcspn(char *, char *);
char *strdup(char *);
int /*<<< orphan*/ strncpy(char *, char *, size_t);
int strspn(char *, char *);
int /*<<< orphan*/ xlog_warn(char *, int, ...);
void conf_parse_line(int trans, char *line, size_t sz) {
  char *val, *ptr;
  size_t i, valsize;
  size_t j;
  static char *section = 0;
  static char *arg = 0;
  static int ln = 0;
  ln++;
  if (*line == '\0')
    return;
  while (isblank(*line))
    line++;
  if (*line == '#' || *line == ';')
    return;
  if (*line == '[') {
    line++;
    while (isblank(*line))
      line++;
    for (i = 0; i < sz; i++) {
      if (line[i] == ']') {
        break;
      }
    }
    if (section)
      free(section);
    if (i == sz) {
      xlog_warn("config file error: line %d: "
                "non-matched ']', ignoring until next section",
                ln);
      section = 0;
      return;
    }
    val = line;
    j = 0;
    while (*val && !isblank(*val))
      val++, j++;
    if (*val)
      i = j;
    section = malloc(i + 1);
    if (!section) {
      xlog_warn("conf_parse_line: %d: malloc (%lu) failed", ln,
                (unsigned long)i);
      return;
    }
    strncpy(section, line, i);
    section[i] = '\0';
    if (arg)
      free(arg);
    arg = 0;
    ptr = strchr(val, '"');
    if (ptr == NULL)
      return;
    line = ++ptr;
    while (*ptr && *ptr != '"' && *ptr != ']')
      ptr++;
    if (*ptr == '\0' || *ptr == ']') {
      xlog_warn("config file error: line %d: "
                "non-matched '\"', ignoring until next section",
                ln);
    } else {
      *ptr = '\0';
      arg = strdup(line);
      if (!arg)
        xlog_warn("conf_parse_line: %d: malloc arg failed", ln);
    }
    return;
  }
  for (i = 0; i < sz; i++) {
    if (line[i] == '=') {
      if (!section) {
        xlog_warn("config file error: line %d: "
                  "ignoring line due to no section",
                  ln);
        return;
      }
      line[strcspn(line, " \t=")] = '\0';
      val = line + i + 1 + strspn(line + i + 1, " \t");
      valsize = 0;
      while (val[valsize++])
        ;
      for (j = 0; j < valsize; j++) {
        if (val[j] == '#' || val[j] == ';' || isspace(val[j])) {
          val[j] = '\0';
          break;
        }
      }
      conf_set(trans, section, arg, line, val, 0, 0);
      return;
    }
  }
  i = strspn(line, " \t");
  if (line[i])
    xlog_warn("config file error: line %d:", ln);
  return;
}


x86 assembly (clang, -O0):
<conf_parse_line>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    0x2ec7(%rip),%eax
add    $0x1,%eax
mov    %eax,0x2ebe(%rip)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    11e7 <conf_parse_line+0x37>
jmp    16f9 <conf_parse_line+0x549>
jmp    11ec <conf_parse_line+0x3c>
mov    -0x10(%rbp),%rax
movsbl (%rax),%edi
call   1070 <isblank@plt>
cmp    $0x0,%rax
je     1213 <conf_parse_line+0x63>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    11ec <conf_parse_line+0x3c>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x23,%eax
je     1233 <conf_parse_line+0x83>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3b,%eax
jne    1238 <conf_parse_line+0x88>
jmp    16f9 <conf_parse_line+0x549>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5b,%eax
jne    151c <conf_parse_line+0x36c>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%edi
call   1070 <isblank@plt>
cmp    $0x0,%rax
je     127b <conf_parse_line+0xcb>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1254 <conf_parse_line+0xa4>
movq   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%rax
cmp    -0x18(%rbp),%rax
jae    12c1 <conf_parse_line+0x111>
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x5d,%eax
jne    12ab <conf_parse_line+0xfb>
jmp    12c1 <conf_parse_line+0x111>
jmp    12b0 <conf_parse_line+0x100>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
jmp    1283 <conf_parse_line+0xd3>
cmpq   $0x0,0x2db7(%rip)
je     12db <conf_parse_line+0x12b>
mov    0x2daa(%rip),%rdi
call   1030 <free@plt>
mov    -0x30(%rbp),%rax
cmp    -0x18(%rbp),%rax
jne    130d <conf_parse_line+0x15d>
mov    0x2da1(%rip),%esi
lea    0xd0a(%rip),%rdi
mov    $0x0,%al
call   10b0 <xlog_warn@plt>
movq   $0x0,0x2d78(%rip)
jmp    16f9 <conf_parse_line+0x549>
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
movq   $0x0,-0x40(%rbp)
mov    -0x20(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x41(%rbp)
je     134a <conf_parse_line+0x19a>
mov    -0x20(%rbp),%rax
movsbl (%rax),%edi
call   1070 <isblank@plt>
cmp    $0x0,%rax
setne  %al
xor    $0xff,%al
mov    %al,-0x41(%rbp)
mov    -0x41(%rbp),%al
test   $0x1,%al
jne    135a <conf_parse_line+0x1aa>
jmp    1377 <conf_parse_line+0x1c7>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    131d <conf_parse_line+0x16d>
mov    -0x20(%rbp),%rax
cmpb   $0x0,(%rax)
je     138c <conf_parse_line+0x1dc>
mov    -0x40(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
add    $0x1,%rdi
call   10c0 <malloc@plt>
mov    %rax,0x2ce0(%rip)
cmpq   $0x0,0x2cd8(%rip)
jne    13cb <conf_parse_line+0x21b>
mov    0x2cdc(%rip),%esi
mov    -0x30(%rbp),%rdx
lea    0xc8a(%rip),%rdi
mov    $0x0,%al
call   10b0 <xlog_warn@plt>
jmp    16f9 <conf_parse_line+0x549>
mov    0x2cae(%rip),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x30(%rbp),%rdx
call   1040 <strncpy@plt>
mov    0x2c9a(%rip),%rax
mov    -0x30(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
cmpq   $0x0,0x2c92(%rip)
je     1408 <conf_parse_line+0x258>
mov    0x2c85(%rip),%rdi
call   1030 <free@plt>
movq   $0x0,0x2c75(%rip)
mov    -0x20(%rbp),%rdi
mov    $0x22,%esi
call   1060 <strchr@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    1435 <conf_parse_line+0x285>
jmp    16f9 <conf_parse_line+0x549>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x42(%rbp)
je     147f <conf_parse_line+0x2cf>
mov    -0x28(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x22,%ecx
mov    %al,-0x42(%rbp)
je     147f <conf_parse_line+0x2cf>
mov    -0x28(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5d,%eax
setne  %al
mov    %al,-0x42(%rbp)
mov    -0x42(%rbp),%al
test   $0x1,%al
jne    148f <conf_parse_line+0x2df>
jmp    14a0 <conf_parse_line+0x2f0>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    1445 <conf_parse_line+0x295>
mov    -0x28(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     14c0 <conf_parse_line+0x310>
mov    -0x28(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5d,%eax
jne    14d9 <conf_parse_line+0x329>
mov    0x2bca(%rip),%esi
lea    0xba5(%rip),%rdi
mov    $0x0,%al
call   10b0 <xlog_warn@plt>
jmp    1517 <conf_parse_line+0x367>
mov    -0x28(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x10(%rbp),%rdi
call   10d0 <strdup@plt>
mov    %rax,0x2b98(%rip)
cmpq   $0x0,0x2b90(%rip)
jne    1512 <conf_parse_line+0x362>
mov    0x2b8c(%rip),%esi
lea    0xbb0(%rip),%rdi
mov    $0x0,%al
call   10b0 <xlog_warn@plt>
jmp    1517 <conf_parse_line+0x367>
jmp    16f9 <conf_parse_line+0x549>
movq   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%rax
cmp    -0x18(%rbp),%rax
jae    16b8 <conf_parse_line+0x508>
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x3d,%eax
jne    16a2 <conf_parse_line+0x4f2>
cmpq   $0x0,0x2b31(%rip)
jne    156e <conf_parse_line+0x3be>
mov    0x2b35(%rip),%esi
lea    0xb80(%rip),%rdi
mov    $0x0,%al
call   10b0 <xlog_warn@plt>
jmp    16f9 <conf_parse_line+0x549>
mov    -0x10(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xb9d(%rip),%rsi
call   10a0 <strcspn@plt>
mov    %rax,%rcx
mov    -0x58(%rbp),%rax
movb   $0x0,(%rax,%rcx,1)
mov    -0x10(%rbp),%rax
add    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
mov    -0x10(%rbp),%rdi
add    -0x30(%rbp),%rdi
add    $0x1,%rdi
lea    0xb6e(%rip),%rsi
call   1080 <strspn@plt>
mov    %eax,%ecx
mov    -0x50(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
movq   $0x0,-0x38(%rbp)
mov    -0x20(%rbp),%rax
mov    -0x38(%rbp),%rcx
mov    %rcx,%rdx
add    $0x1,%rdx
mov    %rdx,-0x38(%rbp)
cmpb   $0x0,(%rax,%rcx,1)
je     15f3 <conf_parse_line+0x443>
jmp    15d1 <conf_parse_line+0x421>
movq   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%rax
cmp    -0x38(%rbp),%rax
jae    1675 <conf_parse_line+0x4c5>
mov    -0x20(%rbp),%rax
mov    -0x40(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x23,%eax
je     164e <conf_parse_line+0x49e>
mov    -0x20(%rbp),%rax
mov    -0x40(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x3b,%eax
je     164e <conf_parse_line+0x49e>
mov    -0x20(%rbp),%rax
mov    -0x40(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1090 <isspace@plt>
cmp    $0x0,%rax
je     165f <conf_parse_line+0x4af>
mov    -0x20(%rbp),%rax
mov    -0x40(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
jmp    1675 <conf_parse_line+0x4c5>
jmp    1664 <conf_parse_line+0x4b4>
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    15fb <conf_parse_line+0x44b>
mov    -0x4(%rbp),%edi
mov    0x2a01(%rip),%rsi
mov    0x2a02(%rip),%rdx
mov    -0x10(%rbp),%rcx
mov    -0x20(%rbp),%r8
xor    %r9d,%r9d
movl   $0x0,(%rsp)
call   1050 <conf_set@plt>
jmp    16f9 <conf_parse_line+0x549>
jmp    16a7 <conf_parse_line+0x4f7>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
jmp    1524 <conf_parse_line+0x374>
mov    -0x10(%rbp),%rdi
lea    0xa5f(%rip),%rsi
call   1080 <strspn@plt>
cltq
mov    %rax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%rcx
cmpb   $0x0,(%rax,%rcx,1)
je     16f4 <conf_parse_line+0x544>
mov    0x29aa(%rip),%esi
lea    0xa38(%rip),%rdi
mov    $0x0,%al
call   10b0 <xlog_warn@plt>
jmp    16f9 <conf_parse_line+0x549>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<conf_parse_line>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
addl   $0x1,0x2ecd(%rip)
mov    (%rsi),%al
test   %al,%al
je     14aa <conf_parse_line+0x2fa>
mov    %rdx,%r15
mov    %rsi,%rbx
mov    %edi,%r14d
movsbl %al,%edi
nopl   0x0(%rax)
call   1070 <isblank@plt>
test   %rax,%rax
je     11f4 <conf_parse_line+0x44>
movsbl 0x1(%rbx),%edi
add    $0x1,%rbx
jmp    11e0 <conf_parse_line+0x30>
mov    (%rbx),%al
cmp    $0x23,%al
je     14aa <conf_parse_line+0x2fa>
cmp    $0x3b,%al
je     14aa <conf_parse_line+0x2fa>
cmp    $0x5b,%al
jne    127d <conf_parse_line+0xcd>
nopw   0x0(%rax,%rax,1)
movsbl 0x1(%rbx),%edi
add    $0x1,%rbx
call   1070 <isblank@plt>
test   %rax,%rax
jne    1210 <conf_parse_line+0x60>
xor    %r12d,%r12d
test   %r15,%r15
je     1243 <conf_parse_line+0x93>
nopw   0x0(%rax,%rax,1)
cmpb   $0x5d,(%rbx,%r12,1)
je     1243 <conf_parse_line+0x93>
add    $0x1,%r12
cmp    %r12,%r15
jne    1230 <conf_parse_line+0x80>
mov    %r15,%r12
mov    0x2e36(%rip),%rdi
test   %rdi,%rdi
je     1254 <conf_parse_line+0xa4>
call   1030 <free@plt>
cmp    %r15,%r12
jne    128e <conf_parse_line+0xde>
mov    0x2e31(%rip),%esi
lea    0xd9a(%rip),%rdi
xor    %eax,%eax
call   10b0 <xlog_warn@plt>
movq   $0x0,0x2e08(%rip)
jmp    14aa <conf_parse_line+0x2fa>
test   %r15,%r15
je     1385 <conf_parse_line+0x1d5>
cmp    $0x3d,%al
jne    12c9 <conf_parse_line+0x119>
xor    %ebp,%ebp
jmp    12e7 <conf_parse_line+0x137>
mov    (%rbx),%al
mov    %rbx,%r14
test   %al,%al
je     13d1 <conf_parse_line+0x221>
xor    %ebp,%ebp
nopl   (%rax)
movsbl %al,%edi
call   1070 <isblank@plt>
test   %rax,%rax
jne    13c4 <conf_parse_line+0x214>
movzbl 0x1(%rbx,%rbp,1),%eax
add    $0x1,%rbp
test   %al,%al
jne    12a0 <conf_parse_line+0xf0>
add    %rbx,%rbp
mov    %rbp,%r14
jmp    13d1 <conf_parse_line+0x221>
add    $0xffffffffffffffff,%r15
xor    %eax,%eax
nop
cmp    %rax,%r15
je     1385 <conf_parse_line+0x1d5>
lea    0x1(%rax),%rbp
cmpb   $0x3d,0x1(%rbx,%rax,1)
mov    %rbp,%rax
jne    12d0 <conf_parse_line+0x120>
cmpq   $0x0,0x2d91(%rip)
je     13b2 <conf_parse_line+0x202>
lea    (%rbx,%rbp,1),%r15
lea    0xe1e(%rip),%rsi
mov    %rbx,%rdi
call   10a0 <strcspn@plt>
movb   $0x0,(%rbx,%rax,1)
lea    (%rbx,%rbp,1),%rdi
add    $0x1,%rdi
lea    0xe07(%rip),%rsi
call   1080 <strspn@plt>
cltq
add    %rax,%r15
add    $0x1,%r15
mov    $0xffffffffffffffff,%rbp
cmpb   $0x0,0x1(%r15,%rbp,1)
lea    0x1(%rbp),%rbp
jne    1330 <conf_parse_line+0x180>
cmp    $0xffffffffffffffff,%rbp
je     1484 <conf_parse_line+0x2d4>
mov    $0xffffffffffffffff,%r12
nopl   (%rax)
movzbl 0x1(%r15,%r12,1),%eax
cmp    $0x23,%al
je     147e <conf_parse_line+0x2ce>
cmp    $0x3b,%al
je     147e <conf_parse_line+0x2ce>
movsbl %al,%edi
call   1090 <isspace@plt>
test   %rax,%rax
jne    147e <conf_parse_line+0x2ce>
add    $0x1,%r12
cmp    %r12,%rbp
jne    1350 <conf_parse_line+0x1a0>
jmp    1484 <conf_parse_line+0x2d4>
lea    0xd96(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strspn@plt>
cltq
cmpb   $0x0,(%rbx,%rax,1)
je     14aa <conf_parse_line+0x2fa>
mov    0x2cea(%rip),%esi
lea    0xd78(%rip),%rdi
jmp    14c4 <conf_parse_line+0x314>
mov    0x2cd8(%rip),%esi
lea    0xd23(%rip),%rdi
jmp    14c4 <conf_parse_line+0x314>
lea    (%rbx,%rbp,1),%r14
cmpb   $0x0,(%rbx,%rbp,1)
je     13d1 <conf_parse_line+0x221>
mov    %rbp,%r12
lea    0x1(%r12),%rdi
call   10c0 <malloc@plt>
mov    %rax,0x2c9e(%rip)
test   %rax,%rax
je     145b <conf_parse_line+0x2ab>
mov    %rax,%rdi
mov    %rbx,%rsi
mov    %r12,%rdx
call   1040 <strncpy@plt>
mov    0x2c84(%rip),%rax
movb   $0x0,(%rax,%r12,1)
mov    0x2c80(%rip),%rdi
test   %rdi,%rdi
je     1412 <conf_parse_line+0x262>
call   1030 <free@plt>
movq   $0x0,0x2c6b(%rip)
mov    %r14,%rdi
mov    $0x22,%esi
call   1060 <strchr@plt>
test   %rax,%rax
je     14aa <conf_parse_line+0x2fa>
add    $0x1,%rax
mov    %rax,%rcx
cs nopw 0x0(%rax,%rax,1)
movzbl (%rcx),%edx
test   %dl,%dl
je     14b7 <conf_parse_line+0x307>
cmp    $0x22,%dl
je     14d7 <conf_parse_line+0x327>
cmp    $0x5d,%dl
je     14b7 <conf_parse_line+0x307>
add    $0x1,%rcx
jmp    1440 <conf_parse_line+0x290>
mov    0x2c2f(%rip),%esi
lea    0xbe1(%rip),%rdi
mov    %r12,%rdx
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    10b0 <xlog_warn@plt>
movb   $0x0,0x1(%r15,%r12,1)
mov    0x2bf5(%rip),%rsi
mov    0x2bf6(%rip),%rdx
movl   $0x0,(%rsp)
mov    %r14d,%edi
mov    %rbx,%rcx
mov    %r15,%r8
xor    %r9d,%r9d
call   1050 <conf_set@plt>
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2bd3(%rip),%esi
lea    0xbae(%rip),%rdi
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    10b0 <xlog_warn@plt>
movb   $0x0,(%rcx)
mov    %rax,%rdi
call   10d0 <strdup@plt>
mov    %rax,0x2b9f(%rip)
test   %rax,%rax
jne    14aa <conf_parse_line+0x2fa>
mov    0x2b9c(%rip),%esi
lea    0xbc0(%rip),%rdi
jmp    14c4 <conf_parse_line+0x314>

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

LLVM IR (-O2):
@conf_parse_line.section = internal unnamed_addr global i8* null
@conf_parse_line.arg = internal unnamed_addr global i8* null
@conf_parse_line.ln = internal unnamed_addr global i32 0
@.str = [73 x i8] c"config file error: line %d: non-matched ']', ignoring until next section\00"
@.str.1 = [41 x i8] c"conf_parse_line: %d: malloc (%lu) failed\00"
@.str.2 = [73 x i8] c"config file error: line %d: non-matched '\22', ignoring until next section\00"
@.str.3 = [39 x i8] c"conf_parse_line: %d: malloc arg failed\00"
@.str.4 = [60 x i8] c"config file error: line %d: ignoring line due to no section\00"
@.str.5 = [4 x i8] c" \09=\00"
@.str.6 = [3 x i8] c" \09\00"
@.str.7 = [28 x i8] c"config file error: line %d:\00"
define void @conf_parse_line(i32 %0, i8* %1, i64 %2) {
%4 = load i32, i32* @conf_parse_line.ln
%5 = add nsw i32 %4, 1
store i32 %5, i32* @conf_parse_line.ln
%6 = load i8, i8* %1
%7 = icmp eq i8 %6, 0
br i1 %7, label %162, label %8
8: ; preds = %3
%9 = tail call i64 @isblank(i8 signext %6)
%10 = icmp eq i64 %9, 0
br i1 %10, label %17, label %11
11: ; preds = %8, %11
%12 = phi i8* [ %13, %11 ], [ %1, %8 ]
%13 = getelementptr inbounds i8, i8* %12, i64 1
%14 = load i8, i8* %13
%15 = tail call i64 @isblank(i8 signext %14)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %11
17: ; preds = %11, %8
%18 = phi i8* [ %1, %8 ], [ %13, %11 ]
%19 = load i8, i8* %18
switch i8 %19, label %20 [
i8 35, label %162
i8 59, label %162
i8 91, label %24
]
20: ; preds = %17
%21 = icmp eq i64 %2, 0
br i1 %21, label %153, label %22
22: ; preds = %20
%23 = icmp eq i8 %19, 61
br i1 %23, label %106, label %145
24: ; preds = %17, %24
%25 = phi i8* [ %26, %24 ], [ %18, %17 ]
%26 = getelementptr inbounds i8, i8* %25, i64 1
%27 = load i8, i8* %26
%28 = tail call i64 @isblank(i8 signext %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %24
30: ; preds = %24
%31 = icmp eq i64 %2, 0
br i1 %31, label %40, label %32
32: ; preds = %30, %37
%33 = phi i64 [ %38, %37 ], [ 0, %30 ]
%34 = getelementptr inbounds i8, i8* %26, i64 %33
%35 = load i8, i8* %34
%36 = icmp eq i8 %35, 93
br i1 %36, label %40, label %37
37: ; preds = %32
%38 = add nuw i64 %33, 1
%39 = icmp eq i64 %38, %2
br i1 %39, label %40, label %32
40: ; preds = %37, %32, %30
%41 = phi i64 [ 0, %30 ], [ %33, %32 ], [ %2, %37 ]
%42 = load i8*, i8** @conf_parse_line.section
%43 = icmp eq i8* %42, null
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = tail call i32 @free(i8* %42)
br label %46
46: ; preds = %44, %40
%47 = icmp eq i64 %41, %2
br i1 %47, label %51, label %48
48: ; preds = %46
%49 = load i8, i8* %26
%50 = icmp eq i8 %49, 0
br i1 %50, label %68, label %54
51: ; preds = %46
%52 = load i32, i32* @conf_parse_line.ln
%53 = tail call i32 (i8*, i32, ...) @xlog_warn(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str, i64 0, i64 0), i32 %52)
store i8* null, i8** @conf_parse_line.section
br label %162
54: ; preds = %48, %60
%55 = phi i8 [ %63, %60 ], [ %49, %48 ]
%56 = phi i64 [ %62, %60 ], [ 0, %48 ]
%57 = phi i8* [ %61, %60 ], [ %26, %48 ]
%58 = tail call i64 @isblank(i8 signext %55)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %65
60: ; preds = %54
%61 = getelementptr inbounds i8, i8* %57, i64 1
%62 = add i64 %56, 1
%63 = load i8, i8* %61
%64 = icmp eq i8 %63, 0
br i1 %64, label %68, label %54
65: ; preds = %54
%66 = load i8, i8* %57
%67 = icmp eq i8 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %60, %48, %65
%69 = phi i8* [ %57, %65 ], [ %26, %48 ], [ %61, %60 ]
br label %70
70: ; preds = %65, %68
%71 = phi i8* [ %69, %68 ], [ %57, %65 ]
%72 = phi i64 [ %41, %68 ], [ %56, %65 ]
%73 = add i64 %72, 1
%74 = tail call i8* @malloc(i64 %73)
store i8* %74, i8** @conf_parse_line.section
%75 = icmp eq i8* %74, null
br i1 %75, label %76, label %79
76: ; preds = %70
%77 = load i32, i32* @conf_parse_line.ln
%78 = tail call i32 (i8*, i32, ...) @xlog_warn(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.1, i64 0, i64 0), i32 %77, i64 %72)
br label %162
79: ; preds = %70
%80 = tail call i32 @strncpy(i8* %74, i8* %26, i64 %72)
%81 = load i8*, i8** @conf_parse_line.section
%82 = getelementptr inbounds i8, i8* %81, i64 %72
store i8 0, i8* %82
%83 = load i8*, i8** @conf_parse_line.arg
%84 = icmp eq i8* %83, null
br i1 %84, label %87, label %85
85: ; preds = %79
%86 = tail call i32 @free(i8* %83)
br label %87
87: ; preds = %85, %79
store i8* null, i8** @conf_parse_line.arg
%88 = tail call i8* @strchr(i8* %71, i8 signext 34)
%89 = icmp eq i8* %88, null
br i1 %89, label %162, label %90
90: ; preds = %87
%91 = getelementptr inbounds i8, i8* %88, i64 1
br label %92
92: ; preds = %95, %90
%93 = phi i8* [ %91, %90 ], [ %96, %95 ]
%94 = load i8, i8* %93
switch i8 %94, label %95 [
i8 0, label %97
i8 93, label %97
i8 34, label %100
]
95: ; preds = %92
%96 = getelementptr inbounds i8, i8* %93, i64 1
br label %92
97: ; preds = %92, %92
%98 = load i32, i32* @conf_parse_line.ln
%99 = tail call i32 (i8*, i32, ...) @xlog_warn(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.2, i64 0, i64 0), i32 %98)
br label %162
100: ; preds = %92
store i8 0, i8* %93
%101 = tail call i8* @strdup(i8* %91)
store i8* %101, i8** @conf_parse_line.arg
%102 = icmp eq i8* %101, null
br i1 %102, label %103, label %162
103: ; preds = %100
%104 = load i32, i32* @conf_parse_line.ln
%105 = tail call i32 (i8*, i32, ...) @xlog_warn(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0), i32 %104)
br label %162
106: ; preds = %149, %22
%107 = phi i64 [ 0, %22 ], [ %147, %149 ]
%108 = load i8*, i8** @conf_parse_line.section
%109 = icmp eq i8* %108, null
br i1 %109, label %110, label %113
110: ; preds = %106
%111 = load i32, i32* @conf_parse_line.ln
%112 = tail call i32 (i8*, i32, ...) @xlog_warn(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0), i32 %111)
br label %162
113: ; preds = %106
%114 = getelementptr inbounds i8, i8* %18, i64 %107
%115 = tail call i64 @strcspn(i8* %18, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%116 = getelementptr inbounds i8, i8* %18, i64 %115
store i8 0, i8* %116
%117 = getelementptr inbounds i8, i8* %114, i64 1
%118 = tail call i32 @strspn(i8* %117, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, i8* %117, i64 %119
br label %121
121: ; preds = %121, %113
%122 = phi i64 [ 0, %113 ], [ %123, %121 ]
%123 = add i64 %122, 1
%124 = getelementptr inbounds i8, i8* %120, i64 %122
%125 = load i8, i8* %124
%126 = icmp eq i8 %125, 0
br i1 %126, label %127, label %121
127: ; preds = %121
%128 = icmp eq i64 %123, 0
br i1 %128, label %141, label %129
129: ; preds = %127, %138
%130 = phi i64 [ %139, %138 ], [ 0, %127 ]
%131 = getelementptr inbounds i8, i8* %120, i64 %130
%132 = load i8, i8* %131
switch i8 %132, label %133 [
i8 35, label %136
i8 59, label %136
]
133: ; preds = %129
%134 = tail call i64 @isspace(i8 signext %132)
%135 = icmp eq i64 %134, 0
br i1 %135, label %138, label %136
136: ; preds = %129, %129, %133
%137 = getelementptr inbounds i8, i8* %120, i64 %130
store i8 0, i8* %137
br label %141
138: ; preds = %133
%139 = add nuw i64 %130, 1
%140 = icmp eq i64 %130, %122
br i1 %140, label %141, label %129
141: ; preds = %138, %127, %136
%142 = load i8*, i8** @conf_parse_line.section
%143 = load i8*, i8** @conf_parse_line.arg
%144 = tail call i32 @conf_set(i32 %0, i8* %142, i8* %143, i8* %18, i8* %120, i32 0, i32 0)
br label %162
145: ; preds = %22, %149
%146 = phi i64 [ %147, %149 ], [ 0, %22 ]
%147 = add nuw i64 %146, 1
%148 = icmp eq i64 %147, %2
br i1 %148, label %153, label %149
149: ; preds = %145
%150 = getelementptr inbounds i8, i8* %18, i64 %147
%151 = load i8, i8* %150
%152 = icmp eq i8 %151, 61
br i1 %152, label %106, label %145
153: ; preds = %145, %20
%154 = tail call i32 @strspn(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i8, i8* %18, i64 %155
%157 = load i8, i8* %156
%158 = icmp eq i8 %157, 0
br i1 %158, label %162, label %159
159: ; preds = %153
%160 = load i32, i32* @conf_parse_line.ln
%161 = tail call i32 (i8*, i32, ...) @xlog_warn(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), i32 %160)
br label %162
162: ; preds = %153, %159, %97, %103, %100, %87, %17, %17, %3, %141, %110, %76, %51
ret void
}