#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 strlen(char *);
int main(void) {
  printf("%c%c%c%c", ((strlen("PowerPC") + 1) >> 24) & 0xff,
         ((strlen("PowerPC") + 1) >> 16) & 0xff,
         ((strlen("PowerPC") + 1) >> 8) & 0xff, (strlen("PowerPC") + 1) & 0xff);
  ;
  printf("%c%c%c%c", ((6 * 4) >> 24) & 0xff, ((6 * 4) >> 16) & 0xff,
         ((6 * 4) >> 8) & 0xff, (6 * 4) & 0xff);
  ;
  printf("%c%c%c%c", ((0x1275) >> 24) & 0xff, ((0x1275) >> 16) & 0xff,
         ((0x1275) >> 8) & 0xff, (0x1275) & 0xff);
  ;
  printf("PowerPC");
  printf("%c", 0);
  printf("%c%c%c%c", ((0xffffffff) >> 24) & 0xff, ((0xffffffff) >> 16) & 0xff,
         ((0xffffffff) >> 8) & 0xff, (0xffffffff) & 0xff);
  ;
  printf("%c%c%c%c", ((0x00c00000) >> 24) & 0xff, ((0x00c00000) >> 16) & 0xff,
         ((0x00c00000) >> 8) & 0xff, (0x00c00000) & 0xff);
  ;
  printf("%c%c%c%c", ((0xffffffff) >> 24) & 0xff, ((0xffffffff) >> 16) & 0xff,
         ((0xffffffff) >> 8) & 0xff, (0xffffffff) & 0xff);
  ;
  printf("%c%c%c%c", ((0xffffffff) >> 24) & 0xff, ((0xffffffff) >> 16) & 0xff,
         ((0xffffffff) >> 8) & 0xff, (0xffffffff) & 0xff);
  ;
  printf("%c%c%c%c", ((0xffffffff) >> 24) & 0xff, ((0xffffffff) >> 16) & 0xff,
         ((0xffffffff) >> 8) & 0xff, (0xffffffff) & 0xff);
  ;
  printf("%c%c%c%c", ((0x4000) >> 24) & 0xff, ((0x4000) >> 16) & 0xff,
         ((0x4000) >> 8) & 0xff, (0x4000) & 0xff);
  ;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xed3(%rip),%rdi
call   1030 <strlen@plt>
add    $0x1,%eax
sar    $0x18,%eax
and    $0xff,%eax
mov    %eax,-0x10(%rbp)
lea    0xeb9(%rip),%rdi
call   1030 <strlen@plt>
add    $0x1,%eax
sar    $0x10,%eax
and    $0xff,%eax
mov    %eax,-0xc(%rbp)
lea    0xe9f(%rip),%rdi
call   1030 <strlen@plt>
add    $0x1,%eax
sar    $0x8,%eax
and    $0xff,%eax
mov    %eax,-0x8(%rbp)
lea    0xe85(%rip),%rdi
call   1030 <strlen@plt>
mov    -0x10(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
mov    %eax,%r8d
add    $0x1,%r8d
and    $0xff,%r8d
lea    0xe59(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe4b(%rip),%rdi
xor    %ecx,%ecx
mov    $0x18,%r8d
mov    %ecx,%esi
mov    %ecx,%edx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe31(%rip),%rdi
xor    %edx,%edx
mov    $0x12,%ecx
mov    $0x75,%r8d
mov    %edx,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe1d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe0c(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdf6(%rip),%rdi
mov    $0xff,%r8d
mov    %r8d,%esi
mov    %r8d,%edx
mov    %r8d,%ecx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdd9(%rip),%rdi
xor    %r8d,%r8d
mov    $0xc0,%edx
mov    %r8d,%esi
mov    %r8d,%ecx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdbd(%rip),%rdi
mov    $0xff,%r8d
mov    %r8d,%esi
mov    %r8d,%edx
mov    %r8d,%ecx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xda0(%rip),%rdi
mov    $0xff,%r8d
mov    %r8d,%esi
mov    %r8d,%edx
mov    %r8d,%ecx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd83(%rip),%rdi
mov    $0xff,%r8d
mov    %r8d,%esi
mov    %r8d,%edx
mov    %r8d,%ecx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd66(%rip),%rdi
xor    %r8d,%r8d
mov    $0x40,%ecx
mov    %r8d,%esi
mov    %r8d,%edx
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
lea    0xeca(%rip),%r14
mov    %r14,%rdi
call   1040 <strlen@plt>
lea    0x1(%rax),%ebp
shr    $0x18,%ebp
mov    %r14,%rdi
call   1040 <strlen@plt>
add    $0x1,%eax
shr    $0x10,%eax
movzbl %al,%r12d
mov    %r14,%rdi
call   1040 <strlen@plt>
add    $0x1,%eax
movzbl %ah,%ebx
mov    %r14,%rdi
call   1040 <strlen@plt>
add    $0x1,%eax
movzbl %al,%r8d
lea    0xe7d(%rip),%r15
mov    %r15,%rdi
mov    %ebp,%esi
mov    %r12d,%edx
mov    %ebx,%ecx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
mov    $0x18,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x12,%ecx
mov    $0x75,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
mov    %r15,%rdi
mov    $0xff,%esi
mov    $0xff,%edx
mov    $0xff,%ecx
mov    $0xff,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
xor    %esi,%esi
mov    $0xc0,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    $0xff,%esi
mov    $0xff,%edx
mov    $0xff,%ecx
mov    $0xff,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    $0xff,%esi
mov    $0xff,%edx
mov    $0xff,%ecx
mov    $0xff,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    $0xff,%esi
mov    $0xff,%edx
mov    $0xff,%ecx
mov    $0xff,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x40,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [9 x i8] c"%c%c%c%c\00"
@.str.1 = [8 x i8] c"PowerPC\00"
@.str.2 = [3 x i8] c"%c\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%3 = add nsw i32 %2, 1
%4 = ashr i32 %3, 24
%5 = and i32 %4, 255
%6 = call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%7 = add nsw i32 %6, 1
%8 = ashr i32 %7, 16
%9 = and i32 %8, 255
%10 = call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%11 = add nsw i32 %10, 1
%12 = ashr i32 %11, 8
%13 = and i32 %12, 255
%14 = call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%15 = add nsw i32 %14, 1
%16 = and i32 %15, 255
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %5, i32 %9, i32 %13, i32 %16)
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 0, i32 0, i32 0, i32 24)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 0, i32 0, i32 18, i32 117)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 0)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 255, i32 255, i32 255, i32 255)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 0, i32 192, i32 0, i32 0)
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 255, i32 255, i32 255, i32 255)
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 255, i32 255, i32 255, i32 255)
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 255, i32 255, i32 255, i32 255)
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 0, i32 0, i32 64, i32 0)
ret i32 0
}

LLVM IR (-O2):
@.str = [9 x i8] c"%c%c%c%c\00"
@.str.1 = [8 x i8] c"PowerPC\00"
define i32 @main() {
%1 = tail call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%2 = add nsw i32 %1, 1
%3 = lshr i32 %2, 24
%4 = tail call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%5 = add nsw i32 %4, 1
%6 = lshr i32 %5, 16
%7 = and i32 %6, 255
%8 = tail call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%9 = add nsw i32 %8, 1
%10 = lshr i32 %9, 8
%11 = and i32 %10, 255
%12 = tail call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%13 = add nsw i32 %12, 1
%14 = and i32 %13, 255
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %3, i32 %7, i32 %11, i32 %14)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 0, i32 0, i32 0, i32 24)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 0, i32 0, i32 18, i32 117)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%19 = tail call i32 @putchar(i32 0)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 255, i32 255, i32 255, i32 255)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 0, i32 192, i32 0, i32 0)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 255, i32 255, i32 255, i32 255)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 255, i32 255, i32 255, i32 255)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 255, i32 255, i32 255, i32 255)
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 0, i32 0, i32 64, i32 0)
ret i32 0
}