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

/* Variables and functions */
int /*<<< orphan*/ checkForHorizontal(int);
int /*<<< orphan*/ checkForLeftToRightDiagonal();
int /*<<< orphan*/ checkForRightToLeftDiagonal();
int /*<<< orphan*/ checkForSubMatrix(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ checkForVertical(int);
int /*<<< orphan*/ initializeTheHashChecker();
int main() {
  initializeTheHashChecker();
  checkForLeftToRightDiagonal();
  initializeTheHashChecker();
  checkForRightToLeftDiagonal();
  initializeTheHashChecker();
  checkForHorizontal(1);
  initializeTheHashChecker();
  checkForVertical(2);
  initializeTheHashChecker();
  checkForSubMatrix(0, 0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1050 <initializeTheHashChecker@plt>
mov    $0x0,%al
call   1030 <checkForLeftToRightDiagonal@plt>
mov    $0x0,%al
call   1050 <initializeTheHashChecker@plt>
mov    $0x0,%al
call   1070 <checkForRightToLeftDiagonal@plt>
mov    $0x0,%al
call   1050 <initializeTheHashChecker@plt>
mov    $0x1,%edi
call   1040 <checkForHorizontal@plt>
mov    $0x0,%al
call   1050 <initializeTheHashChecker@plt>
mov    $0x2,%edi
call   1080 <checkForVertical@plt>
mov    $0x0,%al
call   1050 <initializeTheHashChecker@plt>
xor    %esi,%esi
mov    %esi,%edi
call   1060 <checkForSubMatrix@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1050 <initializeTheHashChecker@plt>
xor    %eax,%eax
call   1030 <checkForLeftToRightDiagonal@plt>
xor    %eax,%eax
call   1050 <initializeTheHashChecker@plt>
xor    %eax,%eax
call   1070 <checkForRightToLeftDiagonal@plt>
xor    %eax,%eax
call   1050 <initializeTheHashChecker@plt>
mov    $0x1,%edi
call   1040 <checkForHorizontal@plt>
xor    %eax,%eax
call   1050 <initializeTheHashChecker@plt>
mov    $0x2,%edi
call   1080 <checkForVertical@plt>
xor    %eax,%eax
call   1050 <initializeTheHashChecker@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1060 <checkForSubMatrix@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = call i32 (...) @initializeTheHashChecker()
%2 = call i32 (...) @checkForLeftToRightDiagonal()
%3 = call i32 (...) @initializeTheHashChecker()
%4 = call i32 (...) @checkForRightToLeftDiagonal()
%5 = call i32 (...) @initializeTheHashChecker()
%6 = call i32 @checkForHorizontal(i32 1)
%7 = call i32 (...) @initializeTheHashChecker()
%8 = call i32 @checkForVertical(i32 2)
%9 = call i32 (...) @initializeTheHashChecker()
%10 = call i32 @checkForSubMatrix(i32 0, i32 0)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @initializeTheHashChecker()
%2 = tail call i32 (...) @checkForLeftToRightDiagonal()
%3 = tail call i32 (...) @initializeTheHashChecker()
%4 = tail call i32 (...) @checkForRightToLeftDiagonal()
%5 = tail call i32 (...) @initializeTheHashChecker()
%6 = tail call i32 @checkForHorizontal(i32 1)
%7 = tail call i32 (...) @initializeTheHashChecker()
%8 = tail call i32 @checkForVertical(i32 2)
%9 = tail call i32 (...) @initializeTheHashChecker()
%10 = tail call i32 @checkForSubMatrix(i32 0, i32 0)
ret i32 0
}