#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 atoi(char *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ printf(char *, ...);
int run_psnr(int /*<<< orphan*/ **, int, int, int);
int /*<<< orphan*/ stderr;
int main(int argc, char *argv[]) {
  FILE *f[2];
  int len = argc < 4 ? 1 : atoi(argv[3]);
  int shift_first = argc < 5 ? 0 : atoi(argv[4]);
  int skip_bytes = argc < 6 ? 0 : atoi(argv[5]);
  int shift_last = shift_first + (argc < 7 ? 0 : atoi(argv[6]));
  int shift;
  int max_psnr = -1;
  int max_psnr_shift = 0;
  if (argc < 3) {
    printf("tiny_psnr <file1> <file2> [<elem size> [<shift> [<skip bytes> "
           "[<shift search range>]]]]\n");
    printf("WAV headers are skipped automatically.\n");
    return 1;
  }
  f[0] = fopen(argv[1], "rb");
  f[1] = fopen(argv[2], "rb");
  if (!f[0] || !f[1]) {
    fprintf(stderr, "Could not open input files.\n");
    return 1;
  }
  for (shift = shift_first; shift <= shift_last; shift++) {
    int psnr = run_psnr(f, len, shift, skip_bytes);
    if (psnr > max_psnr || (shift < 0 && psnr == max_psnr)) {
      max_psnr = psnr;
      max_psnr_shift = shift;
    }
  }
  if (shift_last > shift_first)
    printf("Best PSNR is %3d.%02d for shift %i\n", (int)(max_psnr / 100),
           (int)(max_psnr % 100), max_psnr_shift);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x4,-0x8(%rbp)
jge    117d <main+0x2d>
mov    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    118d <main+0x3d>
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
call   1060 <atoi@plt>
mov    %eax,-0x44(%rbp)
mov    -0x44(%rbp),%eax
mov    %eax,-0x24(%rbp)
cmpl   $0x5,-0x8(%rbp)
jge    11a7 <main+0x57>
xor    %eax,%eax
mov    %eax,-0x48(%rbp)
jmp    11b7 <main+0x67>
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rdi
call   1060 <atoi@plt>
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0x28(%rbp)
cmpl   $0x6,-0x8(%rbp)
jge    11d1 <main+0x81>
xor    %eax,%eax
mov    %eax,-0x4c(%rbp)
jmp    11e1 <main+0x91>
mov    -0x10(%rbp),%rax
mov    0x28(%rax),%rdi
call   1060 <atoi@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x50(%rbp)
cmpl   $0x7,-0x8(%rbp)
jge    1201 <main+0xb1>
xor    %eax,%eax
mov    %eax,-0x54(%rbp)
jmp    1211 <main+0xc1>
mov    -0x10(%rbp),%rax
mov    0x30(%rax),%rdi
call   1060 <atoi@plt>
mov    %eax,-0x54(%rbp)
mov    -0x50(%rbp),%eax
mov    -0x54(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x30(%rbp)
movl   $0xffffffff,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
cmpl   $0x3,-0x8(%rbp)
jge    125c <main+0x10c>
lea    0xdc5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1367 <main+0x217>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe16(%rip),%rsi
call   1050 <fopen@plt>
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xdfe(%rip),%rsi
call   1050 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x20(%rbp)
je     12a2 <main+0x152>
cmpq   $0x0,-0x18(%rbp)
jne    12c3 <main+0x173>
mov    0x2d37(%rip),%rax
mov    (%rax),%edi
lea    0xdd2(%rip),%rsi
call   1040 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1367 <main+0x217>
mov    -0x28(%rbp),%eax
mov    %eax,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x30(%rbp),%eax
jg     132b <main+0x1db>
lea    -0x20(%rbp),%rdi
mov    -0x24(%rbp),%esi
mov    -0x34(%rbp),%edx
mov    -0x2c(%rbp),%ecx
call   1070 <run_psnr@plt>
mov    %eax,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x38(%rbp),%eax
jg     130c <main+0x1bc>
cmpl   $0x0,-0x34(%rbp)
jge    1318 <main+0x1c8>
mov    -0x40(%rbp),%eax
cmp    -0x38(%rbp),%eax
jne    1318 <main+0x1c8>
mov    -0x40(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x3c(%rbp)
jmp    131d <main+0x1cd>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12c9 <main+0x179>
mov    -0x30(%rbp),%eax
cmp    -0x28(%rbp),%eax
jle    1360 <main+0x210>
mov    -0x38(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
mov    -0x38(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    -0x3c(%rbp),%ecx
lea    0xd48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rsi,%r14
mov    %edi,%ebx
cmp    $0x4,%edi
jge    1192 <main+0x32>
cmp    $0x3,%ebx
jne    11b6 <main+0x56>
movl   $0x1,0xc(%rsp)
xor    %r12d,%r12d
movl   $0x0,0x8(%rsp)
jmp    11af <main+0x4f>
mov    0x18(%r14),%rdi
call   1070 <atoi@plt>
mov    %eax,0xc(%rsp)
cmp    $0x4,%ebx
jne    11d3 <main+0x73>
movl   $0x0,0x8(%rsp)
xor    %r12d,%r12d
xor    %ebp,%ebp
xor    %r13d,%r13d
jmp    1219 <main+0xb9>
lea    0xe87(%rip),%rdi
call   1030 <puts@plt>
lea    0xed3(%rip),%rdi
call   1030 <puts@plt>
jmp    12b0 <main+0x150>
mov    0x20(%r14),%rdi
call   1070 <atoi@plt>
mov    %eax,%ebp
cmp    $0x6,%ebx
jae    11f3 <main+0x93>
movl   $0x0,0x8(%rsp)
mov    %ebp,%r12d
xor    %r13d,%r13d
jmp    1219 <main+0xb9>
mov    0x28(%r14),%rdi
call   1070 <atoi@plt>
mov    %eax,%r13d
xor    %eax,%eax
cmp    $0x6,%ebx
je     120f <main+0xaf>
mov    0x30(%r14),%rdi
call   1070 <atoi@plt>
mov    %ebp,%r12d
mov    %eax,0x8(%rsp)
add    %eax,%r12d
mov    0x8(%r14),%rdi
lea    0xddc(%rip),%r15
mov    %r15,%rsi
call   1060 <fopen@plt>
mov    %rax,%rbx
mov    %rax,0x10(%rsp)
mov    0x10(%r14),%rdi
mov    %r15,%rsi
call   1060 <fopen@plt>
mov    %rax,0x18(%rsp)
test   %rax,%rax
je     129b <main+0x13b>
test   %rbx,%rbx
je     129b <main+0x13b>
mov    $0xffffffff,%r15d
mov    $0x0,%ebx
cmp    %r12d,%ebp
jle    12c6 <main+0x166>
cmpl   $0x0,0x8(%rsp)
mov    $0x0,%ebp
jle    12b5 <main+0x155>
movslq %r15d,%rdx
imul   $0x51eb851f,%rdx,%rsi
mov    %rsi,%rax
shr    $0x3f,%rax
sar    $0x25,%rsi
add    %eax,%esi
imul   $0x64,%esi,%eax
sub    %eax,%edx
lea    0xd92(%rip),%rdi
xor    %ebp,%ebp
mov    %ebx,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12b5 <main+0x155>
mov    0x2d3e(%rip),%rax
mov    (%rax),%edi
lea    0xd58(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0x1,%ebp
mov    %ebp,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
add    $0x1,%r12d
mov    $0xffffffff,%r15d
xor    %ebx,%ebx
lea    0x10(%rsp),%r14
jmp    12f1 <main+0x191>
nopl   0x0(%rax)
mov    %eax,%r15d
mov    %ebp,%ebx
add    $0x1,%ebp
cmp    %ebp,%r12d
je     125f <main+0xff>
mov    %r14,%rdi
mov    0xc(%rsp),%esi
mov    %ebp,%edx
mov    %r13d,%ecx
call   1080 <run_psnr@plt>
cmp    %r15d,%eax
jg     12e0 <main+0x180>
test   %ebp,%ebp
jns    12e5 <main+0x185>
cmp    %r15d,%eax
je     12e0 <main+0x180>
jmp    12e5 <main+0x185>

LLVM IR (-O0):
@.str = [89 x i8] c"tiny_psnr <file1> <file2> [<elem size> [<shift> [<skip bytes> [<shift search range>]]]]\0A\00"
@.str.1 = [40 x i8] c"WAV headers are skipped automatically.\0A\00"
@.str.2 = [3 x i8] c"rb\00"
@stderr = global i32 0
@.str.3 = [29 x i8] c"Could not open input files.\0A\00"
@.str.4 = [36 x i8] c"Best PSNR is %3d.%02d for shift %i\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [2 x i32*]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%15 = load i32, i32* %4
%16 = icmp slt i32 %15, 4
br i1 %16, label %17, label %18
17: ; preds = %2
br label %23
18: ; preds = %2
%19 = load i8**, i8*** %5
%20 = getelementptr inbounds i8*, i8** %19, i64 3
%21 = load i8*, i8** %20
%22 = call i32 @atoi(i8* %21)
br label %23
23: ; preds = %18, %17
%24 = phi i32 [ 1, %17 ], [ %22, %18 ]
store i32 %24, i32* %7
%25 = load i32, i32* %4
%26 = icmp slt i32 %25, 5
br i1 %26, label %27, label %28
27: ; preds = %23
br label %33
28: ; preds = %23
%29 = load i8**, i8*** %5
%30 = getelementptr inbounds i8*, i8** %29, i64 4
%31 = load i8*, i8** %30
%32 = call i32 @atoi(i8* %31)
br label %33
33: ; preds = %28, %27
%34 = phi i32 [ 0, %27 ], [ %32, %28 ]
store i32 %34, i32* %8
%35 = load i32, i32* %4
%36 = icmp slt i32 %35, 6
br i1 %36, label %37, label %38
37: ; preds = %33
br label %43
38: ; preds = %33
%39 = load i8**, i8*** %5
%40 = getelementptr inbounds i8*, i8** %39, i64 5
%41 = load i8*, i8** %40
%42 = call i32 @atoi(i8* %41)
br label %43
43: ; preds = %38, %37
%44 = phi i32 [ 0, %37 ], [ %42, %38 ]
store i32 %44, i32* %9
%45 = load i32, i32* %8
%46 = load i32, i32* %4
%47 = icmp slt i32 %46, 7
br i1 %47, label %48, label %49
48: ; preds = %43
br label %54
49: ; preds = %43
%50 = load i8**, i8*** %5
%51 = getelementptr inbounds i8*, i8** %50, i64 6
%52 = load i8*, i8** %51
%53 = call i32 @atoi(i8* %52)
br label %54
54: ; preds = %49, %48
%55 = phi i32 [ 0, %48 ], [ %53, %49 ]
%56 = add nsw i32 %45, %55
store i32 %56, i32* %10
store i32 -1, i32* %12
store i32 0, i32* %13
%57 = load i32, i32* %4
%58 = icmp slt i32 %57, 3
br i1 %58, label %59, label %62
59: ; preds = %54
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str, i64 0, i64 0))
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
store i32 1, i32* %3
br label %124
62: ; preds = %54
%63 = load i8**, i8*** %5
%64 = getelementptr inbounds i8*, i8** %63, i64 1
%65 = load i8*, i8** %64
%66 = call i32* @fopen(i8* %65, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%67 = getelementptr inbounds [2 x i32*], [2 x i32*]* %6, i64 0, i64 0
store i32* %66, i32** %67
%68 = load i8**, i8*** %5
%69 = getelementptr inbounds i8*, i8** %68, i64 2
%70 = load i8*, i8** %69
%71 = call i32* @fopen(i8* %70, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%72 = getelementptr inbounds [2 x i32*], [2 x i32*]* %6, i64 0, i64 1
store i32* %71, i32** %72
%73 = getelementptr inbounds [2 x i32*], [2 x i32*]* %6, i64 0, i64 0
%74 = load i32*, i32** %73
%75 = icmp ne i32* %74, null
br i1 %75, label %76, label %80
76: ; preds = %62
%77 = getelementptr inbounds [2 x i32*], [2 x i32*]* %6, i64 0, i64 1
%78 = load i32*, i32** %77
%79 = icmp ne i32* %78, null
br i1 %79, label %83, label %80
80: ; preds = %76, %62
%81 = load i32, i32* @stderr
%82 = call i32 @fprintf(i32 %81, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
store i32 1, i32* %3
br label %124
83: ; preds = %76
%84 = load i32, i32* %8
store i32 %84, i32* %11
br label %85
85: ; preds = %109, %83
%86 = load i32, i32* %11
%87 = load i32, i32* %10
%88 = icmp sle i32 %86, %87
br i1 %88, label %89, label %112
89: ; preds = %85
%90 = getelementptr inbounds [2 x i32*], [2 x i32*]* %6, i64 0, i64 0
%91 = load i32, i32* %7
%92 = load i32, i32* %11
%93 = load i32, i32* %9
%94 = call i32 @run_psnr(i32** %90, i32 %91, i32 %92, i32 %93)
store i32 %94, i32* %14
%95 = load i32, i32* %14
%96 = load i32, i32* %12
%97 = icmp sgt i32 %95, %96
br i1 %97, label %105, label %98
98: ; preds = %89
%99 = load i32, i32* %11
%100 = icmp slt i32 %99, 0
br i1 %100, label %101, label %108
101: ; preds = %98
%102 = load i32, i32* %14
%103 = load i32, i32* %12
%104 = icmp eq i32 %102, %103
br i1 %104, label %105, label %108
105: ; preds = %101, %89
%106 = load i32, i32* %14
store i32 %106, i32* %12
%107 = load i32, i32* %11
store i32 %107, i32* %13
br label %108
108: ; preds = %105, %101, %98
br label %109
109: ; preds = %108
%110 = load i32, i32* %11
%111 = add nsw i32 %110, 1
store i32 %111, i32* %11
br label %85
112: ; preds = %85
%113 = load i32, i32* %10
%114 = load i32, i32* %8
%115 = icmp sgt i32 %113, %114
br i1 %115, label %116, label %123
116: ; preds = %112
%117 = load i32, i32* %12
%118 = sdiv i32 %117, 100
%119 = load i32, i32* %12
%120 = srem i32 %119, 100
%121 = load i32, i32* %13
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0), i32 %118, i32 %120, i32 %121)
br label %123
123: ; preds = %116, %112
store i32 0, i32* %3
br label %124
124: ; preds = %123, %80, %59
%125 = load i32, i32* %3
ret i32 %125
}

LLVM IR (-O2):
@.str.2 = [3 x i8] c"rb\00"
@stderr = global i32 0
@.str.3 = [29 x i8] c"Could not open input files.\0A\00"
@.str.4 = [36 x i8] c"Best PSNR is %3d.%02d for shift %i\0A\00"
@str = [88 x i8] c"tiny_psnr <file1> <file2> [<elem size> [<shift> [<skip bytes> [<shift search range>]]]]\00"
@str.5 = [39 x i8] c"WAV headers are skipped automatically.\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [2 x i32*]
%4 = bitcast [2 x i32*]* %3 to i8*
%5 = icmp slt i32 %0, 4
br i1 %5, label %28, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8*, i8** %1, i64 3
%8 = load i8*, i8** %7
%9 = tail call i32 @atoi(i8* %8)
%10 = icmp eq i32 %0, 4
br i1 %10, label %33, label %11
11: ; preds = %6
%12 = getelementptr inbounds i8*, i8** %1, i64 4
%13 = load i8*, i8** %12
%14 = tail call i32 @atoi(i8* %13)
%15 = icmp ult i32 %0, 6
br i1 %15, label %33, label %16
16: ; preds = %11
%17 = getelementptr inbounds i8*, i8** %1, i64 5
%18 = load i8*, i8** %17
%19 = tail call i32 @atoi(i8* %18)
%20 = icmp eq i32 %0, 6
br i1 %20, label %25, label %21
21: ; preds = %16
%22 = getelementptr inbounds i8*, i8** %1, i64 6
%23 = load i8*, i8** %22
%24 = tail call i32 @atoi(i8* %23)
br label %25
25: ; preds = %16, %21
%26 = phi i32 [ 0, %16 ], [ %24, %21 ]
%27 = add nsw i32 %26, %14
br label %33
28: ; preds = %2
%29 = icmp eq i32 %0, 3
br i1 %29, label %33, label %30
30: ; preds = %28
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([88 x i8], [88 x i8]* @str, i64 0, i64 0))
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.5, i64 0, i64 0))
br label %79
33: ; preds = %11, %6, %25, %28
%34 = phi i32 [ %27, %25 ], [ 0, %28 ], [ 0, %6 ], [ %14, %11 ]
%35 = phi i32 [ %26, %25 ], [ 0, %28 ], [ 0, %6 ], [ 0, %11 ]
%36 = phi i32 [ %14, %25 ], [ 0, %28 ], [ 0, %6 ], [ %14, %11 ]
%37 = phi i32 [ %9, %25 ], [ 1, %28 ], [ %9, %6 ], [ %9, %11 ]
%38 = phi i32 [ %19, %25 ], [ 0, %28 ], [ 0, %6 ], [ 0, %11 ]
%39 = getelementptr inbounds i8*, i8** %1, i64 1
%40 = load i8*, i8** %39
%41 = tail call i32* @fopen(i8* %40, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%42 = getelementptr inbounds [2 x i32*], [2 x i32*]* %3, i64 0, i64 0
store i32* %41, i32** %42
%43 = getelementptr inbounds i8*, i8** %1, i64 2
%44 = load i8*, i8** %43
%45 = tail call i32* @fopen(i8* %44, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%46 = getelementptr inbounds [2 x i32*], [2 x i32*]* %3, i64 0, i64 1
store i32* %45, i32** %46
%47 = icmp ne i32* %41, null
%48 = icmp ne i32* %45, null
%49 = and i1 %48, %47
br i1 %49, label %50, label %52
50: ; preds = %33
%51 = icmp sgt i32 %36, %34
br i1 %51, label %71, label %55
52: ; preds = %33
%53 = load i32, i32* @stderr
%54 = tail call i32 @fprintf(i32 %53, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
br label %79
55: ; preds = %50, %66
%56 = phi i32 [ %68, %66 ], [ 0, %50 ]
%57 = phi i32 [ %67, %66 ], [ -1, %50 ]
%58 = phi i32 [ %69, %66 ], [ %36, %50 ]
%59 = call i32 @run_psnr(i32** %42, i32 %37, i32 %58, i32 %38)
%60 = icmp sgt i32 %59, %57
br i1 %60, label %65, label %61
61: ; preds = %55
%62 = icmp slt i32 %58, 0
%63 = icmp eq i32 %59, %57
%64 = select i1 %62, i1 %63, i1 false
br i1 %64, label %65, label %66
65: ; preds = %61, %55
br label %66
66: ; preds = %65, %61
%67 = phi i32 [ %59, %65 ], [ %57, %61 ]
%68 = phi i32 [ %58, %65 ], [ %56, %61 ]
%69 = add i32 %58, 1
%70 = icmp eq i32 %58, %34
br i1 %70, label %71, label %55
71: ; preds = %66, %50
%72 = phi i32 [ -1, %50 ], [ %67, %66 ]
%73 = phi i32 [ 0, %50 ], [ %68, %66 ]
%74 = icmp sgt i32 %35, 0
br i1 %74, label %75, label %79
75: ; preds = %71
%76 = sdiv i32 %72, 100
%77 = srem i32 %72, 100
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0), i32 %76, i32 %77, i32 %73)
br label %79
79: ; preds = %71, %75, %52, %30
%80 = phi i32 [ 1, %30 ], [ 1, %52 ], [ 0, %75 ], [ 0, %71 ]
ret i32 %80
}