#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 /*<<< orphan*/ scanf(char *, ...);
int main(int argc, char *argv[]) {
  char nome[99];
  int idade;
  char coisaQueGostes[99];
  char gajosOuGajas[99];
  char coisaQueNaoGostes[99];
  char penisOuCona[99];
  printf("Nome? ");
  scanf("%s", &nome);
  printf("Idade? ");
  scanf("%d", &idade);
  printf("1 coisa que gostes? ");
  scanf("%s", &coisaQueGostes);
  printf("Gajos ou gajas? ");
  scanf("%s", &gajosOuGajas);
  printf("1 coisa que não gostas? ");
  scanf("%s", &coisaQueNaoGostes);
  printf("Pénis ou cona? ");
  scanf("%s", &penisOuCona);
  printf("Olá eu sou o %s e tenho %d anos. Eu adoro %s e odeio %s. Eu odeio "
         "%s. Eu odeio %s. Por favor não me julgem estou a ser sincero.\n",
         nome, idade, coisaQueNaoGostes, coisaQueGostes, gajosOuGajas,
         penisOuCona);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x250,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec0(%rip),%rdi
lea    -0x80(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xeb1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeab(%rip),%rdi
lea    -0x84(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe7d(%rip),%rdi
lea    -0xf0(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe5a(%rip),%rdi
lea    -0x160(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe79(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe37(%rip),%rdi
lea    -0x1d0(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe70(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe14(%rip),%rdi
lea    -0x240(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    -0x80(%rbp),%rsi
mov    -0x84(%rbp),%edx
lea    -0x1d0(%rbp),%rcx
lea    -0xf0(%rbp),%r8
lea    -0x160(%rbp),%r9
lea    -0x240(%rbp),%rax
lea    0xe38(%rip),%rdi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x250,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x238,%rsp
lea    0xec8(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xec1(%rip),%rbx
lea    0x1d0(%rsp),%r14
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xea8(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xea2(%rip),%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xe92(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x160(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xe84(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf0(%rsp),%r12
mov    %rbx,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xe72(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x80(%rsp),%r13
mov    %rbx,%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xe69(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x10(%rsp),%rbp
mov    %rbx,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
mov    0xc(%rsp),%edx
mov    %rbp,(%rsp)
lea    0xe52(%rip),%rdi
mov    %r14,%rsi
mov    %r13,%rcx
mov    %r15,%r8
mov    %r12,%r9
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x238,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"Nome? \00"
@.str.1 = [3 x i8] c"%s\00"
@.str.2 = [8 x i8] c"Idade? \00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [21 x i8] c"1 coisa que gostes? \00"
@.str.5 = [17 x i8] c"Gajos ou gajas? \00"
@.str.6 = [26 x i8] c"1 coisa que n\C3\A3o gostas? \00"
@.str.7 = [17 x i8] c"P\C3\A9nis ou cona? \00"
@.str.8 = [131 x i8] c"Ol\C3\A1 eu sou o %s e tenho %d anos. Eu adoro %s e odeio %s. Eu odeio %s. Eu odeio %s. Por favor n\C3\A3o me julgem estou a ser sincero.\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca [99 x i8]
%6 = alloca i32
%7 = alloca [99 x i8]
%8 = alloca [99 x i8]
%9 = alloca [99 x i8]
%10 = alloca [99 x i8]
store i32 %0, i32* %3
store i8** %1, i8*** %4
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), [99 x i8]* %5)
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%14 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %6)
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), [99 x i8]* %7)
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
%18 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), [99 x i8]* %8)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0))
%20 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), [99 x i8]* %9)
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%22 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), [99 x i8]* %10)
%23 = getelementptr inbounds [99 x i8], [99 x i8]* %5, i64 0, i64 0
%24 = load i32, i32* %6
%25 = getelementptr inbounds [99 x i8], [99 x i8]* %9, i64 0, i64 0
%26 = getelementptr inbounds [99 x i8], [99 x i8]* %7, i64 0, i64 0
%27 = getelementptr inbounds [99 x i8], [99 x i8]* %8, i64 0, i64 0
%28 = getelementptr inbounds [99 x i8], [99 x i8]* %10, i64 0, i64 0
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str.8, i64 0, i64 0), i8* %23, i32 %24, i8* %25, i8* %26, i8* %27, i8* %28)
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"Nome? \00"
@.str.1 = [3 x i8] c"%s\00"
@.str.2 = [8 x i8] c"Idade? \00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [21 x i8] c"1 coisa que gostes? \00"
@.str.5 = [17 x i8] c"Gajos ou gajas? \00"
@.str.6 = [26 x i8] c"1 coisa que n\C3\A3o gostas? \00"
@.str.7 = [17 x i8] c"P\C3\A9nis ou cona? \00"
@.str.8 = [131 x i8] c"Ol\C3\A1 eu sou o %s e tenho %d anos. Eu adoro %s e odeio %s. Eu odeio %s. Eu odeio %s. Por favor n\C3\A3o me julgem estou a ser sincero.\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [99 x i8]
%4 = alloca i32
%5 = alloca [99 x i8]
%6 = alloca [99 x i8]
%7 = alloca [99 x i8]
%8 = alloca [99 x i8]
%9 = getelementptr inbounds [99 x i8], [99 x i8]* %3, i64 0, i64 0
%10 = bitcast i32* %4 to i8*
%11 = getelementptr inbounds [99 x i8], [99 x i8]* %5, i64 0, i64 0
%12 = getelementptr inbounds [99 x i8], [99 x i8]* %6, i64 0, i64 0
%13 = getelementptr inbounds [99 x i8], [99 x i8]* %7, i64 0, i64 0
%14 = getelementptr inbounds [99 x i8], [99 x i8]* %8, i64 0, i64 0
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), [99 x i8]* %3)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%18 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %4)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%20 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), [99 x i8]* %5)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
%22 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), [99 x i8]* %6)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0))
%24 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), [99 x i8]* %7)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%26 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), [99 x i8]* %8)
%27 = load i32, i32* %4
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([131 x i8], [131 x i8]* @.str.8, i64 0, i64 0), i8* %9, i32 %27, i8* %13, i8* %11, i8* %12, i8* %14)
ret i32 0
}