#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(int argc, char *argv[]) {
  int distance = 200;
  float power = 2.354f;
  double super_power = 56789.4532;
  char initial = 'A';
  char first_name[] = "Abner";
  char last_name[] = "Terribili";
  int hexa = 0xC;
  int octa = 0123;
  printf("%.d\n", distance);
  printf("%f\n", power);
  printf("%f\n", super_power);
  printf("%c\n", initial);
  printf("%s\n", first_name);
  printf("%s\n", last_name);
  printf("Meu nome é %s e sobre nome é %s, a letra inicial do meu nome é %c\n",
         first_name, last_name, initial);
  printf("%.1f\n", super_power);
  printf("%d\n", hexa);
  printf("%d\n", octa);
  printf("");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0xc8,-0x14(%rbp)
movss  0xeda(%rip),%xmm0
movss  %xmm0,-0x18(%rbp)
movsd  0xec5(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movb   $0x41,-0x21(%rbp)
mov    0xec2(%rip),%eax
mov    %eax,-0x27(%rbp)
mov    0xebc(%rip),%ax
mov    %ax,-0x23(%rbp)
mov    0xeb3(%rip),%rax
mov    %rax,-0x31(%rbp)
mov    0xeb0(%rip),%ax
mov    %ax,-0x29(%rbp)
movl   $0xc,-0x38(%rbp)
movl   $0x53,-0x3c(%rbp)
mov    -0x14(%rbp),%esi
lea    0xe96(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe84(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x20(%rbp),%xmm0
lea    0xe71(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsbl -0x21(%rbp),%esi
lea    0xea9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x27(%rbp),%rsi
lea    0xe51(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x31(%rbp),%rsi
lea    0xe3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x27(%rbp),%rsi
lea    -0x31(%rbp),%rdx
movsbl -0x21(%rbp),%ecx
lea    0xe29(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x20(%rbp),%xmm0
lea    0xe5c(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x38(%rbp),%esi
lea    0xe51(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x3c(%rbp),%esi
lea    0xe40(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x18,%rsp
movw   $0x72,0x4(%rsp)
movl   $0x656e6241,(%rsp)
movabs $0x6c69626972726554,%rax
62 69 6c
mov    %rax,0x8(%rsp)
movw   $0x69,0x10(%rsp)
lea    0xece(%rip),%rdi
mov    $0xc8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec0(%rip),%rbx
movsd  0xe93(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe89(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xedb(%rip),%rdi
mov    $0x41,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rsp,%r14
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0x8(%rsp),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xe6e(%rip),%rdi
mov    %r14,%rsi
mov    %rbx,%rdx
mov    $0x41,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe9b(%rip),%rdi
movsd  0xe2c(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe8b(%rip),%rbx
mov    %rbx,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x53,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@__const.main.first_name = [6 x i8] c"Abner\00"
@__const.main.last_name = [10 x i8] c"Terribili\00"
@.str = [5 x i8] c"%.d\0A\00"
@.str.1 = [4 x i8] c"%f\0A\00"
@.str.2 = [4 x i8] c"%c\0A\00"
@.str.3 = [4 x i8] c"%s\0A\00"
@.str.4 = [70 x i8] c"Meu nome \C3\A9 %s e sobre nome \C3\A9 %s, a letra inicial do meu nome \C3\A9 %c\0A\00"
@.str.5 = [6 x i8] c"%.1f\0A\00"
@.str.6 = [4 x i8] c"%d\0A\00"
@.str.7 = [1 x i8] zeroinitializer
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca i32
%6 = alloca float
%7 = alloca double
%8 = alloca i8
%9 = alloca [6 x i8]
%10 = alloca [10 x i8]
%11 = alloca i32
%12 = alloca i32
store i32 %0, i32* %3
store i8** %1, i8*** %4
store i32 200, i32* %5
store float 0x4002D4FE00000000, float* %6
store double 0x40EBBAAE809D4952, double* %7
store i8 65, i8* %8
%13 = bitcast [6 x i8]* %9 to i8*
%14 = bitcast [10 x i8]* %10 to i8*
store i32 12, i32* %11
store i32 83, i32* %12
%15 = load i32, i32* %5
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %15)
%17 = load float, float* %6
%18 = fpext float %17 to double
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %18)
%20 = load double, double* %7
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %20)
%22 = load i8, i8* %8
%23 = sext i8 %22 to i32
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %23)
%25 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 0
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %25)
%27 = getelementptr inbounds [10 x i8], [10 x i8]* %10, i64 0, i64 0
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %27)
%29 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 0
%30 = getelementptr inbounds [10 x i8], [10 x i8]* %10, i64 0, i64 0
%31 = load i8, i8* %8
%32 = sext i8 %31 to i32
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.4, i64 0, i64 0), i8* %29, i8* %30, i32 %32)
%34 = load double, double* %7
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %34)
%36 = load i32, i32* %11
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %36)
%38 = load i32, i32* %12
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %38)
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@__const.main.first_name = [6 x i8] c"Abner\00"
@__const.main.last_name = [10 x i8] c"Terribili\00"
@.str = [5 x i8] c"%.d\0A\00"
@.str.1 = [4 x i8] c"%f\0A\00"
@.str.2 = [4 x i8] c"%c\0A\00"
@.str.4 = [70 x i8] c"Meu nome \C3\A9 %s e sobre nome \C3\A9 %s, a letra inicial do meu nome \C3\A9 %c\0A\00"
@.str.5 = [6 x i8] c"%.1f\0A\00"
@.str.6 = [4 x i8] c"%d\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [6 x i8]
%4 = alloca [10 x i8]
%5 = getelementptr inbounds [6 x i8], [6 x i8]* %3, i64 0, i64 0
%6 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 0
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 200)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double 0x4002D4FE00000000)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double 0x40EBBAAE809D4952)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 65)
%11 = call i32 @puts(i8* %5)
%12 = call i32 @puts(i8* %6)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str.4, i64 0, i64 0), i8* %5, i8* %6, i32 65)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double 0x40EBBAAE809D4952)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 12)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 83)
ret i32 0
}