#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(void) {
  printf("\"shuzhan is a fucker\".%%\\\\");
  printf("\nfaferwfs\r111111");
  int unsigned a = -1;
  printf("\n%u", a);
  printf("\n%d %d", sizeof(float), sizeof(double));
  printf("\n%d %d %d", sizeof(int *), sizeof(float **), sizeof(void *));
  printf("\n%d %d %d %d", sizeof(char), sizeof(int), sizeof(long),
         sizeof(long long));
  printf("\n %c%c%c%c", 49, 65, 81, 97);
  printf("\n%f", 2.0 / 3);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xee2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeef(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0xffffffff,-0x8(%rbp)
mov    -0x8(%rbp),%esi
lea    0xee8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xede(%rip),%rdi
mov    $0x4,%esi
mov    $0x8,%edx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xecd(%rip),%rdi
mov    $0x8,%ecx
mov    %rcx,%rsi
mov    %rcx,%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x8,%r8d
mov    %r8,%rcx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeaa(%rip),%rdi
mov    $0x31,%esi
mov    $0x41,%edx
mov    $0x51,%ecx
mov    $0x61,%r8d
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe92(%rip),%rdi
movsd  0xe29(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xef0(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xefd(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
mov    $0xffffffff,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xef1(%rip),%rdi
mov    $0x4,%esi
mov    $0x8,%edx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
mov    $0x8,%esi
mov    $0x8,%edx
mov    $0x8,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xecd(%rip),%rdi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x8,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xeb7(%rip),%rdi
mov    $0x31,%esi
mov    $0x41,%edx
mov    $0x51,%ecx
mov    $0x61,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe9f(%rip),%rdi
movsd  0xe36(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [27 x i8] c"\22shuzhan is a fucker\22.%%\\\\\00"
@.str.1 = [17 x i8] c"\0Afaferwfs\0D111111\00"
@.str.2 = [4 x i8] c"\0A%u\00"
@.str.3 = [7 x i8] c"\0A%d %d\00"
@.str.4 = [10 x i8] c"\0A%d %d %d\00"
@.str.5 = [13 x i8] c"\0A%d %d %d %d\00"
@.str.6 = [11 x i8] c"\0A %c%c%c%c\00"
@.str.7 = [4 x i8] c"\0A%f\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
store i32 -1, i32* %2
%5 = load i32, i32* %2
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i64 4, i64 8)
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i64 8, i64 8, i64 8)
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i64 1, i64 4, i64 8, i64 8)
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 49, i32 65, i32 81, i32 97)
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), double 0x3FE5555555555555)
ret i32 0
}

LLVM IR (-O2):
@.str = [27 x i8] c"\22shuzhan is a fucker\22.%%\\\\\00"
@.str.1 = [17 x i8] c"\0Afaferwfs\0D111111\00"
@.str.2 = [4 x i8] c"\0A%u\00"
@.str.3 = [7 x i8] c"\0A%d %d\00"
@.str.4 = [10 x i8] c"\0A%d %d %d\00"
@.str.5 = [13 x i8] c"\0A%d %d %d %d\00"
@.str.6 = [11 x i8] c"\0A %c%c%c%c\00"
@.str.7 = [4 x i8] c"\0A%f\00"
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 -1)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i64 4, i64 8)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i64 8, i64 8, i64 8)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i64 1, i64 4, i64 8, i64 8)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 49, i32 65, i32 81, i32 97)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), double 0x3FE5555555555555)
ret i32 0
}