#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 */
typedef int /*<<< orphan*/ line;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char const *, char *);
char *malloc(scalar_t__);
scalar_t__ strlen(char *);
int /*<<< orphan*/ strncmp(char *, char *, int);
char *_XcursorThemeInherits(const char *full) {
  char line[8192];
  char *result = NULL;
  FILE *f;
  if (!full)
    return NULL;
  f = fopen(full, "r");
  if (f) {
    while (fgets(line, sizeof(line), f)) {
      if (!strncmp(line, "Inherits", 8)) {
        char *l = line + 8;
        char *r;
        while (*l == ' ')
          l++;
        if (*l != '=')
          continue;
        l++;
        while (*l == ' ')
          l++;
        result = malloc(strlen(l) + 1);
        if (result) {
          r = result;
          while (*l) {
            while (((*l) == ';' || (*l) == ',') ||
                   ((*l) == ' ' || (*l) == '\t' || (*l) == '\n'))
              l++;
            if (!*l)
              break;
            if (r != result)
              *r++ = ':';
            while (*l && !((*l) == ' ' || (*l) == '\t' || (*l) == '\n') &&
                   !((*l) == ';' || (*l) == ','))
              *r++ = *l++;
          }
          *r++ = '\0';
        }
        break;
      }
    }
    fclose(f);
  }
  return result;
}


x86 assembly (clang, -O0):
<_XcursorThemeInherits>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2040,%rsp
mov    %rdi,-0x10(%rbp)
movq   $0x0,-0x2018(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    1192 <_XcursorThemeInherits+0x32>
movq   $0x0,-0x8(%rbp)
jmp    150c <_XcursorThemeInherits+0x3ac>
mov    -0x10(%rbp),%rdi
lea    0xe63(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x2020(%rbp)
cmpq   $0x0,-0x2020(%rbp)
je     1501 <_XcursorThemeInherits+0x3a1>
jmp    11bc <_XcursorThemeInherits+0x5c>
lea    -0x2010(%rbp),%rdi
mov    -0x2020(%rbp),%rdx
mov    $0x2000,%esi
call   1060 <fgets@plt>
cmp    $0x0,%rax
je     14f5 <_XcursorThemeInherits+0x395>
lea    -0x2010(%rbp),%rdi
lea    0xe16(%rip),%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    14f0 <_XcursorThemeInherits+0x390>
lea    -0x2010(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x2028(%rbp)
mov    -0x2028(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x20,%eax
jne    123b <_XcursorThemeInherits+0xdb>
mov    -0x2028(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x2028(%rbp)
jmp    1211 <_XcursorThemeInherits+0xb1>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3d,%eax
je     1253 <_XcursorThemeInherits+0xf3>
jmp    11bc <_XcursorThemeInherits+0x5c>
mov    -0x2028(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x2028(%rbp)
mov    -0x2028(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x20,%eax
jne    128f <_XcursorThemeInherits+0x12f>
mov    -0x2028(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x2028(%rbp)
jmp    1265 <_XcursorThemeInherits+0x105>
mov    -0x2028(%rbp),%rdi
call   1050 <strlen@plt>
mov    %rax,%rdi
add    $0x1,%rdi
call   1070 <malloc@plt>
mov    %rax,-0x2018(%rbp)
cmpq   $0x0,-0x2018(%rbp)
je     14eb <_XcursorThemeInherits+0x38b>
mov    -0x2018(%rbp),%rax
mov    %rax,-0x2030(%rbp)
mov    -0x2028(%rbp),%rax
cmpb   $0x0,(%rax)
je     14d3 <_XcursorThemeInherits+0x373>
jmp    12df <_XcursorThemeInherits+0x17f>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%ecx
mov    $0x1,%al
cmp    $0x3b,%ecx
mov    %al,-0x2031(%rbp)
je     136d <_XcursorThemeInherits+0x20d>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%ecx
mov    $0x1,%al
cmp    $0x2c,%ecx
mov    %al,-0x2031(%rbp)
je     136d <_XcursorThemeInherits+0x20d>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%ecx
mov    $0x1,%al
cmp    $0x20,%ecx
mov    %al,-0x2032(%rbp)
je     1361 <_XcursorThemeInherits+0x201>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%ecx
mov    $0x1,%al
cmp    $0x9,%ecx
mov    %al,-0x2032(%rbp)
je     1361 <_XcursorThemeInherits+0x201>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%eax
cmp    $0xa,%eax
sete   %al
mov    %al,-0x2032(%rbp)
mov    -0x2032(%rbp),%al
mov    %al,-0x2031(%rbp)
mov    -0x2031(%rbp),%al
test   $0x1,%al
jne    1380 <_XcursorThemeInherits+0x220>
jmp    1397 <_XcursorThemeInherits+0x237>
mov    -0x2028(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x2028(%rbp)
jmp    12df <_XcursorThemeInherits+0x17f>
mov    -0x2028(%rbp),%rax
cmpb   $0x0,(%rax)
jne    13ac <_XcursorThemeInherits+0x24c>
jmp    14d3 <_XcursorThemeInherits+0x373>
mov    -0x2030(%rbp),%rax
cmp    -0x2018(%rbp),%rax
je     13d8 <_XcursorThemeInherits+0x278>
mov    -0x2030(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x2030(%rbp)
movb   $0x3a,(%rax)
jmp    13dd <_XcursorThemeInherits+0x27d>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x2033(%rbp)
je     1488 <_XcursorThemeInherits+0x328>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x20,%ecx
mov    %al,-0x2033(%rbp)
je     1488 <_XcursorThemeInherits+0x328>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x9,%ecx
mov    %al,-0x2033(%rbp)
je     1488 <_XcursorThemeInherits+0x328>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0xa,%ecx
mov    %al,-0x2033(%rbp)
je     1488 <_XcursorThemeInherits+0x328>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%ecx
mov    $0x1,%al
cmp    $0x3b,%ecx
mov    %al,-0x2034(%rbp)
je     147a <_XcursorThemeInherits+0x31a>
mov    -0x2028(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2c,%eax
sete   %al
mov    %al,-0x2034(%rbp)
mov    -0x2034(%rbp),%al
xor    $0xff,%al
mov    %al,-0x2033(%rbp)
mov    -0x2033(%rbp),%al
test   $0x1,%al
jne    149b <_XcursorThemeInherits+0x33b>
jmp    14ce <_XcursorThemeInherits+0x36e>
mov    -0x2028(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x2028(%rbp)
mov    (%rax),%cl
mov    -0x2030(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x2030(%rbp)
mov    %cl,(%rax)
jmp    13dd <_XcursorThemeInherits+0x27d>
jmp    12ca <_XcursorThemeInherits+0x16a>
mov    -0x2030(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x2030(%rbp)
movb   $0x0,(%rax)
jmp    14f5 <_XcursorThemeInherits+0x395>
jmp    11bc <_XcursorThemeInherits+0x5c>
mov    -0x2020(%rbp),%rdi
call   1040 <fclose@plt>
mov    -0x2018(%rbp),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x2040,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_XcursorThemeInherits>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x2008,%rsp
test   %rdi,%rdi
je     12b5 <_XcursorThemeInherits+0x155>
lea    0xe7f(%rip),%rsi
call   1080 <fopen@plt>
test   %rax,%rax
je     12b5 <_XcursorThemeInherits+0x155>
mov    %rax,%r14
mov    %rsp,%rdi
mov    $0x2000,%esi
mov    %rax,%rdx
call   1060 <fgets@plt>
test   %rax,%rax
je     12ba <_XcursorThemeInherits+0x15a>
lea    0x8(%rsp),%rbp
lea    0xe4b(%rip),%r12
mov    %rsp,%r13
xor    %r15d,%r15d
mov    %r13,%rdi
mov    %r12,%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
mov    %rbp,%rbx
test   %eax,%eax
jne    11ef <_XcursorThemeInherits+0x8f>
jmp    11e4 <_XcursorThemeInherits+0x84>
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%rbx
movzbl (%rbx),%eax
cmp    $0x20,%al
je     11e0 <_XcursorThemeInherits+0x80>
cmp    $0x3d,%al
je     1210 <_XcursorThemeInherits+0xb0>
mov    %r13,%rdi
mov    $0x2000,%esi
mov    %r14,%rdx
call   1060 <fgets@plt>
test   %rax,%rax
jne    11bd <_XcursorThemeInherits+0x5d>
jmp    12bd <_XcursorThemeInherits+0x15d>
nopl   0x0(%rax)
movzbl 0x1(%rbx),%r12d
add    $0x1,%rbx
cmp    $0x20,%r12b
je     1210 <_XcursorThemeInherits+0xb0>
mov    %rbx,%rdi
call   1050 <strlen@plt>
lea    0x1(%rax),%rdi
call   1070 <malloc@plt>
test   %rax,%rax
je     12ba <_XcursorThemeInherits+0x15a>
mov    %rax,%r15
test   %r12b,%r12b
je     12b0 <_XcursorThemeInherits+0x150>
movabs $0x800100100000600,%rcx
mov    %r15,%rax
jmp    1258 <_XcursorThemeInherits+0xf8>
mov    0x1(%rbx),%r12b
add    $0x1,%rbx
cmp    $0x3b,%r12b
ja     126d <_XcursorThemeInherits+0x10d>
movzbl %r12b,%edx
bt     %rdx,%rcx
jb     1250 <_XcursorThemeInherits+0xf0>
test   %rdx,%rdx
je     12b0 <_XcursorThemeInherits+0x150>
mov    %r15,%rdx
cmp    %r15,%rax
je     127f <_XcursorThemeInherits+0x11f>
movb   $0x3a,(%rax)
add    $0x1,%rax
mov    %rax,%rdx
mov    %rdx,%rax
jmp    129b <_XcursorThemeInherits+0x13b>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%rbx
mov    %r12b,(%rax)
add    $0x1,%rax
movzbl (%rbx),%r12d
cmp    $0x3b,%r12
ja     1290 <_XcursorThemeInherits+0x130>
bt     %r12,%rcx
jb     1258 <_XcursorThemeInherits+0xf8>
test   %r12,%r12
jne    1290 <_XcursorThemeInherits+0x130>
movb   $0x0,(%rax)
jmp    12bd <_XcursorThemeInherits+0x15d>
xor    %r15d,%r15d
jmp    12c5 <_XcursorThemeInherits+0x165>
xor    %r15d,%r15d
mov    %r14,%rdi
call   1040 <fclose@plt>
mov    %r15,%rax
add    $0x2008,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c"r\00"
@.str.1 = [9 x i8] c"Inherits\00"
define i8* @_XcursorThemeInherits(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca [8192 x i8]
%5 = alloca i8*
%6 = alloca i32*
%7 = alloca i8*
%8 = alloca i8*
store i8* %0, i8** %3
store i8* null, i8** %5
%9 = load i8*, i8** %3
%10 = icmp ne i8* %9, null
br i1 %10, label %12, label %11
11: ; preds = %1
store i8* null, i8** %2
br label %166
12: ; preds = %1
%13 = load i8*, i8** %3
%14 = call i32* @fopen(i8* %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %14, i32** %6
%15 = load i32*, i32** %6
%16 = icmp ne i32* %15, null
br i1 %16, label %17, label %164
17: ; preds = %12
br label %18
18: ; preds = %160, %43, %17
%19 = getelementptr inbounds [8192 x i8], [8192 x i8]* %4, i64 0, i64 0
%20 = load i32*, i32** %6
%21 = call i64 @fgets(i8* %19, i32 8192, i32* %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %161
23: ; preds = %18
%24 = getelementptr inbounds [8192 x i8], [8192 x i8]* %4, i64 0, i64 0
%25 = call i32 @strncmp(i8* %24, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 8)
%26 = icmp ne i32 %25, 0
br i1 %26, label %160, label %27
27: ; preds = %23
%28 = getelementptr inbounds [8192 x i8], [8192 x i8]* %4, i64 0, i64 0
%29 = getelementptr inbounds i8, i8* %28, i64 8
store i8* %29, i8** %7
br label %30
30: ; preds = %35, %27
%31 = load i8*, i8** %7
%32 = load i8, i8* %31
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 32
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = load i8*, i8** %7
%37 = getelementptr inbounds i8, i8* %36, i32 1
store i8* %37, i8** %7
br label %30
38: ; preds = %30
%39 = load i8*, i8** %7
%40 = load i8, i8* %39
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 61
br i1 %42, label %43, label %44
43: ; preds = %38
br label %18
44: ; preds = %38
%45 = load i8*, i8** %7
%46 = getelementptr inbounds i8, i8* %45, i32 1
store i8* %46, i8** %7
br label %47
47: ; preds = %52, %44
%48 = load i8*, i8** %7
%49 = load i8, i8* %48
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 32
br i1 %51, label %52, label %55
52: ; preds = %47
%53 = load i8*, i8** %7
%54 = getelementptr inbounds i8, i8* %53, i32 1
store i8* %54, i8** %7
br label %47
55: ; preds = %47
%56 = load i8*, i8** %7
%57 = call i64 @strlen(i8* %56)
%58 = add nsw i64 %57, 1
%59 = call i8* @malloc(i64 %58)
store i8* %59, i8** %5
%60 = load i8*, i8** %5
%61 = icmp ne i8* %60, null
br i1 %61, label %62, label %159
62: ; preds = %55
%63 = load i8*, i8** %5
store i8* %63, i8** %8
br label %64
64: ; preds = %155, %62
%65 = load i8*, i8** %7
%66 = load i8, i8* %65
%67 = icmp ne i8 %66, 0
br i1 %67, label %68, label %156
68: ; preds = %64
br label %69
69: ; preds = %98, %68
%70 = load i8*, i8** %7
%71 = load i8, i8* %70
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 59
br i1 %73, label %96, label %74
74: ; preds = %69
%75 = load i8*, i8** %7
%76 = load i8, i8* %75
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 44
br i1 %78, label %96, label %79
79: ; preds = %74
%80 = load i8*, i8** %7
%81 = load i8, i8* %80
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 32
br i1 %83, label %94, label %84
84: ; preds = %79
%85 = load i8*, i8** %7
%86 = load i8, i8* %85
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %87, 9
br i1 %88, label %94, label %89
89: ; preds = %84
%90 = load i8*, i8** %7
%91 = load i8, i8* %90
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 10
br label %94
94: ; preds = %89, %84, %79
%95 = phi i1 [ true, %84 ], [ true, %79 ], [ %93, %89 ]
br label %96
96: ; preds = %94, %74, %69
%97 = phi i1 [ true, %74 ], [ true, %69 ], [ %95, %94 ]
br i1 %97, label %98, label %101
98: ; preds = %96
%99 = load i8*, i8** %7
%100 = getelementptr inbounds i8, i8* %99, i32 1
store i8* %100, i8** %7
br label %69
101: ; preds = %96
%102 = load i8*, i8** %7
%103 = load i8, i8* %102
%104 = icmp ne i8 %103, 0
br i1 %104, label %106, label %105
105: ; preds = %101
br label %156
106: ; preds = %101
%107 = load i8*, i8** %8
%108 = load i8*, i8** %5
%109 = icmp ne i8* %107, %108
br i1 %109, label %110, label %113
110: ; preds = %106
%111 = load i8*, i8** %8
%112 = getelementptr inbounds i8, i8* %111, i32 1
store i8* %112, i8** %8
store i8 58, i8* %111
br label %113
113: ; preds = %110, %106
br label %114
114: ; preds = %149, %113
%115 = load i8*, i8** %7
%116 = load i8, i8* %115
%117 = sext i8 %116 to i32
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %147
119: ; preds = %114
%120 = load i8*, i8** %7
%121 = load i8, i8* %120
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 32
br i1 %123, label %147, label %124
124: ; preds = %119
%125 = load i8*, i8** %7
%126 = load i8, i8* %125
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 9
br i1 %128, label %147, label %129
129: ; preds = %124
%130 = load i8*, i8** %7
%131 = load i8, i8* %130
%132 = sext i8 %131 to i32
%133 = icmp eq i32 %132, 10
br i1 %133, label %147, label %134
134: ; preds = %129
%135 = load i8*, i8** %7
%136 = load i8, i8* %135
%137 = sext i8 %136 to i32
%138 = icmp eq i32 %137, 59
br i1 %138, label %144, label %139
139: ; preds = %134
%140 = load i8*, i8** %7
%141 = load i8, i8* %140
%142 = sext i8 %141 to i32
%143 = icmp eq i32 %142, 44
br label %144
144: ; preds = %139, %134
%145 = phi i1 [ true, %134 ], [ %143, %139 ]
%146 = xor i1 %145, true
br label %147
147: ; preds = %144, %129, %124, %119, %114
%148 = phi i1 [ false, %129 ], [ false, %124 ], [ false, %119 ], [ false, %114 ], [ %146, %144 ]
br i1 %148, label %149, label %155
149: ; preds = %147
%150 = load i8*, i8** %7
%151 = getelementptr inbounds i8, i8* %150, i32 1
store i8* %151, i8** %7
%152 = load i8, i8* %150
%153 = load i8*, i8** %8
%154 = getelementptr inbounds i8, i8* %153, i32 1
store i8* %154, i8** %8
store i8 %152, i8* %153
br label %114
155: ; preds = %147
br label %64
156: ; preds = %105, %64
%157 = load i8*, i8** %8
%158 = getelementptr inbounds i8, i8* %157, i32 1
store i8* %158, i8** %8
store i8 0, i8* %157
br label %159
159: ; preds = %156, %55
br label %161
160: ; preds = %23
br label %18
161: ; preds = %159, %18
%162 = load i32*, i32** %6
%163 = call i32 @fclose(i32* %162)
br label %164
164: ; preds = %161, %12
%165 = load i8*, i8** %5
store i8* %165, i8** %2
br label %166
166: ; preds = %164, %11
%167 = load i8*, i8** %2
ret i8* %167
}

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.1 = [9 x i8] c"Inherits\00"
define i8* @_XcursorThemeInherits(i8* %0) {
%2 = alloca [8192 x i8]
%3 = getelementptr inbounds [8192 x i8], [8192 x i8]* %2, i64 0, i64 0
%4 = icmp eq i8* %0, null
br i1 %4, label %65, label %5
5: ; preds = %1
%6 = tail call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%7 = icmp eq i32* %6, null
br i1 %7, label %65, label %8
8: ; preds = %5
%9 = call i64 @fgets(i8* %3, i32 8192, i32* %6)
%10 = icmp eq i64 %9, 0
br i1 %10, label %62, label %11
11: ; preds = %8
%12 = getelementptr inbounds [8192 x i8], [8192 x i8]* %2, i64 0, i64 8
br label %13
13: ; preds = %11, %16
%14 = call i32 @strncmp(i8* %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 8)
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %19, %13
%17 = call i64 @fgets(i8* %3, i32 8192, i32* %6)
%18 = icmp eq i64 %17, 0
br i1 %18, label %62, label %13
19: ; preds = %13, %22
%20 = phi i8* [ %23, %22 ], [ %12, %13 ]
%21 = load i8, i8* %20
switch i8 %21, label %16 [
i8 32, label %22
i8 61, label %24
]
22: ; preds = %19
%23 = getelementptr inbounds i8, i8* %20, i64 1
br label %19
24: ; preds = %19, %24
%25 = phi i8* [ %26, %24 ], [ %20, %19 ]
%26 = getelementptr inbounds i8, i8* %25, i64 1
%27 = load i8, i8* %26
%28 = icmp eq i8 %27, 32
br i1 %28, label %24, label %29
29: ; preds = %24
%30 = call i64 @strlen(i8* %26)
%31 = add nsw i64 %30, 1
%32 = call i8* @malloc(i64 %31)
%33 = icmp eq i8* %32, null
br i1 %33, label %62, label %34
34: ; preds = %29
%35 = icmp eq i8 %27, 0
br i1 %35, label %60, label %37
36: ; preds = %53, %53, %53, %53, %53
br label %37
37: ; preds = %34, %36
%38 = phi i8 [ %56, %36 ], [ %27, %34 ]
%39 = phi i8* [ %55, %36 ], [ %32, %34 ]
%40 = phi i8* [ %54, %36 ], [ %26, %34 ]
br label %41
41: ; preds = %37, %44
%42 = phi i8 [ %46, %44 ], [ %38, %37 ]
%43 = phi i8* [ %45, %44 ], [ %40, %37 ]
switch i8 %42, label %47 [
i8 59, label %44
i8 44, label %44
i8 32, label %44
i8 9, label %44
i8 10, label %44
i8 0, label %60
]
44: ; preds = %41, %41, %41, %41, %41
%45 = getelementptr inbounds i8, i8* %43, i64 1
%46 = load i8, i8* %45
br label %41
47: ; preds = %41
%48 = icmp eq i8* %39, %32
br i1 %48, label %51, label %49
49: ; preds = %47
%50 = getelementptr inbounds i8, i8* %39, i64 1
store i8 58, i8* %39
br label %51
51: ; preds = %49, %47
%52 = phi i8* [ %32, %47 ], [ %50, %49 ]
br label %53
53: ; preds = %51, %57
%54 = phi i8* [ %58, %57 ], [ %43, %51 ]
%55 = phi i8* [ %59, %57 ], [ %52, %51 ]
%56 = load i8, i8* %54
switch i8 %56, label %57 [
i8 0, label %60
i8 9, label %36
i8 10, label %36
i8 32, label %36
i8 44, label %36
i8 59, label %36
]
57: ; preds = %53
%58 = getelementptr inbounds i8, i8* %54, i64 1
%59 = getelementptr inbounds i8, i8* %55, i64 1
store i8 %56, i8* %55
br label %53
60: ; preds = %41, %53, %34
%61 = phi i8* [ %32, %34 ], [ %55, %53 ], [ %39, %41 ]
store i8 0, i8* %61
br label %62
62: ; preds = %16, %8, %29, %60
%63 = phi i8* [ %32, %60 ], [ null, %29 ], [ null, %8 ], [ null, %16 ]
%64 = call i32 @fclose(i32* %6)
br label %65
65: ; preds = %5, %62, %1
%66 = phi i8* [ null, %1 ], [ %63, %62 ], [ null, %5 ]
ret i8* %66
}