#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__ is_story(char *);
bool is_journey(void) {
  return is_story("46-880603") || is_story("26-890316") ||
         is_story("30-890322") || is_story("54-890526") ||
         is_story("77-890616") || is_story("79-890627") ||
         is_story("83-890706");
}


x86 assembly (clang, -O0):
<is_journey>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xee1(%rip),%rdi
call   1030 <is_story@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x1(%rbp)
jne    11e2 <is_journey+0xd2>
lea    0xecd(%rip),%rdi
call   1030 <is_story@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x1(%rbp)
jne    11e2 <is_journey+0xd2>
lea    0xeb9(%rip),%rdi
call   1030 <is_story@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x1(%rbp)
jne    11e2 <is_journey+0xd2>
lea    0xea5(%rip),%rdi
call   1030 <is_story@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x1(%rbp)
jne    11e2 <is_journey+0xd2>
lea    0xe91(%rip),%rdi
call   1030 <is_story@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x1(%rbp)
jne    11e2 <is_journey+0xd2>
lea    0xe7d(%rip),%rdi
call   1030 <is_story@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x1(%rbp)
jne    11e2 <is_journey+0xd2>
lea    0xe69(%rip),%rdi
call   1030 <is_story@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x1(%rbp)
mov    -0x1(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<is_journey>:
push   %rbx
lea    0xee8(%rip),%rdi
call   1030 <is_story@plt>
mov    $0x1,%ebx
test   %rax,%rax
jne    1190 <is_journey+0x80>
lea    0xedc(%rip),%rdi
call   1030 <is_story@plt>
test   %rax,%rax
jne    1190 <is_journey+0x80>
lea    0xed5(%rip),%rdi
call   1030 <is_story@plt>
test   %rax,%rax
jne    1190 <is_journey+0x80>
lea    0xece(%rip),%rdi
call   1030 <is_story@plt>
test   %rax,%rax
jne    1190 <is_journey+0x80>
lea    0xec7(%rip),%rdi
call   1030 <is_story@plt>
test   %rax,%rax
jne    1190 <is_journey+0x80>
lea    0xec0(%rip),%rdi
call   1030 <is_story@plt>
test   %rax,%rax
jne    1190 <is_journey+0x80>
lea    0xeb9(%rip),%rdi
call   1030 <is_story@plt>
xor    %ebx,%ebx
test   %rax,%rax
setne  %bl
mov    %ebx,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [10 x i8] c"46-880603\00"
@.str.1 = [10 x i8] c"26-890316\00"
@.str.2 = [10 x i8] c"30-890322\00"
@.str.3 = [10 x i8] c"54-890526\00"
@.str.4 = [10 x i8] c"77-890616\00"
@.str.5 = [10 x i8] c"79-890627\00"
@.str.6 = [10 x i8] c"83-890706\00"
define i32 @is_journey() {
%1 = call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%2 = icmp ne i64 %1, 0
br i1 %2, label %21, label %3
3: ; preds = %0
%4 = call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%5 = icmp ne i64 %4, 0
br i1 %5, label %21, label %6
6: ; preds = %3
%7 = call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%8 = icmp ne i64 %7, 0
br i1 %8, label %21, label %9
9: ; preds = %6
%10 = call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%11 = icmp ne i64 %10, 0
br i1 %11, label %21, label %12
12: ; preds = %9
%13 = call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%14 = icmp ne i64 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %12
%16 = call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%17 = icmp ne i64 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%20 = icmp ne i64 %19, 0
br label %21
21: ; preds = %18, %15, %12, %9, %6, %3, %0
%22 = phi i1 [ true, %15 ], [ true, %12 ], [ true, %9 ], [ true, %6 ], [ true, %3 ], [ true, %0 ], [ %20, %18 ]
%23 = zext i1 %22 to i32
ret i32 %23
}

LLVM IR (-O2):
@.str = [10 x i8] c"46-880603\00"
@.str.1 = [10 x i8] c"26-890316\00"
@.str.2 = [10 x i8] c"30-890322\00"
@.str.3 = [10 x i8] c"54-890526\00"
@.str.4 = [10 x i8] c"77-890616\00"
@.str.5 = [10 x i8] c"79-890627\00"
@.str.6 = [10 x i8] c"83-890706\00"
define i32 @is_journey() {
%1 = tail call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %22
3: ; preds = %0
%4 = tail call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %22
6: ; preds = %3
%7 = tail call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %22
9: ; preds = %6
%10 = tail call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = tail call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = tail call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = tail call i64 @is_story(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%20 = icmp ne i64 %19, 0
%21 = zext i1 %20 to i32
br label %22
22: ; preds = %18, %15, %12, %9, %6, %3, %0
%23 = phi i32 [ 1, %15 ], [ 1, %12 ], [ 1, %9 ], [ 1, %6 ], [ 1, %3 ], [ 1, %0 ], [ %21, %18 ]
ret i32 %23
}