#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*/ test_2();
int /*<<< orphan*/ test_2_get_description();
int /*<<< orphan*/ test_2_get_title();
int /*<<< orphan*/ tests_check_test_file_system();
int tests_get_args(int, char **, int /*<<< orphan*/, int /*<<< orphan*/,
                   char *);
int main(int argc, char *argv[]) {
  int run_test;
  run_test = tests_get_args(argc, argv, test_2_get_title(),
                            test_2_get_description(), "s");
  if (!run_test)
    return 1;
  tests_check_test_file_system();
  test_2();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    $0x0,%al
call   1050 <test_2_get_title@plt>
mov    %eax,-0x18(%rbp)
mov    $0x0,%al
call   1070 <test_2_get_description@plt>
mov    -0x24(%rbp),%edi
mov    -0x20(%rbp),%rsi
mov    -0x18(%rbp),%edx
mov    %eax,%ecx
lea    0xe68(%rip),%r8
call   1030 <tests_get_args@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jne    11b6 <main+0x66>
movl   $0x1,-0x4(%rbp)
jmp    11cb <main+0x7b>
mov    $0x0,%al
call   1060 <tests_check_test_file_system@plt>
mov    $0x0,%al
call   1040 <test_2@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r15
mov    %edi,%ebp
xor    %r14d,%r14d
xor    %eax,%eax
call   1050 <test_2_get_title@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1070 <test_2_get_description@plt>
lea    0xe8a(%rip),%r8
mov    %ebp,%edi
mov    %r15,%rsi
mov    %ebx,%edx
mov    %eax,%ecx
call   1030 <tests_get_args@plt>
test   %eax,%eax
je     1198 <main+0x48>
xor    %eax,%eax
call   1060 <tests_check_test_file_system@plt>
xor    %eax,%eax
call   1040 <test_2@plt>
jmp    119e <main+0x4e>
mov    $0x1,%r14d
mov    %r14d,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c"s\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = load i32, i32* %4
%8 = load i8**, i8*** %5
%9 = call i32 (...) @test_2_get_title()
%10 = call i32 (...) @test_2_get_description()
%11 = call i32 @tests_get_args(i32 %7, i8** %8, i32 %9, i32 %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32 %11, i32* %6
%12 = load i32, i32* %6
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i32 1, i32* %3
br label %18
15: ; preds = %2
%16 = call i32 (...) @tests_check_test_file_system()
%17 = call i32 (...) @test_2()
store i32 0, i32* %3
br label %18
18: ; preds = %15, %14
%19 = load i32, i32* %3
ret i32 %19
}

LLVM IR (-O2):
@.str = [2 x i8] c"s\00"
define i32 @main(i32 %0, i8** %1) {
%3 = tail call i32 (...) @test_2_get_title()
%4 = tail call i32 (...) @test_2_get_description()
%5 = tail call i32 @tests_get_args(i32 %0, i8** %1, i32 %3, i32 %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%6 = icmp eq i32 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = tail call i32 (...) @tests_check_test_file_system()
%9 = tail call i32 (...) @test_2()
br label %10
10: ; preds = %2, %7
%11 = phi i32 [ 0, %7 ], [ 1, %2 ]
ret i32 %11
}