#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*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ SEEK_SET;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ feof(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/ *);
int /*<<< orphan*/ fseek(int /*<<< orphan*/ *, long, int /*<<< orphan*/);
long ftell(int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ strcmp(char *, char *);
scalar_t__ strstr(char *, char *);
void luaglew_duplicate_deleter() {
  printf("\n\nAnalysing duplicates in progress\n\n");
  FILE *funcs_list_clean, *funcs_binding_code_clean, *funcs_list,
      *funcs_binding_code;
  funcs_list = fopen("../funcs_list.c", "r");
  funcs_list_clean = fopen("../funcs_list_clean.c", "w");
  funcs_binding_code = fopen("../funcs_binding_code.c", "r");
  funcs_binding_code_clean = fopen("../funcs_binding_code_clean.c", "w");
  long int offset = 0;
  char funcName[100];
  char line[100];
  funcName[0] = '\0';
  int flag = 0;
  int dupl = 0;
  int duplCount1 = 0;
  while (1) {
    if (fgets(funcName, 98, funcs_list) == NULL)
      break;
    if (strstr(funcName, "//####")) {
      flag = 1;
      offset = ftell(funcs_list);
    } else
      fputs(funcName, funcs_list_clean);
    if (flag == 1) {
      dupl = 0;
      fseek(funcs_list, offset, SEEK_SET);
      while (feof(funcs_list) == 0) {
        fgets(line, 98, funcs_list);
        if (strcmp(line, funcName) == 0)
          dupl = 1;
      }
      if (dupl == 0) {
        fseek(funcs_list, offset, SEEK_SET);
        fgets(funcName, 98, funcs_list);
        fputs(funcName, funcs_list);
      } else {
        duplCount1++;
        fseek(funcs_list, offset, SEEK_SET);
        line[0] = '\0';
        while (strstr(line, "//####") == 0) {
          offset = ftell(funcs_list);
          fgets(line, 98, funcs_list);
        }
      }
    }
    if (flag == 1) {
      fseek(funcs_list, offset, SEEK_SET);
      flag = 0;
    }
    if (flag == 0 && feof(funcs_list))
      break;
  }
  printf("In function names was deleted %d duplicates\n", duplCount1);
  int duplCount2 = 0;
  while (1) {
    fgets(funcName, 98, funcs_binding_code);
    if (strstr(funcName, "//####")) {
      flag = 1;
      offset = ftell(funcs_binding_code);
    } else
      fputs(funcName, funcs_binding_code_clean);
    if (flag == 1) {
      dupl = 0;
      fseek(funcs_binding_code, offset, SEEK_SET);
      while (feof(funcs_binding_code) == 0) {
        fgets(line, 98, funcs_binding_code);
        if (strcmp(line, funcName) == 0)
          dupl = 1;
      }
      if (dupl == 0) {
        fseek(funcs_binding_code, offset, SEEK_SET);
        fgets(funcName, 98, funcs_binding_code);
        fputs(funcName, funcs_binding_code);
      } else {
        duplCount2++;
        fseek(funcs_binding_code, offset, SEEK_SET);
        line[0] = '\0';
        while (strstr(line, "//####") == 0) {
          offset = ftell(funcs_binding_code);
          fgets(line, 98, funcs_binding_code);
        }
      }
    }
    if (flag == 1) {
      fseek(funcs_binding_code, offset, SEEK_SET);
      flag = 0;
    }
    if (flag == 0 && feof(funcs_binding_code))
      break;
  }
  printf("In function binding code was deleted %d duplicates\n", duplCount2);
  if (duplCount1 == duplCount2)
    printf("\n__________________ OK (%d duplicates both) ________________\n",
           duplCount1);
  else
    printf("\n__________________ERROR in duplicates ________________\n");
  fclose(funcs_list);
  fclose(funcs_binding_code);
  fclose(funcs_list_clean);
  fclose(funcs_binding_code_clean);
}


x86 assembly (clang, -O0):
<luaglew_duplicate_deleter>:
push   %rbp
mov    %rsp,%rbp
sub    $0x110,%rsp
lea    0xe4e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe65(%rip),%rdi
lea    0xe6e(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x18(%rbp)
lea    0xe60(%rip),%rdi
lea    0xe6f(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x8(%rbp)
lea    0xe61(%rip),%rdi
lea    0xe40(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x20(%rbp)
lea    0xe62(%rip),%rdi
lea    0xe41(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x10(%rbp)
movq   $0x0,-0x28(%rbp)
movb   $0x0,-0x90(%rbp)
movl   $0x0,-0x104(%rbp)
movl   $0x0,-0x108(%rbp)
movl   $0x0,-0x10c(%rbp)
lea    -0x90(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    $0x62,%esi
call   1060 <fgets@plt>
cmp    $0x0,%rax
jne    1266 <luaglew_duplicate_deleter+0xc6>
jmp    144e <luaglew_duplicate_deleter+0x2ae>
lea    -0x90(%rbp),%rdi
lea    0xe11(%rip),%rsi
call   10c0 <strstr@plt>
cmp    $0x0,%rax
je     129f <luaglew_duplicate_deleter+0xff>
movl   $0x1,-0x104(%rbp)
mov    -0x18(%rbp),%rdi
call   1080 <ftell@plt>
mov    %rax,-0x28(%rbp)
jmp    12af <luaglew_duplicate_deleter+0x10f>
lea    -0x90(%rbp),%rdi
mov    -0x8(%rbp),%rsi
call   1050 <fputs@plt>
cmpl   $0x1,-0x104(%rbp)
jne    13f7 <luaglew_duplicate_deleter+0x257>
movl   $0x0,-0x108(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    0x2d0b(%rip),%rax
mov    (%rax),%edx
call   10a0 <fseek@plt>
mov    -0x18(%rbp),%rdi
call   1090 <feof@plt>
cmp    $0x0,%rax
jne    1330 <luaglew_duplicate_deleter+0x190>
lea    -0x100(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    $0x62,%esi
call   1060 <fgets@plt>
lea    -0x100(%rbp),%rdi
lea    -0x90(%rbp),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    132b <luaglew_duplicate_deleter+0x18b>
movl   $0x1,-0x108(%rbp)
jmp    12dc <luaglew_duplicate_deleter+0x13c>
cmpl   $0x0,-0x108(%rbp)
jne    137d <luaglew_duplicate_deleter+0x1dd>
mov    -0x18(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    0x2c94(%rip),%rax
mov    (%rax),%edx
call   10a0 <fseek@plt>
lea    -0x90(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    $0x62,%esi
call   1060 <fgets@plt>
lea    -0x90(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1050 <fputs@plt>
jmp    13f2 <luaglew_duplicate_deleter+0x252>
mov    -0x10c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10c(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    0x2c45(%rip),%rax
mov    (%rax),%edx
call   10a0 <fseek@plt>
movb   $0x0,-0x100(%rbp)
lea    -0x100(%rbp),%rdi
lea    0xcce(%rip),%rsi
call   10c0 <strstr@plt>
cmp    $0x0,%rax
jne    13ed <luaglew_duplicate_deleter+0x24d>
mov    -0x18(%rbp),%rdi
call   1080 <ftell@plt>
mov    %rax,-0x28(%rbp)
lea    -0x100(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    $0x62,%esi
call   1060 <fgets@plt>
jmp    13a9 <luaglew_duplicate_deleter+0x209>
jmp    13f2 <luaglew_duplicate_deleter+0x252>
jmp    13f7 <luaglew_duplicate_deleter+0x257>
cmpl   $0x1,-0x104(%rbp)
jne    1424 <luaglew_duplicate_deleter+0x284>
mov    -0x18(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    0x2bcd(%rip),%rax
mov    (%rax),%edx
call   10a0 <fseek@plt>
movl   $0x0,-0x104(%rbp)
cmpl   $0x0,-0x104(%rbp)
jne    1449 <luaglew_duplicate_deleter+0x2a9>
mov    -0x18(%rbp),%rdi
call   1090 <feof@plt>
cmp    $0x0,%rax
je     1449 <luaglew_duplicate_deleter+0x2a9>
jmp    144e <luaglew_duplicate_deleter+0x2ae>
jmp    1242 <luaglew_duplicate_deleter+0xa2>
mov    -0x10c(%rbp),%esi
lea    0xc31(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x110(%rbp)
lea    -0x90(%rbp),%rdi
mov    -0x20(%rbp),%rdx
mov    $0x62,%esi
call   1060 <fgets@plt>
lea    -0x90(%rbp),%rdi
lea    0xbf6(%rip),%rsi
call   10c0 <strstr@plt>
cmp    $0x0,%rax
je     14ba <luaglew_duplicate_deleter+0x31a>
movl   $0x1,-0x104(%rbp)
mov    -0x20(%rbp),%rdi
call   1080 <ftell@plt>
mov    %rax,-0x28(%rbp)
jmp    14ca <luaglew_duplicate_deleter+0x32a>
lea    -0x90(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1050 <fputs@plt>
cmpl   $0x1,-0x104(%rbp)
jne    1612 <luaglew_duplicate_deleter+0x472>
movl   $0x0,-0x108(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    0x2af0(%rip),%rax
mov    (%rax),%edx
call   10a0 <fseek@plt>
mov    -0x20(%rbp),%rdi
call   1090 <feof@plt>
cmp    $0x0,%rax
jne    154b <luaglew_duplicate_deleter+0x3ab>
lea    -0x100(%rbp),%rdi
mov    -0x20(%rbp),%rdx
mov    $0x62,%esi
call   1060 <fgets@plt>
lea    -0x100(%rbp),%rdi
lea    -0x90(%rbp),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    1546 <luaglew_duplicate_deleter+0x3a6>
movl   $0x1,-0x108(%rbp)
jmp    14f7 <luaglew_duplicate_deleter+0x357>
cmpl   $0x0,-0x108(%rbp)
jne    1598 <luaglew_duplicate_deleter+0x3f8>
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    0x2a79(%rip),%rax
mov    (%rax),%edx
call   10a0 <fseek@plt>
lea    -0x90(%rbp),%rdi
mov    -0x20(%rbp),%rdx
mov    $0x62,%esi
call   1060 <fgets@plt>
lea    -0x90(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1050 <fputs@plt>
jmp    160d <luaglew_duplicate_deleter+0x46d>
mov    -0x110(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x110(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    0x2a2a(%rip),%rax
mov    (%rax),%edx
call   10a0 <fseek@plt>
movb   $0x0,-0x100(%rbp)
lea    -0x100(%rbp),%rdi
lea    0xab3(%rip),%rsi
call   10c0 <strstr@plt>
cmp    $0x0,%rax
jne    1608 <luaglew_duplicate_deleter+0x468>
mov    -0x20(%rbp),%rdi
call   1080 <ftell@plt>
mov    %rax,-0x28(%rbp)
lea    -0x100(%rbp),%rdi
mov    -0x20(%rbp),%rdx
mov    $0x62,%esi
call   1060 <fgets@plt>
jmp    15c4 <luaglew_duplicate_deleter+0x424>
jmp    160d <luaglew_duplicate_deleter+0x46d>
jmp    1612 <luaglew_duplicate_deleter+0x472>
cmpl   $0x1,-0x104(%rbp)
jne    163f <luaglew_duplicate_deleter+0x49f>
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    0x29b2(%rip),%rax
mov    (%rax),%edx
call   10a0 <fseek@plt>
movl   $0x0,-0x104(%rbp)
cmpl   $0x0,-0x104(%rbp)
jne    1664 <luaglew_duplicate_deleter+0x4c4>
mov    -0x20(%rbp),%rdi
call   1090 <feof@plt>
cmp    $0x0,%rax
je     1664 <luaglew_duplicate_deleter+0x4c4>
jmp    1669 <luaglew_duplicate_deleter+0x4c9>
jmp    146c <luaglew_duplicate_deleter+0x2cc>
mov    -0x110(%rbp),%esi
lea    0xa43(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10c(%rbp),%eax
cmp    -0x110(%rbp),%eax
jne    16a8 <luaglew_duplicate_deleter+0x508>
mov    -0x10c(%rbp),%esi
lea    0xa51(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    16b6 <luaglew_duplicate_deleter+0x516>
lea    0xa7c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x20(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x8(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x10(%rbp),%rdi
call   1030 <fclose@plt>
add    $0x110,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<luaglew_duplicate_deleter>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
lea    0xf3e(%rip),%rdi
call   1030 <puts@plt>
lea    0xe2c(%rip),%rdi
lea    0xe35(%rip),%rbx
mov    %rbx,%rsi
call   10c0 <fopen@plt>
mov    %rax,%r15
lea    0xe25(%rip),%rdi
lea    0xe34(%rip),%rbp
mov    %rbp,%rsi
call   10c0 <fopen@plt>
mov    %rax,0x20(%rsp)
lea    0xe22(%rip),%rdi
mov    %rbx,%rsi
call   10c0 <fopen@plt>
mov    %rax,%rbx
lea    0xe28(%rip),%rdi
mov    %rbp,%rsi
call   10c0 <fopen@plt>
mov    %rax,0x28(%rsp)
movb   $0x0,0xa0(%rsp)
movl   $0x0,0xc(%rsp)
lea    0xa0(%rsp),%r12
lea    0xe1a(%rip),%rbp
lea    0x30(%rsp),%r13
jmp    126e <luaglew_duplicate_deleter+0xbe>
nopl   (%rax)
mov    %r12,%rdi
mov    0x20(%rsp),%rsi
call   1060 <fputs@plt>
mov    %r15,%rdi
call   10a0 <feof@plt>
test   %rax,%rax
jne    13ce <luaglew_duplicate_deleter+0x21e>
mov    %r12,%rdi
mov    $0x62,%esi
mov    %r15,%rdx
call   1070 <fgets@plt>
test   %rax,%rax
je     13ce <luaglew_duplicate_deleter+0x21e>
mov    %r12,%rdi
mov    %rbp,%rsi
call   10d0 <strstr@plt>
test   %rax,%rax
je     1250 <luaglew_duplicate_deleter+0xa0>
mov    %r15,%rdi
call   1090 <ftell@plt>
mov    %rax,%rbp
mov    0x2d37(%rip),%r14
mov    (%r14),%edx
mov    %r15,%rdi
mov    %rax,%rsi
call   10b0 <fseek@plt>
mov    %r15,%rdi
call   10a0 <feof@plt>
test   %rax,%rax
je     1300 <luaglew_duplicate_deleter+0x150>
mov    (%r14),%edx
mov    %r15,%rdi
mov    %rbp,%rsi
call   10b0 <fseek@plt>
mov    %r12,%rdi
mov    $0x62,%esi
mov    %r15,%rdx
call   1070 <fgets@plt>
mov    %r12,%rdi
mov    %r15,%rsi
call   1060 <fputs@plt>
jmp    13b4 <luaglew_duplicate_deleter+0x204>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %rbp,0x10(%rsp)
xor    %r14d,%r14d
mov    $0x1,%ebp
nopl   (%rax)
mov    %r13,%rdi
mov    $0x62,%esi
mov    %r15,%rdx
call   1070 <fgets@plt>
mov    %r13,%rdi
mov    %r12,%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
cmove  %ebp,%r14d
mov    %r15,%rdi
call   10a0 <feof@plt>
test   %rax,%rax
je     1310 <luaglew_duplicate_deleter+0x160>
test   %r14d,%r14d
mov    0x2c97(%rip),%r14
mov    0x10(%rsp),%rbp
je     12c4 <luaglew_duplicate_deleter+0x114>
addl   $0x1,0xc(%rsp)
mov    (%r14),%edx
mov    %r15,%rdi
mov    %rbp,%rsi
call   10b0 <fseek@plt>
movb   $0x0,0x30(%rsp)
mov    %r13,%rdi
lea    0xcea(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
mov    %r14,%rsi
call   10d0 <strstr@plt>
test   %rax,%rax
jne    13ad <luaglew_duplicate_deleter+0x1fd>
mov    %r15,%rdi
call   1090 <ftell@plt>
mov    %rax,%rbp
mov    %r13,%rdi
mov    $0x62,%esi
mov    %r15,%rdx
call   1070 <fgets@plt>
mov    %r13,%rdi
jmp    1380 <luaglew_duplicate_deleter+0x1d0>
mov    0x2c2c(%rip),%r14
mov    (%r14),%edx
mov    %r15,%rdi
mov    %rbp,%rsi
call   10b0 <fseek@plt>
lea    0xc97(%rip),%rbp
jmp    125d <luaglew_duplicate_deleter+0xad>
mov    %r15,0x18(%rsp)
lea    0xc8d(%rip),%rdi
movl   $0x0,0x10(%rsp)
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa0(%rsp),%r15
lea    0xc64(%rip),%rbp
lea    0x30(%rsp),%r12
mov    0x2bd8(%rip),%r13
jmp    142e <luaglew_duplicate_deleter+0x27e>
nopw   0x0(%rax,%rax,1)
mov    %r15,%rdi
mov    0x28(%rsp),%rsi
call   1060 <fputs@plt>
mov    %rbx,%rdi
call   10a0 <feof@plt>
test   %rax,%rax
jne    1580 <luaglew_duplicate_deleter+0x3d0>
mov    %r15,%rdi
mov    $0x62,%esi
mov    %rbx,%rdx
call   1070 <fgets@plt>
mov    %r15,%rdi
mov    %rbp,%rsi
call   10d0 <strstr@plt>
test   %rax,%rax
je     1410 <luaglew_duplicate_deleter+0x260>
mov    %rbx,%rdi
call   1090 <ftell@plt>
mov    %rax,%r14
mov    0x0(%r13),%edx
mov    %rbx,%rdi
mov    %rax,%rsi
call   10b0 <fseek@plt>
mov    %rbx,%rdi
call   10a0 <feof@plt>
test   %rax,%rax
je     14c0 <luaglew_duplicate_deleter+0x310>
mov    0x0(%r13),%edx
mov    %rbx,%rdi
mov    %r14,%rsi
call   10b0 <fseek@plt>
mov    %r15,%rdi
mov    $0x62,%esi
mov    %rbx,%rdx
call   1070 <fgets@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1060 <fputs@plt>
mov    0x0(%r13),%edx
mov    %rbx,%rdi
mov    %r14,%rsi
call   10b0 <fseek@plt>
lea    0xbab(%rip),%rbp
jmp    141d <luaglew_duplicate_deleter+0x26d>
nopw   0x0(%rax,%rax,1)
xor    %r13d,%r13d
mov    $0x1,%ebp
nopl   0x0(%rax,%rax,1)
mov    %r12,%rdi
mov    $0x62,%esi
mov    %rbx,%rdx
call   1070 <fgets@plt>
mov    %r12,%rdi
mov    %r15,%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
cmove  %ebp,%r13d
mov    %rbx,%rdi
call   10a0 <feof@plt>
test   %rax,%rax
je     14d0 <luaglew_duplicate_deleter+0x320>
test   %r13d,%r13d
mov    0x2ad7(%rip),%r13
je     1475 <luaglew_duplicate_deleter+0x2c5>
addl   $0x1,0x10(%rsp)
mov    0x0(%r13),%edx
mov    %rbx,%rdi
mov    %r14,%rsi
call   10b0 <fseek@plt>
movb   $0x0,0x30(%rsp)
mov    %r12,%rdi
lea    0xb2e(%rip),%rsi
call   10d0 <strstr@plt>
test   %rax,%rax
jne    149f <luaglew_duplicate_deleter+0x2ef>
lea    0xb19(%rip),%rbp
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
call   1090 <ftell@plt>
mov    %rax,%r14
mov    %r12,%rdi
mov    $0x62,%esi
mov    %rbx,%rdx
call   1070 <fgets@plt>
mov    %r12,%rdi
mov    %rbp,%rsi
call   10d0 <strstr@plt>
test   %rax,%rax
je     1550 <luaglew_duplicate_deleter+0x3a0>
jmp    149f <luaglew_duplicate_deleter+0x2ef>
lea    0xb0d(%rip),%rdi
mov    0x10(%rsp),%ebp
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%rsp),%esi
cmp    %ebp,%esi
jne    15ac <luaglew_duplicate_deleter+0x3fc>
lea    0xb25(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    15b8 <luaglew_duplicate_deleter+0x408>
lea    0xb77(%rip),%rdi
call   1030 <puts@plt>
mov    0x18(%rsp),%rdi
call   1040 <fclose@plt>
mov    %rbx,%rdi
call   1040 <fclose@plt>
mov    0x20(%rsp),%rdi
call   1040 <fclose@plt>
mov    0x28(%rsp),%rdi
call   1040 <fclose@plt>
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [37 x i8] c"\0A\0AAnalysing duplicates in progress\0A\0A\00"
@.str.1 = [16 x i8] c"../funcs_list.c\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [22 x i8] c"../funcs_list_clean.c\00"
@.str.4 = [2 x i8] c"w\00"
@.str.5 = [24 x i8] c"../funcs_binding_code.c\00"
@.str.6 = [30 x i8] c"../funcs_binding_code_clean.c\00"
@.str.7 = [7 x i8] c"//####\00"
@SEEK_SET = global i32 0
@.str.8 = [45 x i8] c"In function names was deleted %d duplicates\0A\00"
@.str.9 = [52 x i8] c"In function binding code was deleted %d duplicates\0A\00"
@.str.10 = [62 x i8] c"\0A__________________ OK (%d duplicates both) ________________\0A\00"
@.str.11 = [57 x i8] c"\0A__________________ERROR in duplicates ________________\0A\00"
define void @luaglew_duplicate_deleter() {
%1 = alloca i32*
%2 = alloca i32*
%3 = alloca i32*
%4 = alloca i32*
%5 = alloca i64
%6 = alloca [100 x i8]
%7 = alloca [100 x i8]
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%13 = call i32* @fopen(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %13, i32** %3
%14 = call i32* @fopen(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32* %14, i32** %1
%15 = call i32* @fopen(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %15, i32** %4
%16 = call i32* @fopen(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32* %16, i32** %2
store i64 0, i64* %5
%17 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
store i8 0, i8* %17
store i32 0, i32* %8
store i32 0, i32* %9
store i32 0, i32* %10
br label %18
18: ; preds = %0, %107
%19 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%20 = load i32*, i32** %3
%21 = call i32* @fgets(i8* %19, i32 98, i32* %20)
%22 = icmp eq i32* %21, null
br i1 %22, label %23, label %24
23: ; preds = %18
br label %108
24: ; preds = %18
%25 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%26 = call i64 @strstr(i8* %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %24
store i32 1, i32* %8
%29 = load i32*, i32** %3
%30 = call i64 @ftell(i32* %29)
store i64 %30, i64* %5
br label %35
31: ; preds = %24
%32 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%33 = load i32*, i32** %1
%34 = call i32 @fputs(i8* %32, i32* %33)
br label %35
35: ; preds = %31, %28
%36 = load i32, i32* %8
%37 = icmp eq i32 %36, 1
br i1 %37, label %38, label %91
38: ; preds = %35
store i32 0, i32* %9
%39 = load i32*, i32** %3
%40 = load i64, i64* %5
%41 = load i32, i32* @SEEK_SET
%42 = call i32 @fseek(i32* %39, i64 %40, i32 %41)
br label %43
43: ; preds = %56, %38
%44 = load i32*, i32** %3
%45 = call i64 @feof(i32* %44)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %57
47: ; preds = %43
%48 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%49 = load i32*, i32** %3
%50 = call i32* @fgets(i8* %48, i32 98, i32* %49)
%51 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%52 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%53 = call i64 @strcmp(i8* %51, i8* %52)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %47
store i32 1, i32* %9
br label %56
56: ; preds = %55, %47
br label %43
57: ; preds = %43
%58 = load i32, i32* %9
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %71
60: ; preds = %57
%61 = load i32*, i32** %3
%62 = load i64, i64* %5
%63 = load i32, i32* @SEEK_SET
%64 = call i32 @fseek(i32* %61, i64 %62, i32 %63)
%65 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%66 = load i32*, i32** %3
%67 = call i32* @fgets(i8* %65, i32 98, i32* %66)
%68 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%69 = load i32*, i32** %3
%70 = call i32 @fputs(i8* %68, i32* %69)
br label %90
71: ; preds = %57
%72 = load i32, i32* %10
%73 = add nsw i32 %72, 1
store i32 %73, i32* %10
%74 = load i32*, i32** %3
%75 = load i64, i64* %5
%76 = load i32, i32* @SEEK_SET
%77 = call i32 @fseek(i32* %74, i64 %75, i32 %76)
%78 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
store i8 0, i8* %78
br label %79
79: ; preds = %83, %71
%80 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%81 = call i64 @strstr(i8* %80, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %89
83: ; preds = %79
%84 = load i32*, i32** %3
%85 = call i64 @ftell(i32* %84)
store i64 %85, i64* %5
%86 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%87 = load i32*, i32** %3
%88 = call i32* @fgets(i8* %86, i32 98, i32* %87)
br label %79
89: ; preds = %79
br label %90
90: ; preds = %89, %60
br label %91
91: ; preds = %90, %35
%92 = load i32, i32* %8
%93 = icmp eq i32 %92, 1
br i1 %93, label %94, label %99
94: ; preds = %91
%95 = load i32*, i32** %3
%96 = load i64, i64* %5
%97 = load i32, i32* @SEEK_SET
%98 = call i32 @fseek(i32* %95, i64 %96, i32 %97)
store i32 0, i32* %8
br label %99
99: ; preds = %94, %91
%100 = load i32, i32* %8
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %107
102: ; preds = %99
%103 = load i32*, i32** %3
%104 = call i64 @feof(i32* %103)
%105 = icmp ne i64 %104, 0
br i1 %105, label %106, label %107
106: ; preds = %102
br label %108
107: ; preds = %102, %99
br label %18
108: ; preds = %106, %23
%109 = load i32, i32* %10
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0), i32 %109)
store i32 0, i32* %11
br label %111
111: ; preds = %108, %197
%112 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%113 = load i32*, i32** %4
%114 = call i32* @fgets(i8* %112, i32 98, i32* %113)
%115 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%116 = call i64 @strstr(i8* %115, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%117 = icmp ne i64 %116, 0
br i1 %117, label %118, label %121
118: ; preds = %111
store i32 1, i32* %8
%119 = load i32*, i32** %4
%120 = call i64 @ftell(i32* %119)
store i64 %120, i64* %5
br label %125
121: ; preds = %111
%122 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%123 = load i32*, i32** %2
%124 = call i32 @fputs(i8* %122, i32* %123)
br label %125
125: ; preds = %121, %118
%126 = load i32, i32* %8
%127 = icmp eq i32 %126, 1
br i1 %127, label %128, label %181
128: ; preds = %125
store i32 0, i32* %9
%129 = load i32*, i32** %4
%130 = load i64, i64* %5
%131 = load i32, i32* @SEEK_SET
%132 = call i32 @fseek(i32* %129, i64 %130, i32 %131)
br label %133
133: ; preds = %146, %128
%134 = load i32*, i32** %4
%135 = call i64 @feof(i32* %134)
%136 = icmp eq i64 %135, 0
br i1 %136, label %137, label %147
137: ; preds = %133
%138 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%139 = load i32*, i32** %4
%140 = call i32* @fgets(i8* %138, i32 98, i32* %139)
%141 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%142 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%143 = call i64 @strcmp(i8* %141, i8* %142)
%144 = icmp eq i64 %143, 0
br i1 %144, label %145, label %146
145: ; preds = %137
store i32 1, i32* %9
br label %146
146: ; preds = %145, %137
br label %133
147: ; preds = %133
%148 = load i32, i32* %9
%149 = icmp eq i32 %148, 0
br i1 %149, label %150, label %161
150: ; preds = %147
%151 = load i32*, i32** %4
%152 = load i64, i64* %5
%153 = load i32, i32* @SEEK_SET
%154 = call i32 @fseek(i32* %151, i64 %152, i32 %153)
%155 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%156 = load i32*, i32** %4
%157 = call i32* @fgets(i8* %155, i32 98, i32* %156)
%158 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%159 = load i32*, i32** %4
%160 = call i32 @fputs(i8* %158, i32* %159)
br label %180
161: ; preds = %147
%162 = load i32, i32* %11
%163 = add nsw i32 %162, 1
store i32 %163, i32* %11
%164 = load i32*, i32** %4
%165 = load i64, i64* %5
%166 = load i32, i32* @SEEK_SET
%167 = call i32 @fseek(i32* %164, i64 %165, i32 %166)
%168 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
store i8 0, i8* %168
br label %169
169: ; preds = %173, %161
%170 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%171 = call i64 @strstr(i8* %170, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%172 = icmp eq i64 %171, 0
br i1 %172, label %173, label %179
173: ; preds = %169
%174 = load i32*, i32** %4
%175 = call i64 @ftell(i32* %174)
store i64 %175, i64* %5
%176 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%177 = load i32*, i32** %4
%178 = call i32* @fgets(i8* %176, i32 98, i32* %177)
br label %169
179: ; preds = %169
br label %180
180: ; preds = %179, %150
br label %181
181: ; preds = %180, %125
%182 = load i32, i32* %8
%183 = icmp eq i32 %182, 1
br i1 %183, label %184, label %189
184: ; preds = %181
%185 = load i32*, i32** %4
%186 = load i64, i64* %5
%187 = load i32, i32* @SEEK_SET
%188 = call i32 @fseek(i32* %185, i64 %186, i32 %187)
store i32 0, i32* %8
br label %189
189: ; preds = %184, %181
%190 = load i32, i32* %8
%191 = icmp eq i32 %190, 0
br i1 %191, label %192, label %197
192: ; preds = %189
%193 = load i32*, i32** %4
%194 = call i64 @feof(i32* %193)
%195 = icmp ne i64 %194, 0
br i1 %195, label %196, label %197
196: ; preds = %192
br label %198
197: ; preds = %192, %189
br label %111
198: ; preds = %196
%199 = load i32, i32* %11
%200 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i64 0, i64 0), i32 %199)
%201 = load i32, i32* %10
%202 = load i32, i32* %11
%203 = icmp eq i32 %201, %202
br i1 %203, label %204, label %207
204: ; preds = %198
%205 = load i32, i32* %10
%206 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.10, i64 0, i64 0), i32 %205)
br label %209
207: ; preds = %198
%208 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.11, i64 0, i64 0))
br label %209
209: ; preds = %207, %204
%210 = load i32*, i32** %3
%211 = call i32 @fclose(i32* %210)
%212 = load i32*, i32** %4
%213 = call i32 @fclose(i32* %212)
%214 = load i32*, i32** %1
%215 = call i32 @fclose(i32* %214)
%216 = load i32*, i32** %2
%217 = call i32 @fclose(i32* %216)
ret void
}

LLVM IR (-O2):
@.str.1 = [16 x i8] c"../funcs_list.c\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [22 x i8] c"../funcs_list_clean.c\00"
@.str.4 = [2 x i8] c"w\00"
@.str.5 = [24 x i8] c"../funcs_binding_code.c\00"
@.str.6 = [30 x i8] c"../funcs_binding_code_clean.c\00"
@.str.7 = [7 x i8] c"//####\00"
@SEEK_SET = global i32 0
@.str.8 = [45 x i8] c"In function names was deleted %d duplicates\0A\00"
@.str.9 = [52 x i8] c"In function binding code was deleted %d duplicates\0A\00"
@.str.10 = [62 x i8] c"\0A__________________ OK (%d duplicates both) ________________\0A\00"
@str = [36 x i8] c"\0A\0AAnalysing duplicates in progress\0A\00"
@str.12 = [56 x i8] c"\0A__________________ERROR in duplicates ________________\00"
define void @luaglew_duplicate_deleter() {
%1 = alloca [100 x i8]
%2 = alloca [100 x i8]
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str, i64 0, i64 0))
%4 = tail call i32* @fopen(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32* @fopen(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32* @fopen(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32* @fopen(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%8 = getelementptr inbounds [100 x i8], [100 x i8]* %1, i64 0, i64 0
%9 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 0
store i8 0, i8* %8
br label %10
10: ; preds = %56, %0
%11 = phi i32 [ 0, %0 ], [ %57, %56 ]
%12 = call i32* @fgets(i8* %8, i32 98, i32* %4)
%13 = icmp eq i32* %12, null
br i1 %13, label %60, label %14
14: ; preds = %10
%15 = call i64 @strstr(i8* %8, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @fputs(i8* %8, i32* %5)
br label %56
19: ; preds = %14
%20 = call i64 @ftell(i32* %4)
%21 = load i32, i32* @SEEK_SET
%22 = call i32 @fseek(i32* %4, i64 %20, i32 %21)
%23 = call i64 @feof(i32* %4)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %19, %25
%26 = phi i32 [ %30, %25 ], [ 0, %19 ]
%27 = call i32* @fgets(i8* %9, i32 98, i32* %4)
%28 = call i64 @strcmp(i8* %9, i8* %8)
%29 = icmp eq i64 %28, 0
%30 = select i1 %29, i32 1, i32 %26
%31 = call i64 @feof(i32* %4)
%32 = icmp eq i64 %31, 0
br i1 %32, label %25, label %33
33: ; preds = %25
%34 = icmp eq i32 %30, 0
br i1 %34, label %35, label %40
35: ; preds = %19, %33
%36 = load i32, i32* @SEEK_SET
%37 = call i32 @fseek(i32* %4, i64 %20, i32 %36)
%38 = call i32* @fgets(i8* %8, i32 98, i32* %4)
%39 = call i32 @fputs(i8* %8, i32* %4)
br label %51
40: ; preds = %33
%41 = add nsw i32 %11, 1
%42 = load i32, i32* @SEEK_SET
%43 = call i32 @fseek(i32* %4, i64 %20, i32 %42)
store i8 0, i8* %9
%44 = call i64 @strstr(i8* %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %40, %46
%47 = call i64 @ftell(i32* %4)
%48 = call i32* @fgets(i8* %9, i32 98, i32* %4)
%49 = call i64 @strstr(i8* %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %46, label %51
51: ; preds = %46, %35, %40
%52 = phi i64 [ %20, %35 ], [ %20, %40 ], [ %47, %46 ]
%53 = phi i32 [ %11, %35 ], [ %41, %40 ], [ %41, %46 ]
%54 = load i32, i32* @SEEK_SET
%55 = call i32 @fseek(i32* %4, i64 %52, i32 %54)
br label %56
56: ; preds = %17, %51
%57 = phi i32 [ %11, %17 ], [ %53, %51 ]
%58 = call i64 @feof(i32* %4)
%59 = icmp eq i64 %58, 0
br i1 %59, label %10, label %60
60: ; preds = %56, %10
%61 = phi i32 [ %11, %10 ], [ %57, %56 ]
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0), i32 %61)
br label %63
63: ; preds = %107, %60
%64 = phi i32 [ 0, %60 ], [ %108, %107 ]
%65 = call i32* @fgets(i8* %8, i32 98, i32* %6)
%66 = call i64 @strstr(i8* %8, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%67 = icmp eq i64 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %63
%69 = call i32 @fputs(i8* %8, i32* %7)
br label %107
70: ; preds = %63
%71 = call i64 @ftell(i32* %6)
%72 = load i32, i32* @SEEK_SET
%73 = call i32 @fseek(i32* %6, i64 %71, i32 %72)
%74 = call i64 @feof(i32* %6)
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %86
76: ; preds = %70, %76
%77 = phi i32 [ %81, %76 ], [ 0, %70 ]
%78 = call i32* @fgets(i8* %9, i32 98, i32* %6)
%79 = call i64 @strcmp(i8* %9, i8* %8)
%80 = icmp eq i64 %79, 0
%81 = select i1 %80, i32 1, i32 %77
%82 = call i64 @feof(i32* %6)
%83 = icmp eq i64 %82, 0
br i1 %83, label %76, label %84
84: ; preds = %76
%85 = icmp eq i32 %81, 0
br i1 %85, label %86, label %91
86: ; preds = %70, %84
%87 = load i32, i32* @SEEK_SET
%88 = call i32 @fseek(i32* %6, i64 %71, i32 %87)
%89 = call i32* @fgets(i8* %8, i32 98, i32* %6)
%90 = call i32 @fputs(i8* %8, i32* %6)
br label %102
91: ; preds = %84
%92 = add nsw i32 %64, 1
%93 = load i32, i32* @SEEK_SET
%94 = call i32 @fseek(i32* %6, i64 %71, i32 %93)
store i8 0, i8* %9
%95 = call i64 @strstr(i8* %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %102
97: ; preds = %91, %97
%98 = call i64 @ftell(i32* %6)
%99 = call i32* @fgets(i8* %9, i32 98, i32* %6)
%100 = call i64 @strstr(i8* %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%101 = icmp eq i64 %100, 0
br i1 %101, label %97, label %102
102: ; preds = %97, %86, %91
%103 = phi i64 [ %71, %86 ], [ %71, %91 ], [ %98, %97 ]
%104 = phi i32 [ %64, %86 ], [ %92, %91 ], [ %92, %97 ]
%105 = load i32, i32* @SEEK_SET
%106 = call i32 @fseek(i32* %6, i64 %103, i32 %105)
br label %107
107: ; preds = %68, %102
%108 = phi i32 [ %64, %68 ], [ %104, %102 ]
%109 = call i64 @feof(i32* %6)
%110 = icmp eq i64 %109, 0
br i1 %110, label %63, label %111
111: ; preds = %107
%112 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i64 0, i64 0), i32 %108)
%113 = icmp eq i32 %61, %108
br i1 %113, label %114, label %116
114: ; preds = %111
%115 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @.str.10, i64 0, i64 0), i32 %61)
br label %118
116: ; preds = %111
%117 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.12, i64 0, i64 0))
br label %118
118: ; preds = %116, %114
%119 = call i32 @fclose(i32* %4)
%120 = call i32 @fclose(i32* %6)
%121 = call i32 @fclose(i32* %5)
%122 = call i32 @fclose(i32* %7)
ret void
}