#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*/ ft_putchar(char);
scalar_t__ hidenp(char *, char *);
int main(int argc, char **argv) {
  if (argc != 3) {
    ft_putchar('\n');
    return (0);
  }
  if ((argv[1][0] == ' ') || (argv[1][0] == '\t') || (argv[1][0] == '\n')) {
    ft_putchar('1');
    ft_putchar('\n');
    return (0);
  }
  if (hidenp(argv[1], argv[2])) {
    ft_putchar('1');
    ft_putchar('\n');
    return (0);
  } else {
    ft_putchar('0');
    ft_putchar('\n');
    return (0);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x3,-0x8(%rbp)
je     1156 <main+0x36>
mov    $0xa,%edi
call   1040 <ft_putchar@plt>
movl   $0x0,-0x4(%rbp)
jmp    120c <main+0xec>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x20,%eax
je     1192 <main+0x72>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x9,%eax
je     1192 <main+0x72>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0xa,%eax
jne    11b2 <main+0x92>
mov    $0x31,%edi
call   1040 <ft_putchar@plt>
mov    $0xa,%edi
call   1040 <ft_putchar@plt>
movl   $0x0,-0x4(%rbp)
jmp    120c <main+0xec>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rsi
call   1030 <hidenp@plt>
cmp    $0x0,%rax
je     11f1 <main+0xd1>
mov    $0x31,%edi
call   1040 <ft_putchar@plt>
mov    $0xa,%edi
call   1040 <ft_putchar@plt>
movl   $0x0,-0x4(%rbp)
jmp    120c <main+0xec>
mov    $0x30,%edi
call   1040 <ft_putchar@plt>
mov    $0xa,%edi
call   1040 <ft_putchar@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
cmp    $0x3,%edi
jne    115e <main+0x3e>
mov    0x8(%rsi),%rdi
movzbl (%rdi),%ecx
cmp    $0x20,%rcx
ja     1145 <main+0x25>
mov    $0x31,%al
movabs $0x100000600,%rdx
bt     %rcx,%rdx
jb     1156 <main+0x36>
mov    0x10(%rsi),%rsi
call   1030 <hidenp@plt>
cmp    $0x1,%rax
mov    $0x31,%al
sbb    $0x0,%al
movsbl %al,%edi
call   1040 <ft_putchar@plt>
mov    $0xa,%edi
call   1040 <ft_putchar@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = load i32, i32* %4
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @ft_putchar(i8 signext 10)
store i32 0, i32* %3
br label %52
10: ; preds = %2
%11 = load i8**, i8*** %5
%12 = getelementptr inbounds i8*, i8** %11, i64 1
%13 = load i8*, i8** %12
%14 = getelementptr inbounds i8, i8* %13, i64 0
%15 = load i8, i8* %14
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 32
br i1 %17, label %34, label %18
18: ; preds = %10
%19 = load i8**, i8*** %5
%20 = getelementptr inbounds i8*, i8** %19, i64 1
%21 = load i8*, i8** %20
%22 = getelementptr inbounds i8, i8* %21, i64 0
%23 = load i8, i8* %22
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 9
br i1 %25, label %34, label %26
26: ; preds = %18
%27 = load i8**, i8*** %5
%28 = getelementptr inbounds i8*, i8** %27, i64 1
%29 = load i8*, i8** %28
%30 = getelementptr inbounds i8, i8* %29, i64 0
%31 = load i8, i8* %30
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %37
34: ; preds = %26, %18, %10
%35 = call i32 @ft_putchar(i8 signext 49)
%36 = call i32 @ft_putchar(i8 signext 10)
store i32 0, i32* %3
br label %52
37: ; preds = %26
%38 = load i8**, i8*** %5
%39 = getelementptr inbounds i8*, i8** %38, i64 1
%40 = load i8*, i8** %39
%41 = load i8**, i8*** %5
%42 = getelementptr inbounds i8*, i8** %41, i64 2
%43 = load i8*, i8** %42
%44 = call i64 @hidenp(i8* %40, i8* %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %37
%47 = call i32 @ft_putchar(i8 signext 49)
%48 = call i32 @ft_putchar(i8 signext 10)
store i32 0, i32* %3
br label %52
49: ; preds = %37
%50 = call i32 @ft_putchar(i8 signext 48)
%51 = call i32 @ft_putchar(i8 signext 10)
store i32 0, i32* %3
br label %52
52: ; preds = %49, %46, %34, %8
%53 = load i32, i32* %3
ret i32 %53
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp eq i32 %0, 3
br i1 %3, label %4, label %17
4: ; preds = %2
%5 = getelementptr inbounds i8*, i8** %1, i64 1
%6 = load i8*, i8** %5
%7 = load i8, i8* %6
switch i8 %7, label %8 [
i8 32, label %14
i8 9, label %14
i8 10, label %14
]
8: ; preds = %4
%9 = getelementptr inbounds i8*, i8** %1, i64 2
%10 = load i8*, i8** %9
%11 = tail call i64 @hidenp(i8* %6, i8* %10)
%12 = icmp eq i64 %11, 0
%13 = select i1 %12, i8 48, i8 49
br label %14
14: ; preds = %8, %4, %4, %4
%15 = phi i8 [ 49, %4 ], [ 49, %4 ], [ 49, %4 ], [ %13, %8 ]
%16 = tail call i32 @ft_putchar(i8 signext %15)
br label %17
17: ; preds = %14, %2
%18 = tail call i32 @ft_putchar(i8 signext 10)
ret i32 0
}