#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 */
scalar_t__ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ feof(int /*<<< orphan*/ *);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/ *);
scalar_t__ memcmp(char *, char *, int);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ strcat(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
void process_e(char *filename) {
  FILE *f1, *f2;
  char buf[512], *pp;
  char tmp_buf[512];
  int i, len;
  f1 = fopen(filename, "r");
  if (f1 == NULL) {
    printf("prool_process_e: can't open input file `%s'\n", filename);
    return;
  }
  f2 = fopen("prool.tmp", "w");
  if (f2 == NULL) {
    printf("prool_process_e: can't open tmp file `%s'\n", "prool.tmp");
    return;
  }
  while (!feof(f1)) {
    buf[0] = 0;
    fgets(buf, 512, f1);
    if (memcmp(buf, "PERMANENT GROUP", strlen("PERMANENT GROUP")) == 0) {
      strcpy(tmp_buf, buf);
      strcpy(buf, "gr");
      strcat(buf, pp + strlen("PERMANENT GROUP"));
    }
    len = strlen(buf);
    for (i = 0; i < len; i++) {
      if (buf[i] == 'D')
        buf[i] = 'E';
    }
    fputs(buf, f2);
  }
  fclose(f1);
  if (fclose(f2)) {
    printf("prool_process_e: can't close tmp file `%s'\n", "prool.tmp");
    return;
  }
}


x86 assembly (clang, -O0):
<process_e>:
push   %rbp
mov    %rsp,%rbp
sub    $0x450,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xebb(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    11e3 <process_e+0x43>
mov    -0x8(%rbp),%rsi
lea    0xe27(%rip),%rdi
call   1060 <printf@plt>
jmp    13ad <process_e+0x20d>
lea    0xe43(%rip),%rdi
lea    0xe46(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    121d <process_e+0x7d>
lea    0xe2d(%rip),%rdi
lea    0xe1a(%rip),%rsi
call   1060 <printf@plt>
jmp    13ad <process_e+0x20d>
jmp    1222 <process_e+0x82>
mov    -0x10(%rbp),%rdi
call   10a0 <feof@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
test   $0x1,%al
jne    1240 <process_e+0xa0>
jmp    137e <process_e+0x1de>
movb   $0x0,-0x220(%rbp)
lea    -0x220(%rbp),%rdi
mov    -0x10(%rbp),%rdx
mov    $0x200,%esi
call   1090 <fgets@plt>
lea    -0x220(%rbp),%rax
mov    %rax,-0x440(%rbp)
lea    0xdf3(%rip),%rdi
call   1050 <strlen@plt>
mov    -0x440(%rbp),%rdi
mov    %eax,%edx
lea    0xdde(%rip),%rsi
call   1080 <memcmp@plt>
cmp    $0x0,%rax
jne    12fb <process_e+0x15b>
lea    -0x430(%rbp),%rdi
lea    -0x220(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x220(%rbp),%rdi
lea    0xdbe(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x220(%rbp),%rax
mov    %rax,-0x448(%rbp)
mov    -0x228(%rbp),%rax
mov    %rax,-0x450(%rbp)
lea    0xd86(%rip),%rdi
call   1050 <strlen@plt>
mov    -0x450(%rbp),%rsi
mov    -0x448(%rbp),%rdi
cltq
add    %rax,%rsi
call   10c0 <strcat@plt>
lea    -0x220(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,-0x438(%rbp)
movl   $0x0,-0x434(%rbp)
mov    -0x434(%rbp),%eax
cmp    -0x438(%rbp),%eax
jge    1369 <process_e+0x1c9>
movslq -0x434(%rbp),%rax
movsbl -0x220(%rbp,%rax,1),%eax
ff
cmp    $0x44,%eax
jne    1350 <process_e+0x1b0>
movslq -0x434(%rbp),%rax
movb   $0x45,-0x220(%rbp,%rax,1)
45
jmp    1355 <process_e+0x1b5>
mov    -0x434(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x434(%rbp)
jmp    1317 <process_e+0x177>
lea    -0x220(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1070 <fputs@plt>
jmp    1222 <process_e+0x82>
mov    -0x10(%rbp),%rdi
call   1040 <fclose@plt>
mov    -0x18(%rbp),%rdi
call   1040 <fclose@plt>
cmp    $0x0,%rax
je     13ad <process_e+0x20d>
lea    0xcd6(%rip),%rdi
lea    0xc85(%rip),%rsi
call   1060 <printf@plt>
add    $0x450,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<process_e>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x408,%rsp
mov    %rdi,%rbx
lea    0xeda(%rip),%rsi
call   10b0 <fopen@plt>
test   %rax,%rax
je     1229 <process_e+0x89>
mov    %rax,%r15
lea    0xe7e(%rip),%rdi
lea    0xe81(%rip),%rsi
call   10b0 <fopen@plt>
test   %rax,%rax
je     1235 <process_e+0x95>
mov    %rax,%r14
mov    %r15,%rdi
call   10a0 <feof@plt>
test   %eax,%eax
je     1259 <process_e+0xb9>
mov    %r15,%rdi
call   1040 <fclose@plt>
mov    %r14,%rdi
call   1040 <fclose@plt>
test   %rax,%rax
je     1217 <process_e+0x77>
lea    0xe8c(%rip),%rdi
lea    0xe3b(%rip),%rsi
call   1060 <printf@plt>
add    $0x408,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xdf0(%rip),%rdi
mov    %rbx,%rsi
jmp    1243 <process_e+0xa3>
lea    0xe1d(%rip),%rdi
lea    0xe0a(%rip),%rsi
add    $0x408,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <printf@plt>
mov    %rsp,%rbx
lea    0xe21(%rip),%r12
lea    0x200(%rsp),%r13
lea    0xe22(%rip),%rbp
jmp    129b <process_e+0xfb>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %rbx,%rdi
mov    %r14,%rsi
call   1070 <fputs@plt>
mov    %r15,%rdi
call   10a0 <feof@plt>
test   %eax,%eax
jne    11ef <process_e+0x4f>
movb   $0x0,(%rsp)
mov    %rbx,%rdi
mov    $0x200,%esi
mov    %r15,%rdx
call   1090 <fgets@plt>
mov    %r12,%rdi
call   1050 <strlen@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %eax,%edx
call   1080 <memcmp@plt>
test   %rax,%rax
jne    12ef <process_e+0x14f>
mov    %r13,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1030 <strcpy@plt>
mov    %r12,%rdi
call   1050 <strlen@plt>
mov    %rbx,%rdi
call   10c0 <strcat@plt>
mov    %rbx,%rdi
call   1050 <strlen@plt>
test   %eax,%eax
jle    1280 <process_e+0xe0>
mov    %eax,%ecx
cmp    $0x10,%eax
jae    1310 <process_e+0x170>
xor    %eax,%eax
jmp    14ed <process_e+0x34d>
nopl   0x0(%rax)
mov    %ecx,%eax
and    $0xfffffff0,%eax
xor    %edx,%edx
movdqa 0xce1(%rip),%xmm3
movdqa 0xce9(%rip),%xmm4
jmp    133d <process_e+0x19d>
nopl   0x0(%rax)
add    $0x10,%rdx
cmp    %rdx,%rax
je     14d0 <process_e+0x330>
movq   (%rsp,%rdx,1),%xmm1
movdqa %xmm1,%xmm0
pcmpeqb %xmm3,%xmm0
movd   %xmm0,%esi
test   $0x1,%sil
je     1358 <process_e+0x1b8>
movb   $0x45,(%rsp,%rdx,1)
movdqa %xmm0,%xmm2
pslld  $0x8,%xmm2
movd   %xmm2,%esi
shr    $0x10,%esi
test   $0x1,%sil
je     1373 <process_e+0x1d3>
movb   $0x45,0x1(%rsp,%rdx,1)
pshuflw $0x55,%xmm1,%xmm2
pcmpeqb %xmm3,%xmm2
pextrw $0x2,%xmm2,%esi
test   $0x1,%sil
je     138c <process_e+0x1ec>
movb   $0x45,0x2(%rsp,%rdx,1)
movdqa %xmm0,%xmm2
psllq  $0x18,%xmm2
pextrw $0x3,%xmm2,%esi
test   $0x1,%sil
je     13a5 <process_e+0x205>
movb   $0x45,0x3(%rsp,%rdx,1)
pshufd $0x55,%xmm1,%xmm1
pcmpeqb %xmm4,%xmm1
pextrw $0x4,%xmm1,%esi
test   $0x1,%sil
je     13be <process_e+0x21e>
movb   $0x45,0x4(%rsp,%rdx,1)
movdqa %xmm0,%xmm1
pslldq $0x5,%xmm1
pextrw $0x5,%xmm1,%esi
test   $0x1,%sil
je     13d7 <process_e+0x237>
movb   $0x45,0x5(%rsp,%rdx,1)
pextrw $0x3,%xmm0,%esi
test   $0x1,%sil
je     13e7 <process_e+0x247>
movb   $0x45,0x6(%rsp,%rdx,1)
pslldq $0x7,%xmm0
pextrw $0x7,%xmm0,%esi
test   $0x1,%sil
je     13fc <process_e+0x25c>
movb   $0x45,0x7(%rsp,%rdx,1)
movq   0x8(%rsp,%rdx,1),%xmm1
movdqa %xmm1,%xmm0
pcmpeqb %xmm3,%xmm0
movd   %xmm0,%esi
test   $0x1,%sil
je     1419 <process_e+0x279>
movb   $0x45,0x8(%rsp,%rdx,1)
movdqa %xmm0,%xmm2
pslld  $0x8,%xmm2
movd   %xmm2,%esi
shr    $0x10,%esi
test   $0x1,%sil
je     1434 <process_e+0x294>
movb   $0x45,0x9(%rsp,%rdx,1)
pshuflw $0x55,%xmm1,%xmm2
pcmpeqb %xmm3,%xmm2
pextrw $0x2,%xmm2,%esi
test   $0x1,%sil
je     144d <process_e+0x2ad>
movb   $0x45,0xa(%rsp,%rdx,1)
movdqa %xmm0,%xmm2
psllq  $0x18,%xmm2
pextrw $0x3,%xmm2,%esi
test   $0x1,%sil
je     1466 <process_e+0x2c6>
movb   $0x45,0xb(%rsp,%rdx,1)
pshufd $0x55,%xmm1,%xmm1
pcmpeqb %xmm4,%xmm1
pextrw $0x4,%xmm1,%esi
test   $0x1,%sil
je     147f <process_e+0x2df>
movb   $0x45,0xc(%rsp,%rdx,1)
movdqa %xmm0,%xmm1
pslldq $0x5,%xmm1
pextrw $0x5,%xmm1,%esi
test   $0x1,%sil
je     1498 <process_e+0x2f8>
movb   $0x45,0xd(%rsp,%rdx,1)
pextrw $0x3,%xmm0,%esi
test   $0x1,%sil
je     14a8 <process_e+0x308>
movb   $0x45,0xe(%rsp,%rdx,1)
pslldq $0x7,%xmm0
pextrw $0x7,%xmm0,%esi
test   $0x1,%sil
je     1330 <process_e+0x190>
movb   $0x45,0xf(%rsp,%rdx,1)
jmp    1330 <process_e+0x190>
cs nopw 0x0(%rax,%rax,1)
cmp    %rcx,%rax
jne    14ed <process_e+0x34d>
jmp    1280 <process_e+0xe0>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rax
cmp    %rax,%rcx
je     1280 <process_e+0xe0>
cmpb   $0x44,(%rsp,%rax,1)
jne    14e0 <process_e+0x340>
movb   $0x45,(%rsp,%rax,1)
jmp    14e0 <process_e+0x340>

LLVM IR (-O0):
@.str = [2 x i8] c"r\00"
@.str.1 = [45 x i8] c"prool_process_e: can't open input file `%s'\0A\00"
@.str.2 = [10 x i8] c"prool.tmp\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [43 x i8] c"prool_process_e: can't open tmp file `%s'\0A\00"
@.str.5 = [16 x i8] c"PERMANENT GROUP\00"
@.str.6 = [3 x i8] c"gr\00"
@.str.7 = [44 x i8] c"prool_process_e: can't close tmp file `%s'\0A\00"
define void @process_e(i8* %0) {
%2 = alloca i8*
%3 = alloca i32*
%4 = alloca i32*
%5 = alloca [512 x i8]
%6 = alloca i8*
%7 = alloca [512 x i8]
%8 = alloca i32
%9 = alloca i32
store i8* %0, i8** %2
%10 = load i8*, i8** %2
%11 = call i32* @fopen(i8* %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %11, i32** %3
%12 = load i32*, i32** %3
%13 = icmp eq i32* %12, null
br i1 %13, label %14, label %17
14: ; preds = %1
%15 = load i8*, i8** %2
%16 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0), i8* %15)
br label %84
17: ; preds = %1
%18 = call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %18, i32** %4
%19 = load i32*, i32** %4
%20 = icmp eq i32* %19, null
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %84
23: ; preds = %17
br label %24
24: ; preds = %72, %23
%25 = load i32*, i32** %3
%26 = call i32 @feof(i32* %25)
%27 = icmp ne i32 %26, 0
%28 = xor i1 %27, true
br i1 %28, label %29, label %76
29: ; preds = %24
%30 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
store i8 0, i8* %30
%31 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
%32 = load i32*, i32** %3
%33 = call i32 @fgets(i8* %31, i32 512, i32* %32)
%34 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
%35 = call i32 @strlen(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%36 = call i64 @memcmp(i8* %34, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0), i32 %35)
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %50
38: ; preds = %29
%39 = getelementptr inbounds [512 x i8], [512 x i8]* %7, i64 0, i64 0
%40 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
%41 = call i32 @strcpy(i8* %39, i8* %40)
%42 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
%43 = call i32 @strcpy(i8* %42, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%44 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
%45 = load i8*, i8** %6
%46 = call i32 @strlen(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, i8* %45, i64 %47
%49 = call i32 @strcat(i8* %44, i8* %48)
br label %50
50: ; preds = %38, %29
%51 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
%52 = call i32 @strlen(i8* %51)
store i32 %52, i32* %9
store i32 0, i32* %8
br label %53
53: ; preds = %69, %50
%54 = load i32, i32* %8
%55 = load i32, i32* %9
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %72
57: ; preds = %53
%58 = load i32, i32* %8
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 %59
%61 = load i8, i8* %60
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 68
br i1 %63, label %64, label %68
64: ; preds = %57
%65 = load i32, i32* %8
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 %66
store i8 69, i8* %67
br label %68
68: ; preds = %64, %57
br label %69
69: ; preds = %68
%70 = load i32, i32* %8
%71 = add nsw i32 %70, 1
store i32 %71, i32* %8
br label %53
72: ; preds = %53
%73 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
%74 = load i32*, i32** %4
%75 = call i32 @fputs(i8* %73, i32* %74)
br label %24
76: ; preds = %24
%77 = load i32*, i32** %3
%78 = call i64 @fclose(i32* %77)
%79 = load i32*, i32** %4
%80 = call i64 @fclose(i32* %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %76
%83 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %84
84: ; preds = %14, %21, %82, %76
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.1 = [45 x i8] c"prool_process_e: can't open input file `%s'\0A\00"
@.str.2 = [10 x i8] c"prool.tmp\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [43 x i8] c"prool_process_e: can't open tmp file `%s'\0A\00"
@.str.5 = [16 x i8] c"PERMANENT GROUP\00"
@.str.6 = [3 x i8] c"gr\00"
@.str.7 = [44 x i8] c"prool_process_e: can't close tmp file `%s'\0A\00"
define void @process_e(i8* %0) {
%2 = alloca [512 x i8]
%3 = alloca [512 x i8]
%4 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 0
%5 = getelementptr inbounds [512 x i8], [512 x i8]* %3, i64 0, i64 0
%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 %8, label %10
8: ; preds = %1
%9 = tail call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0), i8* %0)
br label %150
10: ; preds = %1
%11 = tail call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%12 = icmp eq i32* %11, null
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = call i32 @feof(i32* %6)
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %144
16: ; preds = %10
%17 = tail call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %150
18: ; preds = %13, %140
store i8 0, i8* %4
%19 = call i32 @fgets(i8* %4, i32 512, i32* %6)
%20 = call i32 @strlen(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%21 = call i64 @memcmp(i8* %4, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0), i32 %20)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = call i32 @strcpy(i8* %5, i8* %4)
%25 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%26 = call i32 @strlen(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%27 = call i32 @strcat(i8* %4, i8* poison)
br label %28
28: ; preds = %23, %18
%29 = call i32 @strlen(i8* %4)
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %140
31: ; preds = %28
%32 = zext i32 %29 to i64
%33 = icmp ult i32 %29, 16
br i1 %33, label %129, label %34
34: ; preds = %31
%35 = and i64 %32, 4294967280
br label %36
36: ; preds = %124, %34
%37 = phi i64 [ 0, %34 ], [ %125, %124 ]
%38 = or i64 %37, 8
%39 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %37
%40 = bitcast i8* %39 to <8 x i8>*
%41 = load <8 x i8>, <8 x i8>* %40
%42 = getelementptr inbounds i8, i8* %39, i64 8
%43 = bitcast i8* %42 to <8 x i8>*
%44 = load <8 x i8>, <8 x i8>* %43
%45 = icmp eq <8 x i8> %41, <i8 68, i8 68, i8 68, i8 68, i8 68, i8 68, i8 68, i8 68>
%46 = icmp eq <8 x i8> %44, <i8 68, i8 68, i8 68, i8 68, i8 68, i8 68, i8 68, i8 68>
%47 = extractelement <8 x i1> %45, i64 0
br i1 %47, label %48, label %50
48: ; preds = %36
%49 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %37
store i8 69, i8* %49
br label %50
50: ; preds = %48, %36
%51 = extractelement <8 x i1> %45, i64 1
br i1 %51, label %52, label %55
52: ; preds = %50
%53 = or i64 %37, 1
%54 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %53
store i8 69, i8* %54
br label %55
55: ; preds = %52, %50
%56 = extractelement <8 x i1> %45, i64 2
br i1 %56, label %57, label %60
57: ; preds = %55
%58 = or i64 %37, 2
%59 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %58
store i8 69, i8* %59
br label %60
60: ; preds = %57, %55
%61 = extractelement <8 x i1> %45, i64 3
br i1 %61, label %62, label %65
62: ; preds = %60
%63 = or i64 %37, 3
%64 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %63
store i8 69, i8* %64
br label %65
65: ; preds = %62, %60
%66 = extractelement <8 x i1> %45, i64 4
br i1 %66, label %67, label %70
67: ; preds = %65
%68 = or i64 %37, 4
%69 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %68
store i8 69, i8* %69
br label %70
70: ; preds = %67, %65
%71 = extractelement <8 x i1> %45, i64 5
br i1 %71, label %72, label %75
72: ; preds = %70
%73 = or i64 %37, 5
%74 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %73
store i8 69, i8* %74
br label %75
75: ; preds = %72, %70
%76 = extractelement <8 x i1> %45, i64 6
br i1 %76, label %77, label %80
77: ; preds = %75
%78 = or i64 %37, 6
%79 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %78
store i8 69, i8* %79
br label %80
80: ; preds = %77, %75
%81 = extractelement <8 x i1> %45, i64 7
br i1 %81, label %82, label %85
82: ; preds = %80
%83 = or i64 %37, 7
%84 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %83
store i8 69, i8* %84
br label %85
85: ; preds = %82, %80
%86 = extractelement <8 x i1> %46, i64 0
br i1 %86, label %87, label %89
87: ; preds = %85
%88 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %38
store i8 69, i8* %88
br label %89
89: ; preds = %87, %85
%90 = extractelement <8 x i1> %46, i64 1
br i1 %90, label %91, label %94
91: ; preds = %89
%92 = or i64 %37, 9
%93 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %92
store i8 69, i8* %93
br label %94
94: ; preds = %91, %89
%95 = extractelement <8 x i1> %46, i64 2
br i1 %95, label %96, label %99
96: ; preds = %94
%97 = or i64 %37, 10
%98 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %97
store i8 69, i8* %98
br label %99
99: ; preds = %96, %94
%100 = extractelement <8 x i1> %46, i64 3
br i1 %100, label %101, label %104
101: ; preds = %99
%102 = or i64 %37, 11
%103 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %102
store i8 69, i8* %103
br label %104
104: ; preds = %101, %99
%105 = extractelement <8 x i1> %46, i64 4
br i1 %105, label %106, label %109
106: ; preds = %104
%107 = or i64 %37, 12
%108 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %107
store i8 69, i8* %108
br label %109
109: ; preds = %106, %104
%110 = extractelement <8 x i1> %46, i64 5
br i1 %110, label %111, label %114
111: ; preds = %109
%112 = or i64 %37, 13
%113 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %112
store i8 69, i8* %113
br label %114
114: ; preds = %111, %109
%115 = extractelement <8 x i1> %46, i64 6
br i1 %115, label %116, label %119
116: ; preds = %114
%117 = or i64 %37, 14
%118 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %117
store i8 69, i8* %118
br label %119
119: ; preds = %116, %114
%120 = extractelement <8 x i1> %46, i64 7
br i1 %120, label %121, label %124
121: ; preds = %119
%122 = or i64 %37, 15
%123 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %122
store i8 69, i8* %123
br label %124
124: ; preds = %121, %119
%125 = add nuw i64 %37, 16
%126 = icmp eq i64 %125, %35
br i1 %126, label %127, label %36
127: ; preds = %124
%128 = icmp eq i64 %35, %32
br i1 %128, label %140, label %129
129: ; preds = %31, %127
%130 = phi i64 [ 0, %31 ], [ %35, %127 ]
br label %131
131: ; preds = %129, %137
%132 = phi i64 [ %138, %137 ], [ %130, %129 ]
%133 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %132
%134 = load i8, i8* %133
%135 = icmp eq i8 %134, 68
br i1 %135, label %136, label %137
136: ; preds = %131
store i8 69, i8* %133
br label %137
137: ; preds = %131, %136
%138 = add nuw nsw i64 %132, 1
%139 = icmp eq i64 %138, %32
br i1 %139, label %140, label %131
140: ; preds = %137, %127, %28
%141 = call i32 @fputs(i8* %4, i32* %11)
%142 = call i32 @feof(i32* %6)
%143 = icmp eq i32 %142, 0
br i1 %143, label %18, label %144
144: ; preds = %140, %13
%145 = call i64 @fclose(i32* %6)
%146 = call i64 @fclose(i32* %11)
%147 = icmp eq i64 %146, 0
br i1 %147, label %150, label %148
148: ; preds = %144
%149 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %150
150: ; preds = %144, %148, %16, %8
ret void
}