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


x86 assembly (clang, -O0):
<conf_parse_line>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x23,%eax
je     11b6 <conf_parse_line+0x36>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3b,%eax
jne    11bb <conf_parse_line+0x3b>
jmp    1429 <conf_parse_line+0x2a9>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5b,%eax
jne    12a1 <conf_parse_line+0x121>
movq   $0x1,-0x30(%rbp)
mov    -0x30(%rbp),%rax
cmp    -0x20(%rbp),%rax
jae    1211 <conf_parse_line+0x91>
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x5d,%eax
jne    11fb <conf_parse_line+0x7b>
jmp    1211 <conf_parse_line+0x91>
jmp    1200 <conf_parse_line+0x80>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
jmp    11d3 <conf_parse_line+0x53>
mov    0x2e50(%rip),%rdi
call   1030 <free@plt>
mov    -0x30(%rbp),%rax
cmp    -0x20(%rbp),%rax
jne    124c <conf_parse_line+0xcc>
mov    -0x14(%rbp),%esi
lea    0xdcb(%rip),%rdi
mov    $0x0,%al
call   1050 <log_print@plt>
movq   $0x0,0x2e21(%rip)
jmp    1429 <conf_parse_line+0x2a9>
mov    -0x30(%rbp),%rdi
call   1090 <malloc@plt>
mov    %rax,0x2e0c(%rip)
cmpq   $0x0,0x2e04(%rip)
jne    1284 <conf_parse_line+0x104>
mov    -0x14(%rbp),%esi
mov    -0x30(%rbp),%rdx
lea    0xdc7(%rip),%rdi
mov    $0x0,%al
call   1050 <log_print@plt>
jmp    1429 <conf_parse_line+0x2a9>
mov    0x2ddd(%rip),%rdi
mov    -0x10(%rbp),%rsi
add    $0x1,%rsi
mov    -0x30(%rbp),%rdx
call   10a0 <strlcpy@plt>
jmp    1429 <conf_parse_line+0x2a9>
movq   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%rax
cmp    -0x20(%rbp),%rax
jae    13f0 <conf_parse_line+0x270>
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x3d,%eax
jne    13da <conf_parse_line+0x25a>
cmpq   $0x0,0x2d94(%rip)
jne    12f0 <conf_parse_line+0x170>
mov    -0x14(%rbp),%esi
lea    0xd84(%rip),%rdi
mov    $0x0,%al
call   1050 <log_print@plt>
jmp    1429 <conf_parse_line+0x2a9>
mov    -0x10(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xd9a(%rip),%rsi
call   1080 <strcspn@plt>
mov    %rax,%rcx
mov    -0x48(%rbp),%rax
movb   $0x0,(%rax,%rcx,1)
mov    -0x10(%rbp),%rax
add    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
mov    -0x10(%rbp),%rdi
add    -0x30(%rbp),%rdi
add    $0x1,%rdi
lea    0xd6b(%rip),%rsi
call   1060 <strspn@plt>
mov    %eax,%ecx
mov    -0x40(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x28(%rbp)
mov    -0x20(%rbp),%rax
mov    -0x28(%rbp),%rcx
mov    -0x10(%rbp),%rdx
sub    %rdx,%rcx
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,-0x34(%rbp)
xor    %eax,%eax
cmpl   $0x0,-0x34(%rbp)
mov    %al,-0x49(%rbp)
jle    138e <conf_parse_line+0x20e>
mov    -0x28(%rbp),%rax
movslq -0x34(%rbp),%rcx
movzbl (%rax,%rcx,1),%edi
call   1070 <isspace@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x49(%rbp)
mov    -0x49(%rbp),%al
test   $0x1,%al
jne    139e <conf_parse_line+0x21e>
jmp    13b8 <conf_parse_line+0x238>
mov    -0x28(%rbp),%rax
movslq -0x34(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x34(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x34(%rbp)
jmp    1364 <conf_parse_line+0x1e4>
mov    -0x4(%rbp),%edi
mov    0x2ca6(%rip),%rsi
mov    -0x10(%rbp),%rdx
mov    -0x28(%rbp),%rcx
xor    %r9d,%r9d
mov    %r9d,%r8d
call   1040 <conf_set@plt>
jmp    1429 <conf_parse_line+0x2a9>
jmp    13df <conf_parse_line+0x25f>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
jmp    12a9 <conf_parse_line+0x129>
mov    -0x10(%rbp),%rdi
lea    0xca6(%rip),%rsi
call   1060 <strspn@plt>
cltq
mov    %rax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%rcx
cmpb   $0x0,(%rax,%rcx,1)
je     1429 <conf_parse_line+0x2a9>
mov    -0x14(%rbp),%esi
lea    0xc82(%rip),%rdi
mov    $0x0,%al
call   1050 <log_print@plt>
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    (%rsi),%al
cmp    $0x23,%al
je     1348 <conf_parse_line+0x1c8>
cmp    $0x3b,%al
je     1348 <conf_parse_line+0x1c8>
mov    %rcx,%r12
mov    %edx,%r15d
mov    %rsi,%rbx
cmp    $0x5b,%al
jne    11dd <conf_parse_line+0x5d>
mov    $0x1,%ebp
cmp    $0x2,%r12
jb     11f4 <conf_parse_line+0x74>
mov    $0x1,%ebp
nopw   0x0(%rax,%rax,1)
cmpb   $0x5d,(%rbx,%rbp,1)
je     11f4 <conf_parse_line+0x74>
add    $0x1,%rbp
cmp    %rbp,%r12
jne    11c0 <conf_parse_line+0x40>
mov    0x2e92(%rip),%rdi
call   1030 <free@plt>
jmp    1205 <conf_parse_line+0x85>
test   %r12,%r12
je     1328 <conf_parse_line+0x1a8>
mov    %edi,%r14d
cmp    $0x3d,%al
jne    125e <conf_parse_line+0xde>
xor    %ebp,%ebp
jmp    1287 <conf_parse_line+0x107>
mov    0x2e6d(%rip),%rdi
call   1030 <free@plt>
cmp    %r12,%rbp
jne    1226 <conf_parse_line+0xa6>
lea    0xdf4(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1050 <log_print@plt>
movq   $0x0,0x2e47(%rip)
jmp    1348 <conf_parse_line+0x1c8>
mov    %rbp,%rdi
call   1090 <malloc@plt>
mov    %rax,0x2e33(%rip)
test   %rax,%rax
je     1376 <conf_parse_line+0x1f6>
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
cs nopw 0x0(%rax,%rax,1)
nop
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     1357 <conf_parse_line+0x1d7>
lea    (%rbx,%rbp,1),%r15
lea    0xdfb(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcspn@plt>
movb   $0x0,(%rbx,%rax,1)
lea    (%rbx,%rbp,1),%rdi
add    $0x1,%rdi
lea    0xde4(%rip),%rsi
call   1060 <strspn@plt>
cltq
add    %rax,%r15
add    $0x1,%r15
add    %ebx,%r12d
mov    %r15d,%eax
not    %eax
add    %r12d,%eax
test   %eax,%eax
jle    1303 <conf_parse_line+0x183>
mov    %eax,%ebp
nopl   0x0(%rax)
movzbl (%r15,%rbp,1),%edi
call   1070 <isspace@plt>
test   %rax,%rax
je     12fc <conf_parse_line+0x17c>
movb   $0x0,(%r15,%rbp,1)
add    $0xffffffffffffffff,%rbp
test   %ebp,%ebp
jg     12e0 <conf_parse_line+0x160>
mov    0x2d65(%rip),%r13
mov    %r14d,%edi
mov    %r13,%rsi
mov    %rbx,%rdx
mov    %r15,%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    0xd72(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strspn@plt>
cltq
cmpb   $0x0,(%rbx,%rax,1)
je     1348 <conf_parse_line+0x1c8>
lea    0xd5e(%rip),%rdi
jmp    135e <conf_parse_line+0x1de>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xd0a(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <log_print@plt>
lea    0xcc2(%rip),%rdi
mov    %r15d,%esi
mov    %rbp,%rdx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <log_print@plt>

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

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