#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 */
scalar_t__ putchar(char);
int main(void) {
  char *a = "Biker&Sister\b";
  long b = 0xC17946582A30;
  long c = 0xA3B65C249F8E0;
  while (putchar(a[b & 0xF] + (((c >>= 4) & 0xF) - 0x8)) >= 0 && (b >>= 4))
    ;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rax
mov    %rax,-0x10(%rbp)
movabs $0xc17946582a30,%rax
mov    %rax,-0x18(%rbp)
movabs $0xa3b65c249f8e0,%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x18(%rbp),%rcx
and    $0xf,%rcx
movsbq (%rax,%rcx,1),%rax
mov    -0x20(%rbp),%rcx
sar    $0x4,%rcx
mov    %rcx,-0x20(%rbp)
and    $0xf,%rcx
sub    $0x8,%rcx
add    %rcx,%rax
movsbl %al,%edi
call   1030 <putchar@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x21(%rbp)
jl     119e <main+0x8e>
mov    -0x18(%rbp),%rax
sar    $0x4,%rax
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
setne  %al
mov    %al,-0x21(%rbp)
mov    -0x21(%rbp),%al
test   $0x1,%al
jne    11ae <main+0x9e>
jmp    11b3 <main+0xa3>
jmp    1146 <main+0x36>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
movabs $0xa3b65c249f8e0,%rbx
movabs $0xc17946582a30,%r15
lea    0xed0(%rip),%r14
mov    %r15d,%eax
and    $0xf,%eax
shr    $0x4,%rbx
mov    %ebx,%ecx
and    $0xf,%cl
add    (%rax,%r14,1),%cl
add    $0xf8,%cl
movsbl %cl,%edi
call   1030 <putchar@plt>
test   %rax,%rax
js     1163 <main+0x53>
mov    %r15,%rax
shr    $0x4,%rax
cmp    $0xf,%r15
mov    %rax,%r15
ja     1130 <main+0x20>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [14 x i8] c"Biker&Sister\08\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca i64
%4 = alloca i64
store i32 0, i32* %1
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8** %2
store i64 212726615386672, i64* %3
store i64 2880058004469984, i64* %4
br label %5
5: ; preds = %26, %0
%6 = load i8*, i8** %2
%7 = load i64, i64* %3
%8 = and i64 %7, 15
%9 = getelementptr inbounds i8, i8* %6, i64 %8
%10 = load i8, i8* %9
%11 = sext i8 %10 to i64
%12 = load i64, i64* %4
%13 = ashr i64 %12, 4
store i64 %13, i64* %4
%14 = and i64 %13, 15
%15 = sub nsw i64 %14, 8
%16 = add nsw i64 %11, %15
%17 = trunc i64 %16 to i8
%18 = call i64 @putchar(i8 signext %17)
%19 = icmp sge i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %5
%21 = load i64, i64* %3
%22 = ashr i64 %21, 4
store i64 %22, i64* %3
%23 = icmp ne i64 %22, 0
br label %24
24: ; preds = %20, %5
%25 = phi i1 [ false, %5 ], [ %23, %20 ]
br i1 %25, label %26, label %27
26: ; preds = %24
br label %5
27: ; preds = %24
ret i32 0
}

LLVM IR (-O2):
@.str = [14 x i8] c"Biker&Sister\08\00"
define i32 @main() {
br label %1
1: ; preds = %1, %0
%2 = phi i64 [ 212726615386672, %0 ], [ %14, %1 ]
%3 = phi i64 [ 2880058004469984, %0 ], [ %7, %1 ]
%4 = and i64 %2, 15
%5 = getelementptr inbounds [14 x i8], [14 x i8]* @.str, i64 0, i64 %4
%6 = load i8, i8* %5
%7 = lshr i64 %3, 4
%8 = trunc i64 %7 to i8
%9 = and i8 %8, 15
%10 = add i8 %6, -8
%11 = add i8 %10, %9
%12 = tail call i64 @putchar(i8 signext %11)
%13 = icmp slt i64 %12, 0
%14 = lshr i64 %2, 4
%15 = icmp ult i64 %2, 16
%16 = select i1 %13, i1 true, i1 %15
br i1 %16, label %17, label %1
17: ; preds = %1
ret i32 0
}