#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*/ printf(char *, int);
int testTaxImplied();
int testTayImplied();
int testTsxImplied();
int testTxaImplied();
int testTxsImplied();
int testTyaImplied();
void testTransfer() {
  printf("testTaxImplied: %d\r\n", testTaxImplied());
  printf("testTayImplied: %d\r\n", testTayImplied());
  printf("testTsxImplied: %d\r\n", testTsxImplied());
  printf("testTxaImplied: %d\r\n", testTxaImplied());
  printf("testTxsImplied: %d\r\n", testTxsImplied());
  printf("testTyaImplied: %d\r\n", testTyaImplied());
}


x86 assembly (clang, -O0):
<testTransfer>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <testTaxImplied@plt>
mov    %eax,%esi
lea    0xe7c(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1040 <testTayImplied@plt>
mov    %eax,%esi
lea    0xe7c(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1090 <testTsxImplied@plt>
mov    %eax,%esi
lea    0xe7c(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1060 <testTxaImplied@plt>
mov    %eax,%esi
lea    0xe7c(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1070 <testTxsImplied@plt>
mov    %eax,%esi
lea    0xe7c(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1080 <testTyaImplied@plt>
mov    %eax,%esi
lea    0xe7c(%rip),%rdi
call   1050 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<testTransfer>:
push   %rax
xor    %eax,%eax
call   1030 <testTaxImplied@plt>
lea    0xe81(%rip),%rdi
mov    %eax,%esi
call   1050 <printf@plt>
xor    %eax,%eax
call   1040 <testTayImplied@plt>
lea    0xe81(%rip),%rdi
mov    %eax,%esi
call   1050 <printf@plt>
xor    %eax,%eax
call   1090 <testTsxImplied@plt>
lea    0xe81(%rip),%rdi
mov    %eax,%esi
call   1050 <printf@plt>
xor    %eax,%eax
call   1060 <testTxaImplied@plt>
lea    0xe81(%rip),%rdi
mov    %eax,%esi
call   1050 <printf@plt>
xor    %eax,%eax
call   1070 <testTxsImplied@plt>
lea    0xe81(%rip),%rdi
mov    %eax,%esi
call   1050 <printf@plt>
xor    %eax,%eax
call   1080 <testTyaImplied@plt>
lea    0xe81(%rip),%rdi
mov    %eax,%esi
pop    %rax
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [21 x i8] c"testTaxImplied: %d\0D\0A\00"
@.str.1 = [21 x i8] c"testTayImplied: %d\0D\0A\00"
@.str.2 = [21 x i8] c"testTsxImplied: %d\0D\0A\00"
@.str.3 = [21 x i8] c"testTxaImplied: %d\0D\0A\00"
@.str.4 = [21 x i8] c"testTxsImplied: %d\0D\0A\00"
@.str.5 = [21 x i8] c"testTyaImplied: %d\0D\0A\00"
define void @testTransfer() {
%1 = call i32 (...) @testTaxImplied()
%2 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = call i32 (...) @testTayImplied()
%4 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = call i32 (...) @testTsxImplied()
%6 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = call i32 (...) @testTxaImplied()
%8 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = call i32 (...) @testTxsImplied()
%10 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = call i32 (...) @testTyaImplied()
%12 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i32 %11)
ret void
}

LLVM IR (-O2):
@.str = [21 x i8] c"testTaxImplied: %d\0D\0A\00"
@.str.1 = [21 x i8] c"testTayImplied: %d\0D\0A\00"
@.str.2 = [21 x i8] c"testTsxImplied: %d\0D\0A\00"
@.str.3 = [21 x i8] c"testTxaImplied: %d\0D\0A\00"
@.str.4 = [21 x i8] c"testTxsImplied: %d\0D\0A\00"
@.str.5 = [21 x i8] c"testTyaImplied: %d\0D\0A\00"
define void @testTransfer() {
%1 = tail call i32 (...) @testTaxImplied()
%2 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = tail call i32 (...) @testTayImplied()
%4 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = tail call i32 (...) @testTsxImplied()
%6 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = tail call i32 (...) @testTxaImplied()
%8 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = tail call i32 (...) @testTxsImplied()
%10 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = tail call i32 (...) @testTyaImplied()
%12 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i32 %11)
ret void
}