#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*/ dont_look_at_this();
int /*<<< orphan*/ dont_look_at_this_either();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ test0();
int /*<<< orphan*/ test1(int);
int /*<<< orphan*/ test2(int);
int /*<<< orphan*/ test3();
int main(int argv, char **argc) {
  test0();
  printf("--\n");
  test1(20);
  printf("--\n");
  test2(20);
  printf("--\n");
  test3();
  printf("--\n");
  dont_look_at_this();
  printf("--\n");
  dont_look_at_this_either();
  printf("--\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   1070 <test0@plt>
lea    0xe6c(%rip),%rdi
call   1050 <printf@plt>
mov    $0x14,%edi
call   1040 <test1@plt>
lea    0xe56(%rip),%rdi
call   1050 <printf@plt>
mov    $0x14,%edi
call   1080 <test2@plt>
lea    0xe40(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1030 <test3@plt>
lea    0xe2d(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1090 <dont_look_at_this@plt>
lea    0xe1a(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1060 <dont_look_at_this_either@plt>
lea    0xe07(%rip),%rdi
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
xor    %eax,%eax
call   1070 <test0@plt>
lea    0xe81(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    $0x14,%edi
call   1050 <test1@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    $0x14,%edi
call   1080 <test2@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1040 <test3@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1090 <dont_look_at_this@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1060 <dont_look_at_this_either@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"--\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 (...) @test0()
%7 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @test1(i32 20)
%9 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%10 = call i32 @test2(i32 20)
%11 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%12 = call i32 (...) @test3()
%13 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%14 = call i32 (...) @dont_look_at_this()
%15 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%16 = call i32 (...) @dont_look_at_this_either()
%17 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@str.5 = [3 x i8] c"--\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @test0()
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.5, i64 0, i64 0))
%5 = tail call i32 @test1(i32 20)
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.5, i64 0, i64 0))
%7 = tail call i32 @test2(i32 20)
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.5, i64 0, i64 0))
%9 = tail call i32 (...) @test3()
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.5, i64 0, i64 0))
%11 = tail call i32 (...) @dont_look_at_this()
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.5, i64 0, i64 0))
%13 = tail call i32 (...) @dont_look_at_this_either()
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.5, i64 0, i64 0))
ret i32 0
}