#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__ strcmp(char const *, char const *);
bool disc_info_redundant(const char *info) {
  const char *info_exclude_list[] = {"DVD VR", "DVD-VR", " ", ""};
  const char **info_to_exclude = info_exclude_list;
  while (**info_to_exclude) {
    if ((strcmp(info, *info_to_exclude) == 0)) {
      return true;
    }
    info_to_exclude++;
  }
  return false;
}


x86 assembly (clang, -O0):
<disc_info_redundant>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x10(%rbp)
mov    0x2cdd(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0x2cda(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0x2cd7(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0x2cd4(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    -0x30(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
mov    (%rax),%rax
cmpb   $0x0,(%rax)
je     1197 <disc_info_redundant+0x87>
mov    -0x10(%rbp),%rdi
mov    -0x38(%rbp),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1186 <disc_info_redundant+0x76>
movl   $0x1,-0x4(%rbp)
jmp    119e <disc_info_redundant+0x8e>
mov    -0x38(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x38(%rbp)
jmp    1150 <disc_info_redundant+0x40>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<disc_info_redundant>:
push   %r14
push   %rbx
sub    $0x28,%rsp
mov    %rdi,%r14
movaps 0x2cef(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0x2cd3(%rip),%xmm0
movaps %xmm0,(%rsp)
lea    0x8(%rsp),%rbx
lea    0xec3(%rip),%rsi
nopl   (%rax)
mov    %r14,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     115d <disc_info_redundant+0x4d>
mov    (%rbx),%rsi
add    $0x8,%rbx
cmpb   $0x0,(%rsi)
jne    1140 <disc_info_redundant+0x30>
xor    %eax,%eax
jmp    1162 <disc_info_redundant+0x52>
mov    $0x1,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [7 x i8] c"DVD VR\00"
@.str.1 = [7 x i8] c"DVD-VR\00"
@.str.2 = [2 x i8] c" \00"
@.str.3 = [1 x i8] zeroinitializer
@__const.disc_info_redundant.info_exclude_list = [4 x i8*] [i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i32 0, i32 0)]
define i32 @disc_info_redundant(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca [4 x i8*]
%5 = alloca i8**
store i8* %0, i8** %3
%6 = bitcast [4 x i8*]* %4 to i8*
%7 = getelementptr inbounds [4 x i8*], [4 x i8*]* %4, i64 0, i64 0
store i8** %7, i8*** %5
br label %8
8: ; preds = %20, %1
%9 = load i8**, i8*** %5
%10 = load i8*, i8** %9
%11 = load i8, i8* %10
%12 = icmp ne i8 %11, 0
br i1 %12, label %13, label %23
13: ; preds = %8
%14 = load i8*, i8** %3
%15 = load i8**, i8*** %5
%16 = load i8*, i8** %15
%17 = call i64 @strcmp(i8* %14, i8* %16)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %13
store i32 1, i32* %2
br label %24
20: ; preds = %13
%21 = load i8**, i8*** %5
%22 = getelementptr inbounds i8*, i8** %21, i32 1
store i8** %22, i8*** %5
br label %8
23: ; preds = %8
store i32 0, i32* %2
br label %24
24: ; preds = %23, %19
%25 = load i32, i32* %2
ret i32 %25
}

LLVM IR (-O2):
@.str = [7 x i8] c"DVD VR\00"
@.str.1 = [7 x i8] c"DVD-VR\00"
@.str.2 = [2 x i8] c" \00"
@.str.3 = [1 x i8] zeroinitializer
@__const.disc_info_redundant.info_exclude_list = [4 x i8*] [i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i32 0, i32 0)]
define i32 @disc_info_redundant(i8* %0) {
%2 = alloca [4 x i8*]
%3 = bitcast [4 x i8*]* %2 to i8*
%4 = getelementptr inbounds [4 x i8*], [4 x i8*]* %2, i64 0, i64 0
br label %9
5: ; preds = %9
%6 = load i8*, i8** %14
%7 = load i8, i8* %6
%8 = icmp eq i8 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %1, %5
%10 = phi i8* [ %6, %5 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), %1 ]
%11 = phi i8** [ %14, %5 ], [ %4, %1 ]
%12 = tail call i64 @strcmp(i8* %0, i8* %10)
%13 = icmp eq i64 %12, 0
%14 = getelementptr inbounds i8*, i8** %11, i64 1
br i1 %13, label %15, label %5
15: ; preds = %9, %5
%16 = phi i32 [ 1, %9 ], [ 0, %5 ]
ret i32 %16
}