#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 *);
scalar_t__ strcmp(char *, char *);
void house(char *token) {
  if (strcmp(token, "933346") == 0)
    printf("\nBluebridge");
  else if (strcmp(token, "55583") == 0)
    printf("\nAlyson Books");
  else if (strcmp(token, "4210") == 0)
    printf("\nFUNimation Productions, Ltd.");
  else if (strcmp(token, "01") == 0)
    printf("\nPyramid Books");
}


x86 assembly (clang, -O0):
<house>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xec9(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    1157 <house+0x37>
lea    0xeba(%rip),%rdi
call   1030 <printf@plt>
jmp    11e2 <house+0xc2>
mov    -0x8(%rbp),%rdi
lea    0xeb1(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    1182 <house+0x62>
lea    0xea1(%rip),%rdi
call   1030 <printf@plt>
jmp    11dd <house+0xbd>
mov    -0x8(%rbp),%rdi
lea    0xe9a(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    11ad <house+0x8d>
lea    0xe89(%rip),%rdi
call   1030 <printf@plt>
jmp    11d8 <house+0xb8>
mov    -0x8(%rbp),%rdi
lea    0xe92(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    11d3 <house+0xb3>
lea    0xe7f(%rip),%rdi
call   1030 <printf@plt>
jmp    11d8 <house+0xb8>
jmp    11dd <house+0xbd>
jmp    11e2 <house+0xc2>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<house>:
push   %rbx
mov    %rdi,%rbx
lea    0xed5(%rip),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1173 <house+0x53>
lea    0xed7(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1180 <house+0x60>
lea    0xed7(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     118d <house+0x6d>
lea    0xee6(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     119a <house+0x7a>
pop    %rbx
ret
lea    0xe8d(%rip),%rdi
pop    %rbx
jmp    1030 <printf@plt>
lea    0xe92(%rip),%rdi
pop    %rbx
jmp    1030 <printf@plt>
lea    0xe98(%rip),%rdi
pop    %rbx
jmp    1030 <printf@plt>
lea    0xeac(%rip),%rdi
pop    %rbx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [7 x i8] c"933346\00"
@.str.1 = [12 x i8] c"\0ABluebridge\00"
@.str.2 = [6 x i8] c"55583\00"
@.str.3 = [14 x i8] c"\0AAlyson Books\00"
@.str.4 = [5 x i8] c"4210\00"
@.str.5 = [30 x i8] c"\0AFUNimation Productions, Ltd.\00"
@.str.6 = [3 x i8] c"01\00"
@.str.7 = [15 x i8] c"\0APyramid Books\00"
define void @house(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
br label %29
8: ; preds = %1
%9 = load i8*, i8** %2
%10 = call i64 @strcmp(i8* %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
br label %28
14: ; preds = %8
%15 = load i8*, i8** %2
%16 = call i64 @strcmp(i8* %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0))
br label %27
20: ; preds = %14
%21 = load i8*, i8** %2
%22 = call i64 @strcmp(i8* %21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
br label %26
26: ; preds = %24, %20
br label %27
27: ; preds = %26, %18
br label %28
28: ; preds = %27, %12
br label %29
29: ; preds = %28, %6
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c"933346\00"
@.str.1 = [12 x i8] c"\0ABluebridge\00"
@.str.2 = [6 x i8] c"55583\00"
@.str.3 = [14 x i8] c"\0AAlyson Books\00"
@.str.4 = [5 x i8] c"4210\00"
@.str.5 = [30 x i8] c"\0AFUNimation Productions, Ltd.\00"
@.str.6 = [3 x i8] c"01\00"
@.str.7 = [15 x i8] c"\0APyramid Books\00"
define void @house(i8* %0) {
%2 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
br i1 %3, label %13, label %4
4: ; preds = %1
%5 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %13, label %7
7: ; preds = %4
%8 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %7
%11 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10, %7, %4, %1
%14 = phi i8* [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), %1 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), %4 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0), %7 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), %10 ]
%15 = tail call i32 @printf(i8* dereferenceable(1) %14)
br label %16
16: ; preds = %13, %10
ret void
}