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


x86 assembly (clang, -O0):
<conf_parse_line>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    0x2ed7(%rip),%eax
add    $0x1,%eax
mov    %eax,0x2ece(%rip)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x23,%eax
je     11c2 <conf_parse_line+0x42>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3b,%eax
jne    11c7 <conf_parse_line+0x47>
jmp    1454 <conf_parse_line+0x2d4>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5b,%eax
jne    12c1 <conf_parse_line+0x141>
movq   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%rax
cmp    -0x18(%rbp),%rax
jae    121d <conf_parse_line+0x9d>
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x5d,%eax
jne    1207 <conf_parse_line+0x87>
jmp    121d <conf_parse_line+0x9d>
jmp    120c <conf_parse_line+0x8c>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    11df <conf_parse_line+0x5f>
cmpq   $0x0,0x2e43(%rip)
je     1237 <conf_parse_line+0xb7>
mov    0x2e36(%rip),%rdi
call   1030 <free@plt>
mov    -0x28(%rbp),%rax
cmp    -0x18(%rbp),%rax
jne    1269 <conf_parse_line+0xe9>
mov    0x2e25(%rip),%esi
lea    0xdae(%rip),%rdi
mov    $0x0,%al
call   1050 <warnx@plt>
movq   $0x0,0x2e04(%rip)
jmp    1454 <conf_parse_line+0x2d4>
mov    -0x28(%rbp),%rdi
call   1090 <malloc@plt>
mov    %rax,0x2def(%rip)
cmpq   $0x0,0x2de7(%rip)
jne    12a4 <conf_parse_line+0x124>
mov    0x2de3(%rip),%esi
mov    -0x28(%rbp),%rdx
lea    0xda9(%rip),%rdi
mov    $0x0,%al
call   1050 <warnx@plt>
jmp    1454 <conf_parse_line+0x2d4>
mov    0x2dbd(%rip),%rdi
mov    -0x10(%rbp),%rsi
add    $0x1,%rsi
mov    -0x28(%rbp),%rdx
call   10a0 <strlcpy@plt>
jmp    1454 <conf_parse_line+0x2d4>
movq   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%rax
cmp    -0x18(%rbp),%rax
jae    1413 <conf_parse_line+0x293>
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x3d,%eax
jne    13fd <conf_parse_line+0x27d>
cmpq   $0x0,0x2d74(%rip)
jne    1313 <conf_parse_line+0x193>
mov    0x2d70(%rip),%esi
lea    0xd63(%rip),%rdi
mov    $0x0,%al
call   1050 <warnx@plt>
jmp    1454 <conf_parse_line+0x2d4>
mov    -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xd79(%rip),%rsi
call   1080 <strcspn@plt>
mov    %rax,%rcx
mov    -0x40(%rbp),%rax
movb   $0x0,(%rax,%rcx,1)
mov    -0x10(%rbp),%rax
add    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
mov    -0x10(%rbp),%rdi
add    -0x28(%rbp),%rdi
add    $0x1,%rdi
lea    0xd4a(%rip),%rsi
call   1060 <strspn@plt>
mov    %eax,%ecx
mov    -0x38(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    -0x10(%rbp),%rdx
sub    %rdx,%rcx
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,-0x2c(%rbp)
xor    %eax,%eax
cmpl   $0x0,-0x2c(%rbp)
mov    %al,-0x41(%rbp)
jle    13b1 <conf_parse_line+0x231>
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1070 <isspace@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x41(%rbp)
mov    -0x41(%rbp),%al
test   $0x1,%al
jne    13c1 <conf_parse_line+0x241>
jmp    13db <conf_parse_line+0x25b>
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x2c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x2c(%rbp)
jmp    1387 <conf_parse_line+0x207>
mov    -0x4(%rbp),%edi
mov    0x2c83(%rip),%rsi
mov    -0x10(%rbp),%rdx
mov    -0x20(%rbp),%rcx
xor    %r9d,%r9d
mov    %r9d,%r8d
call   1040 <conf_set@plt>
jmp    1454 <conf_parse_line+0x2d4>
jmp    1402 <conf_parse_line+0x282>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    12c9 <conf_parse_line+0x149>
mov    -0x10(%rbp),%rdi
lea    0xc85(%rip),%rsi
call   1060 <strspn@plt>
cltq
mov    %rax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%rcx
cmpb   $0x0,(%rax,%rcx,1)
je     144f <conf_parse_line+0x2cf>
mov    0x2c2f(%rip),%esi
lea    0xc5e(%rip),%rdi
mov    $0x0,%al
call   1050 <warnx@plt>
jmp    1454 <conf_parse_line+0x2d4>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<conf_parse_line>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    0x2ede(%rip),%r14d
add    $0x1,%r14d
mov    %r14d,0x2ed3(%rip)
mov    (%rsi),%al
cmp    $0x23,%al
je     1348 <conf_parse_line+0x1c8>
cmp    $0x3b,%al
je     1348 <conf_parse_line+0x1c8>
mov    %rdx,%r12
mov    %rsi,%rbx
cmp    $0x5b,%al
jne    1219 <conf_parse_line+0x99>
mov    $0x1,%ebp
cmp    $0x2,%r12
jb     11e2 <conf_parse_line+0x62>
mov    $0x1,%ebp
nopl   0x0(%rax)
cmpb   $0x5d,(%rbx,%rbp,1)
je     11e2 <conf_parse_line+0x62>
add    $0x1,%rbp
cmp    %rbp,%r12
jne    11d0 <conf_parse_line+0x50>
mov    %r12,%rbp
mov    0x2e7f(%rip),%rdi
test   %rdi,%rdi
je     11f3 <conf_parse_line+0x73>
call   1030 <free@plt>
cmp    %r12,%rbp
jne    122d <conf_parse_line+0xad>
lea    0xe01(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1050 <warnx@plt>
movq   $0x0,0x2e54(%rip)
jmp    1348 <conf_parse_line+0x1c8>
test   %r12,%r12
je     1328 <conf_parse_line+0x1a8>
mov    %edi,%r15d
cmp    $0x3d,%al
jne    1265 <conf_parse_line+0xe5>
xor    %ebp,%ebp
jmp    1287 <conf_parse_line+0x107>
mov    %rbp,%rdi
call   1090 <malloc@plt>
mov    %rax,0x2e2c(%rip)
test   %rax,%rax
je     1357 <conf_parse_line+0x1d7>
add    $0x1,%rbx
mov    %rax,%rdi
mov    %rbx,%rsi
mov    %rbp,%rdx
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    10a0 <strlcpy@plt>
lea    -0x1(%r12),%rax
xor    %ecx,%ecx
nopl   0x0(%rax)
cmp    %rcx,%rax
je     1328 <conf_parse_line+0x1a8>
lea    0x1(%rcx),%rbp
cmpb   $0x3d,0x1(%rbx,%rcx,1)
mov    %rbp,%rcx
jne    1270 <conf_parse_line+0xf0>
mov    0x2dda(%rip),%r13
test   %r13,%r13
je     1379 <conf_parse_line+0x1f9>
lea    (%rbx,%rbp,1),%r14
lea    0xdfd(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcspn@plt>
movb   $0x0,(%rbx,%rax,1)
lea    (%rbx,%rbp,1),%rdi
add    $0x1,%rdi
lea    0xde6(%rip),%rsi
call   1060 <strspn@plt>
cltq
add    %rax,%r14
add    $0x1,%r14
add    %ebx,%r12d
mov    %r14d,%eax
not    %eax
add    %r12d,%eax
test   %eax,%eax
jle    1303 <conf_parse_line+0x183>
mov    %eax,%ebp
nopl   0x0(%rax)
movsbl (%r14,%rbp,1),%edi
call   1070 <isspace@plt>
test   %rax,%rax
je     12fc <conf_parse_line+0x17c>
movb   $0x0,(%r14,%rbp,1)
add    $0xffffffffffffffff,%rbp
test   %ebp,%ebp
jg     12e0 <conf_parse_line+0x160>
mov    0x2d65(%rip),%r13
mov    %r15d,%edi
mov    %r13,%rsi
mov    %rbx,%rdx
mov    %r14,%rcx
xor    %r8d,%r8d
xor    %r9d,%r9d
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <conf_set@plt>
lea    0xd74(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strspn@plt>
cltq
cmpb   $0x0,(%rbx,%rax,1)
je     1348 <conf_parse_line+0x1c8>
lea    0xd60(%rip),%rdi
jmp    1380 <conf_parse_line+0x200>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xce3(%rip),%rdi
mov    %r14d,%esi
mov    %rbp,%rdx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <warnx@plt>
lea    0xcea(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <warnx@plt>

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

LLVM IR (-O2):
@conf_parse_line.section = internal unnamed_addr global i8* null
@conf_parse_line.ln = internal unnamed_addr global i32 0
@.str = [65 x i8] c"conf_parse_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 = [53 x i8] c"conf_parse_line: %d: ignoring line due to no section\00"
@.str.3 = [4 x i8] c" \09=\00"
@.str.4 = [3 x i8] c" \09\00"
@.str.5 = [34 x i8] c"conf_parse_line: %d: syntax error\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
switch i8 %6, label %9 [
i8 35, label %93
i8 59, label %93
i8 91, label %7
]
7: ; preds = %3
%8 = icmp ugt i64 %2, 1
br i1 %8, label %13, label %21
9: ; preds = %3
%10 = icmp eq i64 %2, 0
br i1 %10, label %85, label %11
11: ; preds = %9
%12 = icmp eq i8 %6, 61
br i1 %12, label %39, label %77
13: ; preds = %7, %18
%14 = phi i64 [ %19, %18 ], [ 1, %7 ]
%15 = getelementptr inbounds i8, i8* %1, i64 %14
%16 = load i8, i8* %15
%17 = icmp eq i8 %16, 93
br i1 %17, label %21, label %18
18: ; preds = %13
%19 = add nuw i64 %14, 1
%20 = icmp eq i64 %19, %2
br i1 %20, label %21, label %13
21: ; preds = %18, %13, %7
%22 = phi i64 [ 1, %7 ], [ %14, %13 ], [ %2, %18 ]
%23 = load i8*, i8** @conf_parse_line.section
%24 = icmp eq i8* %23, null
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = tail call i32 @free(i8* %23)
br label %27
27: ; preds = %25, %21
%28 = icmp eq i64 %22, %2
br i1 %28, label %29, label %31
29: ; preds = %27
%30 = tail call i32 (i8*, i32, ...) @warnx(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str, i64 0, i64 0), i32 %5)
store i8* null, i8** @conf_parse_line.section
br label %93
31: ; preds = %27
%32 = tail call i8* @malloc(i64 %22)
store i8* %32, i8** @conf_parse_line.section
%33 = icmp eq i8* %32, null
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = tail call i32 (i8*, i32, ...) @warnx(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.1, i64 0, i64 0), i32 %5, i64 %22)
br label %93
36: ; preds = %31
%37 = getelementptr inbounds i8, i8* %1, i64 1
%38 = tail call i32 @strlcpy(i8* %32, i8* %37, i64 %22)
br label %93
39: ; preds = %81, %11
%40 = phi i64 [ 0, %11 ], [ %79, %81 ]
%41 = load i8*, i8** @conf_parse_line.section
%42 = icmp eq i8* %41, null
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = tail call i32 (i8*, i32, ...) @warnx(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0), i32 %5)
br label %93
45: ; preds = %39
%46 = getelementptr inbounds i8, i8* %1, i64 %40
%47 = tail call i64 @strcspn(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%48 = getelementptr inbounds i8, i8* %1, i64 %47
store i8 0, i8* %48
%49 = getelementptr inbounds i8, i8* %46, i64 1
%50 = tail call i32 @strspn(i8* %49, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, i8* %49, i64 %51
%53 = ptrtoint i8* %52 to i64
%54 = ptrtoint i8* %1 to i64
%55 = add i64 %54, %2
%56 = sub i64 %55, %53
%57 = trunc i64 %56 to i32
%58 = add i32 %57, -1
%59 = icmp sgt i32 %58, 0
br i1 %59, label %60, label %74
60: ; preds = %45
%61 = zext i32 %58 to i64
br label %62
62: ; preds = %60, %68
%63 = phi i64 [ %61, %60 ], [ %69, %68 ]
%64 = getelementptr inbounds i8, i8* %52, i64 %63
%65 = load i8, i8* %64
%66 = tail call i64 @isspace(i8 signext %65)
%67 = icmp eq i64 %66, 0
br i1 %67, label %72, label %68
68: ; preds = %62
store i8 0, i8* %64
%69 = add nsw i64 %63, -1
%70 = trunc i64 %69 to i32
%71 = icmp sgt i32 %70, 0
br i1 %71, label %62, label %72
72: ; preds = %68, %62
%73 = load i8*, i8** @conf_parse_line.section
br label %74
74: ; preds = %72, %45
%75 = phi i8* [ %73, %72 ], [ %41, %45 ]
%76 = tail call i32 @conf_set(i32 %0, i8* %75, i8* %1, i8* %52, i32 0, i32 0)
br label %93
77: ; preds = %11, %81
%78 = phi i64 [ %79, %81 ], [ 0, %11 ]
%79 = add nuw i64 %78, 1
%80 = icmp eq i64 %79, %2
br i1 %80, label %85, label %81
81: ; preds = %77
%82 = getelementptr inbounds i8, i8* %1, i64 %79
%83 = load i8, i8* %82
%84 = icmp eq i8 %83, 61
br i1 %84, label %39, label %77
85: ; preds = %77, %9
%86 = tail call i32 @strspn(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, i8* %1, i64 %87
%89 = load i8, i8* %88
%90 = icmp eq i8 %89, 0
br i1 %90, label %93, label %91
91: ; preds = %85
%92 = tail call i32 (i8*, i32, ...) @warnx(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0), i32 %5)
br label %93
93: ; preds = %85, %91, %3, %3, %74, %43, %36, %34, %29
ret void
}