#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*/ ln_test_int();
int /*<<< orphan*/ ln_test_list();
int /*<<< orphan*/ ln_test_mint();
int /*<<< orphan*/ ln_test_mlist();
int /*<<< orphan*/ ln_test_mstr();
int /*<<< orphan*/ ln_test_msym();
int /*<<< orphan*/ ln_test_nested_lists();
int /*<<< orphan*/ ln_test_str();
int /*<<< orphan*/ printf(char *);
int main(int argc, char *argv[]) {
  printf("\n* Testing LNode\n");
  ln_test_int();
  ln_test_str();
  ln_test_list();
  ln_test_nested_lists();
  ln_test_mint();
  ln_test_mstr();
  ln_test_msym();
  ln_test_mlist();
  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)
lea    0xe53(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1060 <ln_test_int@plt>
mov    $0x0,%al
call   1070 <ln_test_str@plt>
mov    $0x0,%al
call   1040 <ln_test_list@plt>
mov    $0x0,%al
call   1090 <ln_test_nested_lists@plt>
mov    $0x0,%al
call   10b0 <ln_test_mint@plt>
mov    $0x0,%al
call   10a0 <ln_test_mstr@plt>
mov    $0x0,%al
call   1030 <ln_test_msym@plt>
mov    $0x0,%al
call   1080 <ln_test_mlist@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xe68(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1060 <ln_test_int@plt>
xor    %eax,%eax
call   1070 <ln_test_str@plt>
xor    %eax,%eax
call   1050 <ln_test_list@plt>
xor    %eax,%eax
call   1090 <ln_test_nested_lists@plt>
xor    %eax,%eax
call   10b0 <ln_test_mint@plt>
xor    %eax,%eax
call   10a0 <ln_test_mstr@plt>
xor    %eax,%eax
call   1030 <ln_test_msym@plt>
xor    %eax,%eax
call   1080 <ln_test_mlist@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [18 x i8] c"\0A* Testing LNode\0A\00"
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 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%7 = call i32 (...) @ln_test_int()
%8 = call i32 (...) @ln_test_str()
%9 = call i32 (...) @ln_test_list()
%10 = call i32 (...) @ln_test_nested_lists()
%11 = call i32 (...) @ln_test_mint()
%12 = call i32 (...) @ln_test_mstr()
%13 = call i32 (...) @ln_test_msym()
%14 = call i32 (...) @ln_test_mlist()
ret i32 0
}

LLVM IR (-O2):
@str = [17 x i8] c"\0A* Testing LNode\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 (...) @ln_test_int()
%5 = tail call i32 (...) @ln_test_str()
%6 = tail call i32 (...) @ln_test_list()
%7 = tail call i32 (...) @ln_test_nested_lists()
%8 = tail call i32 (...) @ln_test_mint()
%9 = tail call i32 (...) @ln_test_mstr()
%10 = tail call i32 (...) @ln_test_msym()
%11 = tail call i32 (...) @ln_test_mlist()
ret i32 0
}