#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
struct symfile {
  int dummy;
};
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
struct symfile *add_new_file(char *);
int /*<<< orphan*/ add_new_symbol(struct symfile *, char *);
char *alloca(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *filename_exist(char *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
char *getenv(char *);
scalar_t__ isalnum(unsigned char);
scalar_t__ isspace(unsigned char);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcat(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
scalar_t__ strstr(char *, char *);
void find_export_symbols(char *filename) {
  FILE *fp;
  struct symfile *sym;
  char line[2048];
  if (filename_exist(filename) == NULL) {
    int rflen = strlen(getenv("SRCTREE")) + strlen(filename);
    char *real_filename = alloca(rflen + 1);
    strcpy(real_filename, getenv("SRCTREE"));
    strcat(real_filename, filename);
    sym = add_new_file(filename);
    fp = fopen(real_filename, "r");
    if (fp == NULL) {
      fprintf(stderr, "docproc: ");
      perror(real_filename);
    }
    while (fgets(line, 2048, fp)) {
      unsigned char *p;
      unsigned char *e;
      if (((p = (unsigned char *)strstr(line, "EXPORT_SYMBOL_GPL")) != 0) ||
          ((p = (unsigned char *)strstr(line, "EXPORT_SYMBOL")) != 0)) {
        while (isalnum(*p) || *p == '_')
          p++;
        while (isspace(*p))
          p++;
        if (*p != '(')
          continue;
        else
          p++;
        while (isspace(*p))
          p++;
        e = p;
        while (isalnum(*e) || *e == '_')
          e++;
        *e = '\0';
        add_new_symbol(sym, (char *)p);
      }
    }
    fclose(fp);
  }
}


x86 assembly (clang, -O0):
<find_export_symbols>:
push   %rbp
mov    %rsp,%rbp
sub    $0x850,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
call   10d0 <filename_exist@plt>
cmp    $0x0,%rax
jne    14f6 <find_export_symbols+0x2f6>
lea    0xdd7(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rdi
call   1060 <strlen@plt>
mov    %eax,-0x84c(%rbp)
mov    -0x8(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x84c(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0x824(%rbp)
mov    -0x824(%rbp),%edi
add    $0x1,%edi
call   10c0 <alloca@plt>
mov    %rax,-0x830(%rbp)
mov    -0x830(%rbp),%rax
mov    %rax,-0x848(%rbp)
lea    0xd81(%rip),%rdi
call   1030 <getenv@plt>
mov    -0x848(%rbp),%rdi
mov    %rax,%rsi
call   1040 <strcpy@plt>
mov    -0x830(%rbp),%rdi
mov    -0x8(%rbp),%rsi
call   1100 <strcat@plt>
mov    -0x8(%rbp),%rdi
call   1090 <add_new_file@plt>
mov    %rax,-0x18(%rbp)
mov    -0x830(%rbp),%rdi
lea    0xd4a(%rip),%rsi
call   10e0 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    12f3 <find_export_symbols+0xf3>
mov    0x2d07(%rip),%rax
mov    (%rax),%edi
lea    0xd28(%rip),%rsi
call   10b0 <fprintf@plt>
mov    -0x830(%rbp),%rdi
call   10f0 <perror@plt>
jmp    12f8 <find_export_symbols+0xf8>
lea    -0x820(%rbp),%rdi
mov    -0x10(%rbp),%rdx
mov    $0x800,%esi
call   10a0 <fgets@plt>
cmp    $0x0,%rax
je     14ed <find_export_symbols+0x2ed>
lea    -0x820(%rbp),%rdi
lea    0xcef(%rip),%rsi
call   1120 <strstr@plt>
mov    %rax,-0x838(%rbp)
cmp    $0x0,%rax
jne    135f <find_export_symbols+0x15f>
lea    -0x820(%rbp),%rdi
lea    0xcdd(%rip),%rsi
call   1120 <strstr@plt>
mov    %rax,-0x838(%rbp)
cmp    $0x0,%rax
je     14e8 <find_export_symbols+0x2e8>
jmp    1364 <find_export_symbols+0x164>
mov    -0x838(%rbp),%rax
movzbl (%rax),%edi
call   1070 <isalnum@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x84d(%rbp)
jne    139e <find_export_symbols+0x19e>
mov    -0x838(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x5f,%eax
sete   %al
mov    %al,-0x84d(%rbp)
mov    -0x84d(%rbp),%al
test   $0x1,%al
jne    13b1 <find_export_symbols+0x1b1>
jmp    13c8 <find_export_symbols+0x1c8>
mov    -0x838(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x838(%rbp)
jmp    1364 <find_export_symbols+0x164>
jmp    13cd <find_export_symbols+0x1cd>
mov    -0x838(%rbp),%rax
movzbl (%rax),%edi
call   1080 <isspace@plt>
cmp    $0x0,%rax
je     13fd <find_export_symbols+0x1fd>
mov    -0x838(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x838(%rbp)
jmp    13cd <find_export_symbols+0x1cd>
mov    -0x838(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x28,%eax
je     1415 <find_export_symbols+0x215>
jmp    12f8 <find_export_symbols+0xf8>
mov    -0x838(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x838(%rbp)
jmp    142c <find_export_symbols+0x22c>
mov    -0x838(%rbp),%rax
movzbl (%rax),%edi
call   1080 <isspace@plt>
cmp    $0x0,%rax
je     145c <find_export_symbols+0x25c>
mov    -0x838(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x838(%rbp)
jmp    142c <find_export_symbols+0x22c>
mov    -0x838(%rbp),%rax
mov    %rax,-0x840(%rbp)
mov    -0x840(%rbp),%rax
movzbl (%rax),%edi
call   1070 <isalnum@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x84e(%rbp)
jne    14a4 <find_export_symbols+0x2a4>
mov    -0x840(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x5f,%eax
sete   %al
mov    %al,-0x84e(%rbp)
mov    -0x84e(%rbp),%al
test   $0x1,%al
jne    14b7 <find_export_symbols+0x2b7>
jmp    14ce <find_export_symbols+0x2ce>
mov    -0x840(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x840(%rbp)
jmp    146a <find_export_symbols+0x26a>
mov    -0x840(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x18(%rbp),%rdi
mov    -0x838(%rbp),%rsi
call   1110 <add_new_symbol@plt>
jmp    12f8 <find_export_symbols+0xf8>
mov    -0x10(%rbp),%rdi
call   1050 <fclose@plt>
add    $0x850,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<find_export_symbols>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x808,%rsp
mov    %rdi,%rbx
call   10d0 <filename_exist@plt>
test   %rax,%rax
jne    13b7 <find_export_symbols+0x1b7>
lea    0xdd7(%rip),%r14
mov    %r14,%rdi
call   1030 <getenv@plt>
mov    %rax,%rdi
call   1060 <strlen@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
call   1060 <strlen@plt>
lea    (%rax,%rbp,1),%edi
add    $0x1,%edi
call   10c0 <alloca@plt>
mov    %rax,%rbp
mov    %r14,%rdi
call   1030 <getenv@plt>
mov    %rbp,%rdi
mov    %rax,%rsi
call   1040 <strcpy@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1100 <strcat@plt>
mov    %rbx,%rdi
call   1090 <add_new_file@plt>
mov    %rax,%r14
lea    0xd87(%rip),%rsi
mov    %rbp,%rdi
call   10e0 <fopen@plt>
mov    %rax,%r12
test   %rax,%rax
je     13c9 <find_export_symbols+0x1c9>
mov    %rsp,%rdi
mov    $0x800,%esi
mov    %r12,%rdx
call   10a0 <fgets@plt>
test   %rax,%rax
je     13af <find_export_symbols+0x1af>
lea    0xd5f(%rip),%r15
mov    %rsp,%rbx
jmp    12d9 <find_export_symbols+0xd9>
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
mov    $0x800,%esi
mov    %r12,%rdx
call   10a0 <fgets@plt>
test   %rax,%rax
je     13af <find_export_symbols+0x1af>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1120 <strstr@plt>
mov    %rax,%rbp
test   %rax,%rax
jne    1314 <find_export_symbols+0x114>
mov    %rbx,%rdi
lea    0xd30(%rip),%rsi
call   1120 <strstr@plt>
mov    %rax,%rbp
test   %rax,%rax
jne    1314 <find_export_symbols+0x114>
jmp    12c0 <find_export_symbols+0xc0>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rbp
movzbl 0x0(%rbp),%edi
call   1070 <isalnum@plt>
test   %rax,%rax
jne    1310 <find_export_symbols+0x110>
movzbl 0x0(%rbp),%eax
cmp    $0x5f,%al
je     1310 <find_export_symbols+0x110>
movzbl %al,%edi
nopl   (%rax)
call   1080 <isspace@plt>
test   %rax,%rax
je     1350 <find_export_symbols+0x150>
movzbl 0x1(%rbp),%edi
add    $0x1,%rbp
jmp    1330 <find_export_symbols+0x130>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
cmpb   $0x28,0x0(%rbp)
jne    12c0 <find_export_symbols+0xc0>
nopw   0x0(%rax,%rax,1)
movzbl 0x1(%rbp),%edi
add    $0x1,%rbp
call   1080 <isspace@plt>
test   %rax,%rax
jne    1360 <find_export_symbols+0x160>
mov    %rbp,%r13
jmp    1384 <find_export_symbols+0x184>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r13
movzbl 0x0(%r13),%edi
call   1070 <isalnum@plt>
test   %rax,%rax
jne    1380 <find_export_symbols+0x180>
cmpb   $0x5f,0x0(%r13)
je     1380 <find_export_symbols+0x180>
movb   $0x0,0x0(%r13)
mov    %r14,%rdi
mov    %rbp,%rsi
call   1110 <add_new_symbol@plt>
jmp    12c0 <find_export_symbols+0xc0>
mov    %r12,%rdi
call   1050 <fclose@plt>
add    $0x808,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2c10(%rip),%rax
mov    (%rax),%edi
lea    0xc31(%rip),%rsi
call   10b0 <fprintf@plt>
mov    %rbp,%rdi
call   10f0 <perror@plt>
jmp    1295 <find_export_symbols+0x95>

LLVM IR (-O0):
%struct.symfile = type { i32 }
@.str = [8 x i8] c"SRCTREE\00"
@.str.1 = [2 x i8] c"r\00"
@stderr = global i32 0
@.str.2 = [10 x i8] c"docproc: \00"
@.str.3 = [18 x i8] c"EXPORT_SYMBOL_GPL\00"
@.str.4 = [14 x i8] c"EXPORT_SYMBOL\00"
define void @find_export_symbols(i8* %0) {
%2 = alloca i8*
%3 = alloca i32*
%4 = alloca %struct.symfile*
%5 = alloca [2048 x i8]
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
store i8* %0, i8** %2
%10 = load i8*, i8** %2
%11 = call i32* @filename_exist(i8* %10)
%12 = icmp eq i32* %11, null
br i1 %12, label %13, label %124
13: ; preds = %1
%14 = call i8* @getenv(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%15 = call i32 @strlen(i8* %14)
%16 = load i8*, i8** %2
%17 = call i32 @strlen(i8* %16)
%18 = add nsw i32 %15, %17
store i32 %18, i32* %6
%19 = load i32, i32* %6
%20 = add nsw i32 %19, 1
%21 = call i8* @alloca(i32 %20)
store i8* %21, i8** %7
%22 = load i8*, i8** %7
%23 = call i8* @getenv(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%24 = call i32 @strcpy(i8* %22, i8* %23)
%25 = load i8*, i8** %7
%26 = load i8*, i8** %2
%27 = call i32 @strcat(i8* %25, i8* %26)
%28 = load i8*, i8** %2
%29 = call %struct.symfile* @add_new_file(i8* %28)
store %struct.symfile* %29, %struct.symfile** %4
%30 = load i8*, i8** %7
%31 = call i32* @fopen(i8* %30, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %31, i32** %3
%32 = load i32*, i32** %3
%33 = icmp eq i32* %32, null
br i1 %33, label %34, label %39
34: ; preds = %13
%35 = load i32, i32* @stderr
%36 = call i32 @fprintf(i32 %35, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%37 = load i8*, i8** %7
%38 = call i32 @perror(i8* %37)
br label %39
39: ; preds = %34, %13
br label %40
40: ; preds = %120, %85, %39
%41 = getelementptr inbounds [2048 x i8], [2048 x i8]* %5, i64 0, i64 0
%42 = load i32*, i32** %3
%43 = call i64 @fgets(i8* %41, i32 2048, i32* %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %121
45: ; preds = %40
%46 = getelementptr inbounds [2048 x i8], [2048 x i8]* %5, i64 0, i64 0
%47 = call i64 @strstr(i8* %46, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%48 = inttoptr i64 %47 to i8*
store i8* %48, i8** %8
%49 = icmp ne i8* %48, null
br i1 %49, label %55, label %50
50: ; preds = %45
%51 = getelementptr inbounds [2048 x i8], [2048 x i8]* %5, i64 0, i64 0
%52 = call i64 @strstr(i8* %51, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
%53 = inttoptr i64 %52 to i8*
store i8* %53, i8** %8
%54 = icmp ne i8* %53, null
br i1 %54, label %55, label %120
55: ; preds = %50, %45
br label %56
56: ; preds = %68, %55
%57 = load i8*, i8** %8
%58 = load i8, i8* %57
%59 = call i64 @isalnum(i8 zeroext %58)
%60 = icmp ne i64 %59, 0
br i1 %60, label %66, label %61
61: ; preds = %56
%62 = load i8*, i8** %8
%63 = load i8, i8* %62
%64 = zext i8 %63 to i32
%65 = icmp eq i32 %64, 95
br label %66
66: ; preds = %61, %56
%67 = phi i1 [ true, %56 ], [ %65, %61 ]
br i1 %67, label %68, label %71
68: ; preds = %66
%69 = load i8*, i8** %8
%70 = getelementptr inbounds i8, i8* %69, i32 1
store i8* %70, i8** %8
br label %56
71: ; preds = %66
br label %72
72: ; preds = %77, %71
%73 = load i8*, i8** %8
%74 = load i8, i8* %73
%75 = call i64 @isspace(i8 zeroext %74)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %80
77: ; preds = %72
%78 = load i8*, i8** %8
%79 = getelementptr inbounds i8, i8* %78, i32 1
store i8* %79, i8** %8
br label %72
80: ; preds = %72
%81 = load i8*, i8** %8
%82 = load i8, i8* %81
%83 = zext i8 %82 to i32
%84 = icmp ne i32 %83, 40
br i1 %84, label %85, label %86
85: ; preds = %80
br label %40
86: ; preds = %80
%87 = load i8*, i8** %8
%88 = getelementptr inbounds i8, i8* %87, i32 1
store i8* %88, i8** %8
br label %89
89: ; preds = %86
br label %90
90: ; preds = %95, %89
%91 = load i8*, i8** %8
%92 = load i8, i8* %91
%93 = call i64 @isspace(i8 zeroext %92)
%94 = icmp ne i64 %93, 0
br i1 %94, label %95, label %98
95: ; preds = %90
%96 = load i8*, i8** %8
%97 = getelementptr inbounds i8, i8* %96, i32 1
store i8* %97, i8** %8
br label %90
98: ; preds = %90
%99 = load i8*, i8** %8
store i8* %99, i8** %9
br label %100
100: ; preds = %112, %98
%101 = load i8*, i8** %9
%102 = load i8, i8* %101
%103 = call i64 @isalnum(i8 zeroext %102)
%104 = icmp ne i64 %103, 0
br i1 %104, label %110, label %105
105: ; preds = %100
%106 = load i8*, i8** %9
%107 = load i8, i8* %106
%108 = zext i8 %107 to i32
%109 = icmp eq i32 %108, 95
br label %110
110: ; preds = %105, %100
%111 = phi i1 [ true, %100 ], [ %109, %105 ]
br i1 %111, label %112, label %115
112: ; preds = %110
%113 = load i8*, i8** %9
%114 = getelementptr inbounds i8, i8* %113, i32 1
store i8* %114, i8** %9
br label %100
115: ; preds = %110
%116 = load i8*, i8** %9
store i8 0, i8* %116
%117 = load %struct.symfile*, %struct.symfile** %4
%118 = load i8*, i8** %8
%119 = call i32 @add_new_symbol(%struct.symfile* %117, i8* %118)
br label %120
120: ; preds = %115, %50
br label %40
121: ; preds = %40
%122 = load i32*, i32** %3
%123 = call i32 @fclose(i32* %122)
br label %124
124: ; preds = %121, %1
ret void
}

LLVM IR (-O2):
%struct.symfile = type { i32 }
@.str = [8 x i8] c"SRCTREE\00"
@.str.1 = [2 x i8] c"r\00"
@stderr = global i32 0
@.str.2 = [10 x i8] c"docproc: \00"
@.str.3 = [18 x i8] c"EXPORT_SYMBOL_GPL\00"
@.str.4 = [14 x i8] c"EXPORT_SYMBOL\00"
define void @find_export_symbols(i8* %0) {
%2 = alloca [2048 x i8]
%3 = getelementptr inbounds [2048 x i8], [2048 x i8]* %2, i64 0, i64 0
%4 = tail call i32* @filename_exist(i8* %0)
%5 = icmp eq i32* %4, null
br i1 %5, label %6, label %81
6: ; preds = %1
%7 = tail call i8* @getenv(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%8 = tail call i32 @strlen(i8* %7)
%9 = tail call i32 @strlen(i8* %0)
%10 = add i32 %8, 1
%11 = add i32 %10, %9
%12 = tail call i8* @alloca(i32 %11)
%13 = tail call i8* @getenv(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%14 = tail call i32 @strcpy(i8* %12, i8* %13)
%15 = tail call i32 @strcat(i8* %12, i8* %0)
%16 = tail call %struct.symfile* @add_new_file(i8* %0)
%17 = tail call i32* @fopen(i8* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%18 = icmp eq i32* %17, null
br i1 %18, label %19, label %23
19: ; preds = %6
%20 = load i32, i32* @stderr
%21 = tail call i32 @fprintf(i32 %20, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%22 = tail call i32 @perror(i8* %12)
br label %23
23: ; preds = %19, %6
%24 = call i64 @fgets(i8* %3, i32 2048, i32* %17)
%25 = icmp eq i64 %24, 0
br i1 %25, label %79, label %26
26: ; preds = %23, %76
%27 = call i64 @strstr(i8* %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = call i64 @strstr(i8* %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %76, label %32
32: ; preds = %29, %26
%33 = phi i64 [ %27, %26 ], [ %30, %29 ]
%34 = inttoptr i64 %33 to i8*
br label %35
35: ; preds = %46, %32
%36 = phi i8* [ %34, %32 ], [ %47, %46 ]
%37 = load i8, i8* %36
%38 = call i64 @isalnum(i8 zeroext %37)
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %46
40: ; preds = %35
%41 = load i8, i8* %36
%42 = icmp eq i8 %41, 95
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = call i64 @isspace(i8 zeroext %41)
%45 = icmp eq i64 %44, 0
br i1 %45, label %54, label %48
46: ; preds = %35, %40
%47 = getelementptr inbounds i8, i8* %36, i64 1
br label %35
48: ; preds = %43, %48
%49 = phi i8* [ %50, %48 ], [ %36, %43 ]
%50 = getelementptr inbounds i8, i8* %49, i64 1
%51 = load i8, i8* %50
%52 = call i64 @isspace(i8 zeroext %51)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %48
54: ; preds = %48, %43
%55 = phi i8* [ %36, %43 ], [ %50, %48 ]
%56 = load i8, i8* %55
%57 = icmp eq i8 %56, 40
br i1 %57, label %58, label %76
58: ; preds = %54, %58
%59 = phi i8* [ %60, %58 ], [ %55, %54 ]
%60 = getelementptr inbounds i8, i8* %59, i64 1
%61 = load i8, i8* %60
%62 = call i64 @isspace(i8 zeroext %61)
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %58
64: ; preds = %58, %72
%65 = phi i8* [ %73, %72 ], [ %60, %58 ]
%66 = load i8, i8* %65
%67 = call i64 @isalnum(i8 zeroext %66)
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %64
%70 = load i8, i8* %65
%71 = icmp eq i8 %70, 95
br i1 %71, label %72, label %74
72: ; preds = %64, %69
%73 = getelementptr inbounds i8, i8* %65, i64 1
br label %64
74: ; preds = %69
store i8 0, i8* %65
%75 = call i32 @add_new_symbol(%struct.symfile* %16, i8* %60)
br label %76
76: ; preds = %29, %74, %54
%77 = call i64 @fgets(i8* %3, i32 2048, i32* %17)
%78 = icmp eq i64 %77, 0
br i1 %78, label %79, label %26
79: ; preds = %76, %23
%80 = call i32 @fclose(i32* %17)
br label %81
81: ; preds = %79, %1
ret void
}