#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 stat {
  scalar_t__ st_size;
};
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int EOF;
int EXIT_FAILURE;
int EXIT_SUCCESS;
int /*<<< orphan*/ err(int, char *, ...);
int /*<<< orphan*/ errx(int, char *, char *);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ fileno(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int fstat(int /*<<< orphan*/, struct stat *);
int getc(int /*<<< orphan*/ *);
int getopt(int, char **, char *);
int /*<<< orphan*/ usage(char *);
int main(int argc, char *argv[]) {
  struct stat buf1, buf2;
  FILE *f1, *f2;
  int opt, c1, c2;
  int hflag = 0;
  while ((opt = getopt(argc, argv, ":h")) != -1) {
    switch (opt) {
    case 'h':
      hflag = 1;
      break;
    default:
      errx(1, "see %s -h", argv[0]);
    }
  }
  if (hflag) {
    usage(argv[0]);
    return EXIT_SUCCESS;
  }
  if (argc != 3) {
    usage(argv[0]);
    return EXIT_FAILURE;
  }
  f1 = fopen(argv[1], "r");
  f2 = fopen(argv[2], "r");
  if (!f1)
    err(1, "%s ", argv[1]);
  if (!f2)
    err(1, "%s ", argv[2]);
  if ((fstat(fileno(f1), &buf1) == -1) || (fstat(fileno(f2), &buf2) != 0))
    err(1, "fstat file\n");
  if (buf1.st_size != buf2.st_size) {
    fclose(f1);
    fclose(f2);
    return EXIT_FAILURE;
  }
  c1 = getc(f1);
  c2 = getc(f2);
  while ((c1 != EOF) && (c2 != EOF) && (c1 == c2)) {
    c1 = getc(f1);
    c2 = getc(f2);
  }
  if (c1 == c2) {
    fclose(f1);
    fclose(f2);
    return EXIT_SUCCESS;
  } else {
    fclose(f1);
    fclose(f2);
    return EXIT_FAILURE;
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x40(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe45(%rip),%rdx
call   1090 <getopt@plt>
mov    %eax,-0x34(%rbp)
cmp    $0xffffffff,%eax
je     1206 <main+0x76>
mov    -0x34(%rbp),%eax
sub    $0x68,%eax
jne    11e9 <main+0x59>
jmp    11dd <main+0x4d>
movl   $0x1,-0x40(%rbp)
jmp    1201 <main+0x71>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
mov    $0x1,%edi
lea    0xe07(%rip),%rsi
call   1040 <errx@plt>
jmp    11ad <main+0x1d>
cmpl   $0x0,-0x40(%rbp)
je     122d <main+0x9d>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1070 <usage@plt>
mov    0x2dad(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    141a <main+0x28a>
cmpl   $0x3,-0x8(%rbp)
je     1254 <main+0xc4>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1070 <usage@plt>
mov    0x2d8e(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    141a <main+0x28a>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdaa(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xd92(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    12aa <main+0x11a>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdx
mov    $0x1,%edi
lea    0xd6c(%rip),%rsi
mov    $0x0,%al
call   1060 <err@plt>
cmpq   $0x0,-0x30(%rbp)
jne    12d0 <main+0x140>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdx
mov    $0x1,%edi
lea    0xd46(%rip),%rsi
mov    $0x0,%al
call   1060 <err@plt>
mov    -0x28(%rbp),%rdi
call   1050 <fileno@plt>
mov    %eax,%edi
lea    -0x18(%rbp),%rsi
call   10a0 <fstat@plt>
cmp    $0xffffffff,%eax
je     130a <main+0x17a>
mov    -0x30(%rbp),%rdi
call   1050 <fileno@plt>
mov    %eax,%edi
lea    -0x20(%rbp),%rsi
call   10a0 <fstat@plt>
cmp    $0x0,%eax
je     131d <main+0x18d>
mov    $0x1,%edi
lea    0xcfd(%rip),%rsi
mov    $0x0,%al
call   1060 <err@plt>
mov    -0x18(%rbp),%rax
cmp    -0x20(%rbp),%rax
je     134e <main+0x1be>
mov    -0x28(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x30(%rbp),%rdi
call   1030 <fclose@plt>
mov    0x2c94(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    141a <main+0x28a>
mov    -0x28(%rbp),%rdi
call   10b0 <getc@plt>
mov    %eax,-0x38(%rbp)
mov    -0x30(%rbp),%rdi
call   10b0 <getc@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x38(%rbp),%ecx
xor    %eax,%eax
mov    0x2c76(%rip),%rdx
cmp    (%rdx),%ecx
mov    %al,-0x41(%rbp)
je     13a0 <main+0x210>
mov    -0x3c(%rbp),%ecx
xor    %eax,%eax
mov    0x2c5f(%rip),%rdx
cmp    (%rdx),%ecx
mov    %al,-0x41(%rbp)
je     13a0 <main+0x210>
mov    -0x38(%rbp),%eax
cmp    -0x3c(%rbp),%eax
sete   %al
mov    %al,-0x41(%rbp)
mov    -0x41(%rbp),%al
test   $0x1,%al
jne    13b0 <main+0x220>
jmp    13cd <main+0x23d>
mov    -0x28(%rbp),%rdi
call   10b0 <getc@plt>
mov    %eax,-0x38(%rbp)
mov    -0x30(%rbp),%rdi
call   10b0 <getc@plt>
mov    %eax,-0x3c(%rbp)
jmp    1366 <main+0x1d6>
mov    -0x38(%rbp),%eax
cmp    -0x3c(%rbp),%eax
jne    13fc <main+0x26c>
mov    -0x28(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x30(%rbp),%rdi
call   1030 <fclose@plt>
mov    0x2bde(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    141a <main+0x28a>
mov    -0x28(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x30(%rbp),%rdi
call   1030 <fclose@plt>
mov    0x2bc3(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
mov    $0x1,%r12b
lea    0xe55(%rip),%r14
lea    0xe51(%rip),%r15
jmp    11d0 <main+0x40>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    (%rbx),%rdx
mov    $0x1,%edi
mov    %r15,%rsi
call   1040 <errx@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1090 <getopt@plt>
cmp    $0xffffffff,%eax
je     11ec <main+0x5c>
cmp    $0x68,%eax
jne    11c0 <main+0x30>
xor    %r12d,%r12d
jmp    11d0 <main+0x40>
test   $0x1,%r12b
je     12ed <main+0x15d>
cmp    $0x3,%ebp
jne    12fe <main+0x16e>
mov    0x8(%rbx),%rdi
lea    0xe03(%rip),%rbp
mov    %rbp,%rsi
call   1080 <fopen@plt>
mov    %rax,%r15
mov    0x10(%rbx),%rdi
mov    %rbp,%rsi
call   1080 <fopen@plt>
mov    %rax,%r14
test   %r15,%r15
je     132e <main+0x19e>
test   %r14,%r14
je     134e <main+0x1be>
mov    %r15,%rdi
call   1050 <fileno@plt>
lea    0x8(%rsp),%rsi
mov    %eax,%edi
call   10a0 <fstat@plt>
cmp    $0xffffffff,%eax
je     1265 <main+0xd5>
mov    %r14,%rdi
call   1050 <fileno@plt>
mov    %rsp,%rsi
mov    %eax,%edi
call   10a0 <fstat@plt>
test   %eax,%eax
je     1278 <main+0xe8>
lea    0xda7(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1060 <err@plt>
mov    0x8(%rsp),%rax
cmp    (%rsp),%rax
jne    1308 <main+0x178>
mov    %r15,%rdi
call   10b0 <getc@plt>
mov    %eax,%ebx
mov    %r14,%rdi
call   10b0 <getc@plt>
cmp    %eax,%ebx
sete   %bpl
jne    12d6 <main+0x146>
mov    0x2d40(%rip),%r12
nopl   0x0(%rax,%rax,1)
mov    (%r12),%ecx
cmp    %ecx,%ebx
je     12d6 <main+0x146>
cmp    %ecx,%eax
je     12d6 <main+0x146>
mov    %r15,%rdi
call   10b0 <getc@plt>
mov    %eax,%ebx
mov    %r14,%rdi
call   10b0 <getc@plt>
cmp    %eax,%ebx
sete   %bpl
je     12b0 <main+0x120>
mov    %r15,%rdi
call   1030 <fclose@plt>
mov    %r14,%rdi
call   1030 <fclose@plt>
test   %bpl,%bpl
jne    12f5 <main+0x165>
jmp    1318 <main+0x188>
mov    (%rbx),%rdi
call   1070 <usage@plt>
mov    0x2cd4(%rip),%rax
jmp    131f <main+0x18f>
mov    (%rbx),%rdi
call   1070 <usage@plt>
jmp    1318 <main+0x188>
mov    %r15,%rdi
call   1030 <fclose@plt>
mov    %r14,%rdi
call   1030 <fclose@plt>
mov    0x2cb9(%rip),%rax
mov    (%rax),%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x8(%rbx),%rdx
lea    0xcd6(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1060 <err@plt>
test   %r14,%r14
jne    1236 <main+0xa6>
mov    0x10(%rbx),%rdx
lea    0xcb6(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1060 <err@plt>
jmp    1236 <main+0xa6>

LLVM IR (-O0):
%struct.stat = type { i64 }
@.str = [3 x i8] c":h\00"
@.str.1 = [10 x i8] c"see %s -h\00"
@EXIT_SUCCESS = global i32 0
@EXIT_FAILURE = global i32 0
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [4 x i8] c"%s \00"
@.str.4 = [12 x i8] c"fstat file\0A\00"
@EOF = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca %struct.stat
%7 = alloca %struct.stat
%8 = alloca i32*
%9 = alloca i32*
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %13
br label %14
14: ; preds = %27, %2
%15 = load i32, i32* %4
%16 = load i8**, i8*** %5
%17 = call i32 @getopt(i32 %15, i8** %16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
store i32 %17, i32* %10
%18 = icmp ne i32 %17, -1
br i1 %18, label %19, label %28
19: ; preds = %14
%20 = load i32, i32* %10
switch i32 %20, label %22 [
i32 104, label %21
]
21: ; preds = %19
store i32 1, i32* %13
br label %27
22: ; preds = %19
%23 = load i8**, i8*** %5
%24 = getelementptr inbounds i8*, i8** %23, i64 0
%25 = load i8*, i8** %24
%26 = call i32 @errx(i32 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* %25)
br label %27
27: ; preds = %22, %21
br label %14
28: ; preds = %14
%29 = load i32, i32* %13
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %28
%32 = load i8**, i8*** %5
%33 = getelementptr inbounds i8*, i8** %32, i64 0
%34 = load i8*, i8** %33
%35 = call i32 @usage(i8* %34)
%36 = load i32, i32* @EXIT_SUCCESS
store i32 %36, i32* %3
br label %134
37: ; preds = %28
%38 = load i32, i32* %4
%39 = icmp ne i32 %38, 3
br i1 %39, label %40, label %46
40: ; preds = %37
%41 = load i8**, i8*** %5
%42 = getelementptr inbounds i8*, i8** %41, i64 0
%43 = load i8*, i8** %42
%44 = call i32 @usage(i8* %43)
%45 = load i32, i32* @EXIT_FAILURE
store i32 %45, i32* %3
br label %134
46: ; preds = %37
%47 = load i8**, i8*** %5
%48 = getelementptr inbounds i8*, i8** %47, i64 1
%49 = load i8*, i8** %48
%50 = call i32* @fopen(i8* %49, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %50, i32** %8
%51 = load i8**, i8*** %5
%52 = getelementptr inbounds i8*, i8** %51, i64 2
%53 = load i8*, i8** %52
%54 = call i32* @fopen(i8* %53, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %54, i32** %9
%55 = load i32*, i32** %8
%56 = icmp ne i32* %55, null
br i1 %56, label %62, label %57
57: ; preds = %46
%58 = load i8**, i8*** %5
%59 = getelementptr inbounds i8*, i8** %58, i64 1
%60 = load i8*, i8** %59
%61 = call i32 (i32, i8*, ...) @err(i32 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %60)
br label %62
62: ; preds = %57, %46
%63 = load i32*, i32** %9
%64 = icmp ne i32* %63, null
br i1 %64, label %70, label %65
65: ; preds = %62
%66 = load i8**, i8*** %5
%67 = getelementptr inbounds i8*, i8** %66, i64 2
%68 = load i8*, i8** %67
%69 = call i32 (i32, i8*, ...) @err(i32 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %68)
br label %70
70: ; preds = %65, %62
%71 = load i32*, i32** %8
%72 = call i32 @fileno(i32* %71)
%73 = call i32 @fstat(i32 %72, %struct.stat* %6)
%74 = icmp eq i32 %73, -1
br i1 %74, label %80, label %75
75: ; preds = %70
%76 = load i32*, i32** %9
%77 = call i32 @fileno(i32* %76)
%78 = call i32 @fstat(i32 %77, %struct.stat* %7)
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %75, %70
%81 = call i32 (i32, i8*, ...) @err(i32 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
br label %82
82: ; preds = %80, %75
%83 = getelementptr inbounds %struct.stat, %struct.stat* %6, i32 0, i32 0
%84 = load i64, i64* %83
%85 = getelementptr inbounds %struct.stat, %struct.stat* %7, i32 0, i32 0
%86 = load i64, i64* %85
%87 = icmp ne i64 %84, %86
br i1 %87, label %88, label %94
88: ; preds = %82
%89 = load i32*, i32** %8
%90 = call i32 @fclose(i32* %89)
%91 = load i32*, i32** %9
%92 = call i32 @fclose(i32* %91)
%93 = load i32, i32* @EXIT_FAILURE
store i32 %93, i32* %3
br label %134
94: ; preds = %82
%95 = load i32*, i32** %8
%96 = call i32 @getc(i32* %95)
store i32 %96, i32* %11
%97 = load i32*, i32** %9
%98 = call i32 @getc(i32* %97)
store i32 %98, i32* %12
br label %99
99: ; preds = %113, %94
%100 = load i32, i32* %11
%101 = load i32, i32* @EOF
%102 = icmp ne i32 %100, %101
br i1 %102, label %103, label %111
103: ; preds = %99
%104 = load i32, i32* %12
%105 = load i32, i32* @EOF
%106 = icmp ne i32 %104, %105
br i1 %106, label %107, label %111
107: ; preds = %103
%108 = load i32, i32* %11
%109 = load i32, i32* %12
%110 = icmp eq i32 %108, %109
br label %111
111: ; preds = %107, %103, %99
%112 = phi i1 [ false, %103 ], [ false, %99 ], [ %110, %107 ]
br i1 %112, label %113, label %118
113: ; preds = %111
%114 = load i32*, i32** %8
%115 = call i32 @getc(i32* %114)
store i32 %115, i32* %11
%116 = load i32*, i32** %9
%117 = call i32 @getc(i32* %116)
store i32 %117, i32* %12
br label %99
118: ; preds = %111
%119 = load i32, i32* %11
%120 = load i32, i32* %12
%121 = icmp eq i32 %119, %120
br i1 %121, label %122, label %128
122: ; preds = %118
%123 = load i32*, i32** %8
%124 = call i32 @fclose(i32* %123)
%125 = load i32*, i32** %9
%126 = call i32 @fclose(i32* %125)
%127 = load i32, i32* @EXIT_SUCCESS
store i32 %127, i32* %3
br label %134
128: ; preds = %118
%129 = load i32*, i32** %8
%130 = call i32 @fclose(i32* %129)
%131 = load i32*, i32** %9
%132 = call i32 @fclose(i32* %131)
%133 = load i32, i32* @EXIT_FAILURE
store i32 %133, i32* %3
br label %134
134: ; preds = %128, %122, %88, %40, %31
%135 = load i32, i32* %3
ret i32 %135
}

LLVM IR (-O2):
%struct.stat = type { i64 }
@.str = [3 x i8] c":h\00"
@.str.1 = [10 x i8] c"see %s -h\00"
@EXIT_SUCCESS = global i32 0
@EXIT_FAILURE = global i32 0
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [4 x i8] c"%s \00"
@.str.4 = [12 x i8] c"fstat file\0A\00"
@EOF = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca %struct.stat
%4 = alloca %struct.stat
%5 = bitcast %struct.stat* %3 to i8*
%6 = bitcast %struct.stat* %4 to i8*
br label %7
7: ; preds = %9, %2
%8 = phi i1 [ true, %2 ], [ false, %9 ]
br label %9
9: ; preds = %7, %11
%10 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
switch i32 %10, label %11 [
i32 -1, label %14
i32 104, label %7
]
11: ; preds = %9
%12 = load i8*, i8** %1
%13 = tail call i32 @errx(i32 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* %12)
br label %9
14: ; preds = %9
br i1 %8, label %18, label %15
15: ; preds = %14
%16 = load i8*, i8** %1
%17 = tail call i32 @usage(i8* %16)
br label %81
18: ; preds = %14
%19 = icmp eq i32 %0, 3
br i1 %19, label %23, label %20
20: ; preds = %18
%21 = load i8*, i8** %1
%22 = tail call i32 @usage(i8* %21)
br label %81
23: ; preds = %18
%24 = getelementptr inbounds i8*, i8** %1, i64 1
%25 = load i8*, i8** %24
%26 = tail call i32* @fopen(i8* %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%27 = getelementptr inbounds i8*, i8** %1, i64 2
%28 = load i8*, i8** %27
%29 = tail call i32* @fopen(i8* %28, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%30 = icmp eq i32* %26, null
br i1 %30, label %31, label %34
31: ; preds = %23
%32 = load i8*, i8** %24
%33 = tail call i32 (i32, i8*, ...) @err(i32 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %32)
br label %34
34: ; preds = %31, %23
%35 = icmp eq i32* %29, null
br i1 %35, label %36, label %39
36: ; preds = %34
%37 = load i8*, i8** %27
%38 = tail call i32 (i32, i8*, ...) @err(i32 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %37)
br label %39
39: ; preds = %36, %34
%40 = tail call i32 @fileno(i32* %26)
%41 = call i32 @fstat(i32 %40, %struct.stat* %3)
%42 = icmp eq i32 %41, -1
br i1 %42, label %47, label %43
43: ; preds = %39
%44 = tail call i32 @fileno(i32* %29)
%45 = call i32 @fstat(i32 %44, %struct.stat* %4)
%46 = icmp eq i32 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %43, %39
%48 = tail call i32 (i32, i8*, ...) @err(i32 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
br label %49
49: ; preds = %47, %43
%50 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 0
%51 = load i64, i64* %50
%52 = getelementptr inbounds %struct.stat, %struct.stat* %4, i64 0, i32 0
%53 = load i64, i64* %52
%54 = icmp eq i64 %51, %53
br i1 %54, label %58, label %55
55: ; preds = %49
%56 = tail call i32 @fclose(i32* %26)
%57 = tail call i32 @fclose(i32* %29)
br label %81
58: ; preds = %49
%59 = tail call i32 @getc(i32* %26)
%60 = tail call i32 @getc(i32* %29)
%61 = load i32, i32* @EOF
%62 = icmp ne i32 %59, %61
%63 = icmp ne i32 %60, %61
%64 = and i1 %62, %63
%65 = icmp eq i32 %59, %60
%66 = and i1 %65, %64
br i1 %66, label %67, label %76
67: ; preds = %58, %67
%68 = tail call i32 @getc(i32* %26)
%69 = tail call i32 @getc(i32* %29)
%70 = load i32, i32* @EOF
%71 = icmp ne i32 %68, %70
%72 = icmp ne i32 %69, %70
%73 = and i1 %71, %72
%74 = icmp eq i32 %68, %69
%75 = and i1 %74, %73
br i1 %75, label %67, label %76
76: ; preds = %67, %58
%77 = phi i1 [ %65, %58 ], [ %74, %67 ]
%78 = tail call i32 @fclose(i32* %26)
%79 = tail call i32 @fclose(i32* %29)
%80 = select i1 %77, i32* @EXIT_SUCCESS, i32* @EXIT_FAILURE
br label %81
81: ; preds = %76, %55, %20, %15
%82 = phi i32* [ @EXIT_SUCCESS, %15 ], [ @EXIT_FAILURE, %20 ], [ @EXIT_FAILURE, %55 ], [ %80, %76 ]
%83 = load i32, i32* %82
ret i32 %83
}