#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 */
char *dress();
int /*<<< orphan*/ init();
int /*<<< orphan*/ printf(char *, ...);
char *shape();
char *type();
int main() {
  init();
  printf("-----BEGIN GEEK CODE BLOCK-----\n");
  printf("%s %s %s\n", type(), dress(), shape());
  printf("------END GEEK CODE BLOCK------\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1070 <init@plt>
lea    0xe93(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1040 <type@plt>
mov    %rax,-0x18(%rbp)
mov    $0x0,%al
call   1050 <dress@plt>
mov    %rax,-0x10(%rbp)
mov    $0x0,%al
call   1030 <shape@plt>
mov    -0x18(%rbp),%rsi
mov    -0x10(%rbp),%rdx
mov    %rax,%rcx
lea    0xe7e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe7a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
xor    %eax,%eax
call   1080 <init@plt>
lea    0xe98(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1050 <type@plt>
mov    %rax,%r14
xor    %eax,%eax
call   1060 <dress@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1030 <shape@plt>
lea    0xe67(%rip),%rdi
mov    %r14,%rsi
mov    %rbx,%rdx
mov    %rax,%rcx
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xe7a(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [33 x i8] c"-----BEGIN GEEK CODE BLOCK-----\0A\00"
@.str.1 = [10 x i8] c"%s %s %s\0A\00"
@.str.2 = [33 x i8] c"------END GEEK CODE BLOCK------\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @init()
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%4 = call i8* (...) @type()
%5 = call i8* (...) @dress()
%6 = call i8* (...) @shape()
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* %4, i8* %5, i8* %6)
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [10 x i8] c"%s %s %s\0A\00"
@str = [32 x i8] c"-----BEGIN GEEK CODE BLOCK-----\00"
@str.3 = [32 x i8] c"------END GEEK CODE BLOCK------\00"
define i32 @main() {
%1 = tail call i32 (...) @init()
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str, i64 0, i64 0))
%3 = tail call i8* (...) @type()
%4 = tail call i8* (...) @dress()
%5 = tail call i8* (...) @shape()
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* %3, i8* %4, i8* %5)
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.3, i64 0, i64 0))
ret i32 0
}