#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__ incluido0(int *, int *);
int /*<<< orphan*/ printf(char *);
int main() {
  int A[] = {1, 3, 5, 10, 11};
  int B[] = {1, 5, 10};
  if (incluido0(A, B))
    printf("--------------INCLUIDO----------\n");
  else
    printf("----------NO INLUIDO----------\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xeca(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xec7(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0xec5(%rip),%eax
mov    %eax,-0x10(%rbp)
mov    0xebf(%rip),%rax
mov    %rax,-0x2c(%rbp)
mov    0xebd(%rip),%eax
mov    %eax,-0x24(%rbp)
lea    -0x20(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1040 <incluido0@plt>
cmp    $0x0,%rax
je     118a <main+0x6a>
lea    0xea0(%rip),%rdi
call   1030 <printf@plt>
jmp    1196 <main+0x76>
lea    0xeb1(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x28,%rsp
mov    0xee6(%rip),%eax
mov    %eax,0x20(%rsp)
movaps 0xecb(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
mov    0xedc(%rip),%eax
mov    %eax,0x8(%rsp)
mov    0xec9(%rip),%rax
mov    %rax,(%rsp)
lea    0x10(%rsp),%rdi
mov    %rsp,%rsi
call   1040 <incluido0@plt>
test   %rax,%rax
lea    0xeba(%rip),%rax
lea    0xed2(%rip),%rdi
cmove  %rax,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x28,%rsp
ret

LLVM IR (-O0):
@__const.main.A = [5 x i32] [i32 1, i32 3, i32 5, i32 10, i32 11]
@__const.main.B = [3 x i32] [i32 1, i32 5, i32 10]
@.str = [34 x i8] c"--------------INCLUIDO----------\0A\00"
@.str.1 = [32 x i8] c"----------NO INLUIDO----------\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [5 x i32]
%3 = alloca [3 x i32]
store i32 0, i32* %1
%4 = bitcast [5 x i32]* %2 to i8*
%5 = bitcast [3 x i32]* %3 to i8*
%6 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 0
%7 = getelementptr inbounds [3 x i32], [3 x i32]* %3, i64 0, i64 0
%8 = call i64 @incluido0(i32* %6, i32* %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0))
br label %14
12: ; preds = %0
%13 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
br label %14
14: ; preds = %12, %10
ret i32 0
}

LLVM IR (-O2):
@__const.main.A = [5 x i32] [i32 1, i32 3, i32 5, i32 10, i32 11]
@__const.main.B = [3 x i32] [i32 1, i32 5, i32 10]
@str = [31 x i8] c"----------NO INLUIDO----------\00"
@str.2 = [33 x i8] c"--------------INCLUIDO----------\00"
define i32 @main() {
%1 = alloca [5 x i32]
%2 = alloca [3 x i32]
%3 = bitcast [5 x i32]* %1 to i8*
%4 = bitcast [3 x i32]* %2 to i8*
%5 = getelementptr inbounds [5 x i32], [5 x i32]* %1, i64 0, i64 0
%6 = getelementptr inbounds [3 x i32], [3 x i32]* %2, i64 0, i64 0
%7 = call i64 @incluido0(i32* %5, i32* %6)
%8 = icmp eq i64 %7, 0
%9 = select i1 %8, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @str, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @str.2, i64 0, i64 0)
%10 = call i32 @puts(i8* dereferenceable(1) %9)
ret i32 0
}