#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*/ doublet();
int /*<<< orphan*/ quadruplet();
int /*<<< orphan*/ singlet();
int /*<<< orphan*/ triplet();
void chapter_2() {
  singlet();
  singlet();
  quadruplet();
  singlet();
  singlet();
  singlet();
  quadruplet();
  singlet();
  singlet();
  singlet();
  doublet();
  triplet();
  singlet();
  singlet();
  triplet();
  triplet();
  singlet();
  triplet();
  doublet();
  doublet();
  doublet();
  doublet();
  doublet();
  singlet();
  quadruplet();
  singlet();
  singlet();
  singlet();
  triplet();
  singlet();
  doublet();
  singlet();
}


x86 assembly (clang, -O0):
<chapter_2>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1040 <quadruplet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1040 <quadruplet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1050 <doublet@plt>
mov    $0x0,%al
call   1060 <triplet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1060 <triplet@plt>
mov    $0x0,%al
call   1060 <triplet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1060 <triplet@plt>
mov    $0x0,%al
call   1050 <doublet@plt>
mov    $0x0,%al
call   1050 <doublet@plt>
mov    $0x0,%al
call   1050 <doublet@plt>
mov    $0x0,%al
call   1050 <doublet@plt>
mov    $0x0,%al
call   1050 <doublet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1040 <quadruplet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1060 <triplet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
mov    $0x0,%al
call   1050 <doublet@plt>
mov    $0x0,%al
call   1030 <singlet@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<chapter_2>:
push   %rax
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1040 <quadruplet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1040 <quadruplet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1050 <doublet@plt>
xor    %eax,%eax
call   1060 <triplet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1060 <triplet@plt>
xor    %eax,%eax
call   1060 <triplet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1060 <triplet@plt>
xor    %eax,%eax
call   1050 <doublet@plt>
xor    %eax,%eax
call   1050 <doublet@plt>
xor    %eax,%eax
call   1050 <doublet@plt>
xor    %eax,%eax
call   1050 <doublet@plt>
xor    %eax,%eax
call   1050 <doublet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1040 <quadruplet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1060 <triplet@plt>
xor    %eax,%eax
call   1030 <singlet@plt>
xor    %eax,%eax
call   1050 <doublet@plt>
xor    %eax,%eax
pop    %rcx
jmp    1030 <singlet@plt>

LLVM IR (-O0):
define void @chapter_2() {
%1 = call i32 (...) @singlet()
%2 = call i32 (...) @singlet()
%3 = call i32 (...) @quadruplet()
%4 = call i32 (...) @singlet()
%5 = call i32 (...) @singlet()
%6 = call i32 (...) @singlet()
%7 = call i32 (...) @quadruplet()
%8 = call i32 (...) @singlet()
%9 = call i32 (...) @singlet()
%10 = call i32 (...) @singlet()
%11 = call i32 (...) @doublet()
%12 = call i32 (...) @triplet()
%13 = call i32 (...) @singlet()
%14 = call i32 (...) @singlet()
%15 = call i32 (...) @triplet()
%16 = call i32 (...) @triplet()
%17 = call i32 (...) @singlet()
%18 = call i32 (...) @triplet()
%19 = call i32 (...) @doublet()
%20 = call i32 (...) @doublet()
%21 = call i32 (...) @doublet()
%22 = call i32 (...) @doublet()
%23 = call i32 (...) @doublet()
%24 = call i32 (...) @singlet()
%25 = call i32 (...) @quadruplet()
%26 = call i32 (...) @singlet()
%27 = call i32 (...) @singlet()
%28 = call i32 (...) @singlet()
%29 = call i32 (...) @triplet()
%30 = call i32 (...) @singlet()
%31 = call i32 (...) @doublet()
%32 = call i32 (...) @singlet()
ret void
}

LLVM IR (-O2):
define void @chapter_2() {
%1 = tail call i32 (...) @singlet()
%2 = tail call i32 (...) @singlet()
%3 = tail call i32 (...) @quadruplet()
%4 = tail call i32 (...) @singlet()
%5 = tail call i32 (...) @singlet()
%6 = tail call i32 (...) @singlet()
%7 = tail call i32 (...) @quadruplet()
%8 = tail call i32 (...) @singlet()
%9 = tail call i32 (...) @singlet()
%10 = tail call i32 (...) @singlet()
%11 = tail call i32 (...) @doublet()
%12 = tail call i32 (...) @triplet()
%13 = tail call i32 (...) @singlet()
%14 = tail call i32 (...) @singlet()
%15 = tail call i32 (...) @triplet()
%16 = tail call i32 (...) @triplet()
%17 = tail call i32 (...) @singlet()
%18 = tail call i32 (...) @triplet()
%19 = tail call i32 (...) @doublet()
%20 = tail call i32 (...) @doublet()
%21 = tail call i32 (...) @doublet()
%22 = tail call i32 (...) @doublet()
%23 = tail call i32 (...) @doublet()
%24 = tail call i32 (...) @singlet()
%25 = tail call i32 (...) @quadruplet()
%26 = tail call i32 (...) @singlet()
%27 = tail call i32 (...) @singlet()
%28 = tail call i32 (...) @singlet()
%29 = tail call i32 (...) @triplet()
%30 = tail call i32 (...) @singlet()
%31 = tail call i32 (...) @doublet()
%32 = tail call i32 (...) @singlet()
ret void
}