#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*/ left(int, int);
int /*<<< orphan*/ leftp(int, int);
int /*<<< orphan*/ right(int, int);
int /*<<< orphan*/ rightp(int, int);
void main() {
  left(2, 1);
  left(23, 4);
  left(5, 10);
  left(237, 7);
  right(2, 1);
  right(23, 4);
  right(5, 10);
  right(237, 7);
  leftp(2, 1);
  leftp(23, 4);
  leftp(5, 10);
  leftp(237, 7);
  rightp(2, 1);
  rightp(23, 4);
  rightp(5, 10);
  rightp(237, 7);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
mov    $0x2,%edi
mov    $0x1,%esi
call   1030 <left@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1030 <left@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1030 <left@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1030 <left@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1040 <right@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1040 <right@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1040 <right@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1040 <right@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1060 <leftp@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1060 <leftp@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1060 <leftp@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1060 <leftp@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1050 <rightp@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1050 <rightp@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1050 <rightp@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1050 <rightp@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x2,%edi
mov    $0x1,%esi
call   1030 <left@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1030 <left@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1030 <left@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1030 <left@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1040 <right@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1040 <right@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1040 <right@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1040 <right@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1060 <leftp@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1060 <leftp@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1060 <leftp@plt>
mov    $0xed,%edi
mov    $0x7,%esi
call   1060 <leftp@plt>
mov    $0x2,%edi
mov    $0x1,%esi
call   1050 <rightp@plt>
mov    $0x17,%edi
mov    $0x4,%esi
call   1050 <rightp@plt>
mov    $0x5,%edi
mov    $0xa,%esi
call   1050 <rightp@plt>
mov    $0xed,%edi
mov    $0x7,%esi
pop    %rax
jmp    1050 <rightp@plt>

LLVM IR (-O0):
define void @main() {
%1 = call i32 @left(i32 2, i32 1)
%2 = call i32 @left(i32 23, i32 4)
%3 = call i32 @left(i32 5, i32 10)
%4 = call i32 @left(i32 237, i32 7)
%5 = call i32 @right(i32 2, i32 1)
%6 = call i32 @right(i32 23, i32 4)
%7 = call i32 @right(i32 5, i32 10)
%8 = call i32 @right(i32 237, i32 7)
%9 = call i32 @leftp(i32 2, i32 1)
%10 = call i32 @leftp(i32 23, i32 4)
%11 = call i32 @leftp(i32 5, i32 10)
%12 = call i32 @leftp(i32 237, i32 7)
%13 = call i32 @rightp(i32 2, i32 1)
%14 = call i32 @rightp(i32 23, i32 4)
%15 = call i32 @rightp(i32 5, i32 10)
%16 = call i32 @rightp(i32 237, i32 7)
ret void
}

LLVM IR (-O2):
define void @main() {
%1 = tail call i32 @left(i32 2, i32 1)
%2 = tail call i32 @left(i32 23, i32 4)
%3 = tail call i32 @left(i32 5, i32 10)
%4 = tail call i32 @left(i32 237, i32 7)
%5 = tail call i32 @right(i32 2, i32 1)
%6 = tail call i32 @right(i32 23, i32 4)
%7 = tail call i32 @right(i32 5, i32 10)
%8 = tail call i32 @right(i32 237, i32 7)
%9 = tail call i32 @leftp(i32 2, i32 1)
%10 = tail call i32 @leftp(i32 23, i32 4)
%11 = tail call i32 @leftp(i32 5, i32 10)
%12 = tail call i32 @leftp(i32 237, i32 7)
%13 = tail call i32 @rightp(i32 2, i32 1)
%14 = tail call i32 @rightp(i32 23, i32 4)
%15 = tail call i32 @rightp(i32 5, i32 10)
%16 = tail call i32 @rightp(i32 237, i32 7)
ret void
}