#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ test1(int, int, int);
int /*<<< orphan*/ test2(int, int, int, int);
int /*<<< orphan*/ test3(int, int, int, int, int);
int /*<<< orphan*/ test4(int, int, int, int, int, int);
int /*<<< orphan*/ test5(int, int, int, int, int, int, int);
int /*<<< orphan*/ test6(int, int, int, int, int, int, int, int);
int /*<<< orphan*/ test7(int, int, int, int, int, int, int, int, int);
int /*<<< orphan*/ test8(int, int, int, int, int, int, int, int, int, int);
int main() {
  test1(1, 0x123456789abcdefLL, 0x55);
  test2(1, 2, 0x123456789abcdefLL, 0x55);
  test3(1, 2, 3, 0x123456789abcdefLL, 0x55);
  test4(1, 2, 3, 4, 0x123456789abcdefLL, 0x55);
  test5(1, 2, 3, 4, 5, 0x123456789abcdefLL, 0x55);
  test6(1, 2, 3, 4, 5, 6, 0x123456789abcdefLL, 0x55);
  test7(1, 2, 3, 4, 5, 6, 7, 0x123456789abcdefLL, 0x55);
  test8(1, 2, 3, 4, 5, 6, 7, 8, 0x123456789abcdefLL, 0x55);
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x1,%edi
mov    $0x89abcdef,%esi
mov    $0x55,%edx
call   1060 <test1@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x89abcdef,%edx
mov    $0x55,%ecx
call   1090 <test2@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x89abcdef,%ecx
mov    $0x55,%r8d
call   1050 <test3@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x4,%ecx
mov    $0x89abcdef,%r8d
mov    $0x55,%r9d
call   1080 <test4@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x4,%ecx
mov    $0x5,%r8d
mov    $0x89abcdef,%r9d
movl   $0x55,(%rsp)
call   1040 <test5@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x4,%ecx
mov    $0x5,%r8d
mov    $0x6,%r9d
movl   $0x89abcdef,(%rsp)
movl   $0x55,0x8(%rsp)
call   1070 <test6@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x4,%ecx
mov    $0x5,%r8d
mov    $0x6,%r9d
movl   $0x7,(%rsp)
movl   $0x89abcdef,0x8(%rsp)
89
movl   $0x55,0x10(%rsp)
call   1030 <test7@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x4,%ecx
mov    $0x5,%r8d
mov    $0x6,%r9d
movl   $0x7,(%rsp)
movl   $0x8,0x8(%rsp)
movl   $0x89abcdef,0x10(%rsp)
89
movl   $0x55,0x18(%rsp)
call   10a0 <test8@plt>
xor    %edi,%edi
call   10b0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x1,%edi
mov    $0x89abcdef,%esi
mov    $0x55,%edx
call   1060 <test1@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x89abcdef,%edx
mov    $0x55,%ecx
call   1090 <test2@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x89abcdef,%ecx
mov    $0x55,%r8d
call   1050 <test3@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x4,%ecx
mov    $0x89abcdef,%r8d
mov    $0x55,%r9d
call   1080 <test4@plt>
sub    $0x8,%rsp
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x4,%ecx
mov    $0x5,%r8d
mov    $0x89abcdef,%r9d
push   $0x55
call   1040 <test5@plt>
add    $0x10,%rsp
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x4,%ecx
mov    $0x5,%r8d
mov    $0x6,%r9d
push   $0x55
push   $0xffffffff89abcdef
call   1070 <test6@plt>
add    $0x8,%rsp
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x4,%ecx
mov    $0x5,%r8d
mov    $0x6,%r9d
push   $0x55
push   $0xffffffff89abcdef
push   $0x7
call   1030 <test7@plt>
add    $0x20,%rsp
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
mov    $0x4,%ecx
mov    $0x5,%r8d
mov    $0x6,%r9d
push   $0x55
push   $0xffffffff89abcdef
push   $0x8
push   $0x7
call   10a0 <test8@plt>
add    $0x20,%rsp
xor    %edi,%edi
call   10b0 <exit@plt>

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @test1(i32 1, i32 -1985229329, i32 85)
%3 = call i32 @test2(i32 1, i32 2, i32 -1985229329, i32 85)
%4 = call i32 @test3(i32 1, i32 2, i32 3, i32 -1985229329, i32 85)
%5 = call i32 @test4(i32 1, i32 2, i32 3, i32 4, i32 -1985229329, i32 85)
%6 = call i32 @test5(i32 1, i32 2, i32 3, i32 4, i32 5, i32 -1985229329, i32 85)
%7 = call i32 @test6(i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 -1985229329, i32 85)
%8 = call i32 @test7(i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 -1985229329, i32 85)
%9 = call i32 @test8(i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 -1985229329, i32 85)
%10 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @test1(i32 1, i32 -1985229329, i32 85)
%2 = tail call i32 @test2(i32 1, i32 2, i32 -1985229329, i32 85)
%3 = tail call i32 @test3(i32 1, i32 2, i32 3, i32 -1985229329, i32 85)
%4 = tail call i32 @test4(i32 1, i32 2, i32 3, i32 4, i32 -1985229329, i32 85)
%5 = tail call i32 @test5(i32 1, i32 2, i32 3, i32 4, i32 5, i32 -1985229329, i32 85)
%6 = tail call i32 @test6(i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 -1985229329, i32 85)
%7 = tail call i32 @test7(i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 -1985229329, i32 85)
%8 = tail call i32 @test8(i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 -1985229329, i32 85)
%9 = tail call i32 @exit(i32 0)
unreachable
}