#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 main() {
  printf("At the end of this sentence, %d alarm bells will sound!\a\a\a\a\a\a",
         6);
  printf("\n\n\n\n At the start of this %s are %.3f newline characters!",
         "sentence", 4.000);
  printf("\n\t%s\t%s\t%s", "Column A", "Column B", "Column C");
  printf("\n\t%.2f\t%.2f\t%.2f", 4.273, 4.231, 9.00);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xefa(%rip),%rdi
mov    $0x6,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
lea    0xf58(%rip),%rsi
movsd  0xed0(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf4b(%rip),%rdi
lea    0xf4f(%rip),%rsi
lea    0xf51(%rip),%rdx
lea    0xf53(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf4e(%rip),%rdi
movsd  0xe7f(%rip),%xmm0
movsd  0xe7f(%rip),%xmm1
movsd  0xe7f(%rip),%xmm2
mov    $0x3,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xf08(%rip),%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf33(%rip),%rdi
lea    0xf66(%rip),%rsi
movsd  0xec6(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf59(%rip),%rdi
lea    0xf5d(%rip),%rsi
lea    0xf5f(%rip),%rdx
lea    0xf61(%rip),%rcx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf5c(%rip),%rdi
movsd  0xe95(%rip),%xmm0
movsd  0xe95(%rip),%xmm1
movsd  0xe95(%rip),%xmm2
mov    $0x3,%al
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [62 x i8] c"At the end of this sentence, %d alarm bells will sound!\07\07\07\07\07\07\00"
@.str.1 = [58 x i8] c"\0A\0A\0A\0A At the start of this %s are %.3f newline characters!\00"
@.str.2 = [9 x i8] c"sentence\00"
@.str.3 = [11 x i8] c"\0A\09%s\09%s\09%s\00"
@.str.4 = [9 x i8] c"Column A\00"
@.str.5 = [9 x i8] c"Column B\00"
@.str.6 = [9 x i8] c"Column C\00"
@.str.7 = [17 x i8] c"\0A\09%.2f\09%.2f\09%.2f\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0), i32 6)
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), double 4.000000e+00)
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), double 4.273000e+00, double 4.231000e+00, double 9.000000e+00)
ret i32 0
}

LLVM IR (-O2):
@.str = [62 x i8] c"At the end of this sentence, %d alarm bells will sound!\07\07\07\07\07\07\00"
@.str.1 = [58 x i8] c"\0A\0A\0A\0A At the start of this %s are %.3f newline characters!\00"
@.str.2 = [9 x i8] c"sentence\00"
@.str.3 = [11 x i8] c"\0A\09%s\09%s\09%s\00"
@.str.4 = [9 x i8] c"Column A\00"
@.str.5 = [9 x i8] c"Column B\00"
@.str.6 = [9 x i8] c"Column C\00"
@.str.7 = [17 x i8] c"\0A\09%.2f\09%.2f\09%.2f\00"
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0), i32 6)
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), double 4.000000e+00)
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), double 4.273000e+00, double 4.231000e+00, double 9.000000e+00)
ret i32 0
}