#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*/ scarymonsters5();
int /*<<< orphan*/ scarymonsters6();
int /*<<< orphan*/ scarymonsters7();
int /*<<< orphan*/ scarymonsters8();
void scarymonstersfull2() {
  scarymonsters5();
  scarymonsters5();
  scarymonsters6();
  scarymonsters5();
  scarymonsters5();
  scarymonsters6();
  scarymonsters7();
  scarymonsters7();
  scarymonsters8();
  scarymonsters8();
  scarymonsters8();
  scarymonsters8();
}


x86 assembly (clang, -O0):
<scarymonstersfull2>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <scarymonsters5@plt>
mov    $0x0,%al
call   1030 <scarymonsters5@plt>
mov    $0x0,%al
call   1050 <scarymonsters6@plt>
mov    $0x0,%al
call   1030 <scarymonsters5@plt>
mov    $0x0,%al
call   1030 <scarymonsters5@plt>
mov    $0x0,%al
call   1050 <scarymonsters6@plt>
mov    $0x0,%al
call   1040 <scarymonsters7@plt>
mov    $0x0,%al
call   1040 <scarymonsters7@plt>
mov    $0x0,%al
call   1060 <scarymonsters8@plt>
mov    $0x0,%al
call   1060 <scarymonsters8@plt>
mov    $0x0,%al
call   1060 <scarymonsters8@plt>
mov    $0x0,%al
call   1060 <scarymonsters8@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<scarymonstersfull2>:
push   %rax
xor    %eax,%eax
call   1030 <scarymonsters5@plt>
xor    %eax,%eax
call   1030 <scarymonsters5@plt>
xor    %eax,%eax
call   1050 <scarymonsters6@plt>
xor    %eax,%eax
call   1030 <scarymonsters5@plt>
xor    %eax,%eax
call   1030 <scarymonsters5@plt>
xor    %eax,%eax
call   1050 <scarymonsters6@plt>
xor    %eax,%eax
call   1040 <scarymonsters7@plt>
xor    %eax,%eax
call   1040 <scarymonsters7@plt>
xor    %eax,%eax
call   1060 <scarymonsters8@plt>
xor    %eax,%eax
call   1060 <scarymonsters8@plt>
xor    %eax,%eax
call   1060 <scarymonsters8@plt>
xor    %eax,%eax
pop    %rcx
jmp    1060 <scarymonsters8@plt>

LLVM IR (-O0):
define void @scarymonstersfull2() {
%1 = call i32 (...) @scarymonsters5()
%2 = call i32 (...) @scarymonsters5()
%3 = call i32 (...) @scarymonsters6()
%4 = call i32 (...) @scarymonsters5()
%5 = call i32 (...) @scarymonsters5()
%6 = call i32 (...) @scarymonsters6()
%7 = call i32 (...) @scarymonsters7()
%8 = call i32 (...) @scarymonsters7()
%9 = call i32 (...) @scarymonsters8()
%10 = call i32 (...) @scarymonsters8()
%11 = call i32 (...) @scarymonsters8()
%12 = call i32 (...) @scarymonsters8()
ret void
}

LLVM IR (-O2):
define void @scarymonstersfull2() {
%1 = tail call i32 (...) @scarymonsters5()
%2 = tail call i32 (...) @scarymonsters5()
%3 = tail call i32 (...) @scarymonsters6()
%4 = tail call i32 (...) @scarymonsters5()
%5 = tail call i32 (...) @scarymonsters5()
%6 = tail call i32 (...) @scarymonsters6()
%7 = tail call i32 (...) @scarymonsters7()
%8 = tail call i32 (...) @scarymonsters7()
%9 = tail call i32 (...) @scarymonsters8()
%10 = tail call i32 (...) @scarymonsters8()
%11 = tail call i32 (...) @scarymonsters8()
%12 = tail call i32 (...) @scarymonsters8()
ret void
}