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


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

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

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

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