#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*/ g(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/,
                     int /*<<< orphan*/, int /*<<< orphan*/,
                     int /*<<< orphan*/);
int /*<<< orphan*/ u();
int /*<<< orphan*/ v();
int /*<<< orphan*/ w();
int /*<<< orphan*/ x();
int /*<<< orphan*/ y();
int /*<<< orphan*/ z();
main() {
  long local = 5;
  g(u(), v(), w(), x(), y(), z());
  g(u(), v(), w(), x(), y(), z());
  return local;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x5,-0x10(%rbp)
mov    $0x0,%al
call   1090 <u@plt>
mov    %eax,-0x38(%rbp)
mov    $0x0,%al
call   1030 <v@plt>
mov    %eax,-0x34(%rbp)
mov    $0x0,%al
call   1070 <w@plt>
mov    %eax,-0x30(%rbp)
mov    $0x0,%al
call   1050 <x@plt>
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1080 <y@plt>
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1040 <z@plt>
mov    -0x38(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    -0x30(%rbp),%edx
mov    -0x2c(%rbp),%ecx
mov    -0x28(%rbp),%r8d
mov    %eax,%r9d
call   1060 <g@plt>
mov    $0x0,%al
call   1090 <u@plt>
mov    %eax,-0x24(%rbp)
mov    $0x0,%al
call   1030 <v@plt>
mov    %eax,-0x20(%rbp)
mov    $0x0,%al
call   1070 <w@plt>
mov    %eax,-0x1c(%rbp)
mov    $0x0,%al
call   1050 <x@plt>
mov    %eax,-0x18(%rbp)
mov    $0x0,%al
call   1080 <y@plt>
mov    %eax,-0x14(%rbp)
mov    $0x0,%al
call   1040 <z@plt>
mov    -0x24(%rbp),%edi
mov    -0x20(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    -0x18(%rbp),%ecx
mov    -0x14(%rbp),%r8d
mov    %eax,%r9d
call   1060 <g@plt>
mov    -0x10(%rbp),%rax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
xor    %eax,%eax
call   1090 <u@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1030 <v@plt>
mov    %eax,%r15d
xor    %eax,%eax
call   1070 <w@plt>
mov    %eax,%r12d
xor    %eax,%eax
call   1050 <x@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1080 <y@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1040 <z@plt>
mov    %r14d,%edi
mov    %r15d,%esi
mov    %r12d,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    %eax,%r9d
call   1060 <g@plt>
xor    %eax,%eax
call   1090 <u@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1030 <v@plt>
mov    %eax,%r15d
xor    %eax,%eax
call   1070 <w@plt>
mov    %eax,%r12d
xor    %eax,%eax
call   1050 <x@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1080 <y@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1040 <z@plt>
mov    %r14d,%edi
mov    %r15d,%esi
mov    %r12d,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    %eax,%r9d
call   1060 <g@plt>
mov    $0x5,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
store i32 0, i32* %1
store i64 5, i64* %2
%3 = call i32 (...) @u()
%4 = call i32 (...) @v()
%5 = call i32 (...) @w()
%6 = call i32 (...) @x()
%7 = call i32 (...) @y()
%8 = call i32 (...) @z()
%9 = call i32 @g(i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8)
%10 = call i32 (...) @u()
%11 = call i32 (...) @v()
%12 = call i32 (...) @w()
%13 = call i32 (...) @x()
%14 = call i32 (...) @y()
%15 = call i32 (...) @z()
%16 = call i32 @g(i32 %10, i32 %11, i32 %12, i32 %13, i32 %14, i32 %15)
%17 = load i64, i64* %2
%18 = trunc i64 %17 to i32
ret i32 %18
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @u()
%2 = tail call i32 (...) @v()
%3 = tail call i32 (...) @w()
%4 = tail call i32 (...) @x()
%5 = tail call i32 (...) @y()
%6 = tail call i32 (...) @z()
%7 = tail call i32 @g(i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6)
%8 = tail call i32 (...) @u()
%9 = tail call i32 (...) @v()
%10 = tail call i32 (...) @w()
%11 = tail call i32 (...) @x()
%12 = tail call i32 (...) @y()
%13 = tail call i32 (...) @z()
%14 = tail call i32 @g(i32 %8, i32 %9, i32 %10, i32 %11, i32 %12, i32 %13)
ret i32 5
}