#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 cc_get_status();
int /*<<< orphan*/ cc_set_exit_on_failure(int);
int /*<<< orphan*/ cc_set_status(int /*<<< orphan*/);
int /*<<< orphan*/ test_slist_add();
int /*<<< orphan*/ test_slist_add_all();
int /*<<< orphan*/ test_slist_add_all_at();
int /*<<< orphan*/ test_slist_add_at();
int /*<<< orphan*/ test_slist_add_first();
int /*<<< orphan*/ test_slist_add_last();
int /*<<< orphan*/ test_slist_contains();
int /*<<< orphan*/ test_slist_copy_deep();
int /*<<< orphan*/ test_slist_copy_shallow();
int /*<<< orphan*/ test_slist_get();
int /*<<< orphan*/ test_slist_get_first();
int /*<<< orphan*/ test_slist_get_last();
int /*<<< orphan*/ test_slist_index_of();
int /*<<< orphan*/ test_slist_iter();
int /*<<< orphan*/ test_slist_new();
int /*<<< orphan*/ test_slist_remove();
int /*<<< orphan*/ test_slist_remove_all();
int /*<<< orphan*/ test_slist_remove_at();
int /*<<< orphan*/ test_slist_remove_first();
int /*<<< orphan*/ test_slist_remove_last();
int /*<<< orphan*/ test_slist_replace_at();
int /*<<< orphan*/ test_slist_reverse();
int /*<<< orphan*/ test_slist_sort();
int /*<<< orphan*/ test_slist_splice();
int /*<<< orphan*/ test_slist_splice_at();
int /*<<< orphan*/ test_slist_sublist();
int /*<<< orphan*/ test_slist_to_array();
int /*<<< orphan*/ test_slist_zip_iter();
int main(int argc, char **argv) {
  cc_set_status(0);
  cc_set_exit_on_failure(false);
  test_slist_new();
  test_slist_add();
  test_slist_add_first();
  test_slist_add_last();
  test_slist_add_at();
  test_slist_add_all();
  test_slist_add_all_at();
  test_slist_remove();
  test_slist_remove_first();
  test_slist_remove_last();
  test_slist_remove_at();
  test_slist_remove_all();
  test_slist_get_first();
  test_slist_get_last();
  test_slist_get();
  test_slist_index_of();
  test_slist_contains();
  test_slist_replace_at();
  test_slist_copy_shallow();
  test_slist_copy_deep();
  test_slist_sublist();
  test_slist_sort();
  test_slist_reverse();
  test_slist_iter();
  test_slist_splice();
  test_slist_splice_at();
  test_slist_to_array();
  test_slist_zip_iter();
  return cc_get_status();
}


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)
xor    %edi,%edi
call   1160 <cc_set_status@plt>
xor    %edi,%edi
call   1180 <cc_set_exit_on_failure@plt>
mov    $0x0,%al
call   1110 <test_slist_new@plt>
mov    $0x0,%al
call   1090 <test_slist_add@plt>
mov    $0x0,%al
call   10d0 <test_slist_add_first@plt>
mov    $0x0,%al
call   1100 <test_slist_add_last@plt>
mov    $0x0,%al
call   1170 <test_slist_add_at@plt>
mov    $0x0,%al
call   10b0 <test_slist_add_all@plt>
mov    $0x0,%al
call   11d0 <test_slist_add_all_at@plt>
mov    $0x0,%al
call   10a0 <test_slist_remove@plt>
mov    $0x0,%al
call   1080 <test_slist_remove_first@plt>
mov    $0x0,%al
call   1190 <test_slist_remove_last@plt>
mov    $0x0,%al
call   1150 <test_slist_remove_at@plt>
mov    $0x0,%al
call   11f0 <test_slist_remove_all@plt>
mov    $0x0,%al
call   1060 <test_slist_get_first@plt>
mov    $0x0,%al
call   1050 <test_slist_get_last@plt>
mov    $0x0,%al
call   1130 <test_slist_get@plt>
mov    $0x0,%al
call   10f0 <test_slist_index_of@plt>
mov    $0x0,%al
call   1040 <test_slist_contains@plt>
mov    $0x0,%al
call   1120 <test_slist_replace_at@plt>
mov    $0x0,%al
call   1140 <test_slist_copy_shallow@plt>
mov    $0x0,%al
call   10c0 <test_slist_copy_deep@plt>
mov    $0x0,%al
call   11e0 <test_slist_sublist@plt>
mov    $0x0,%al
call   1210 <test_slist_sort@plt>
mov    $0x0,%al
call   11c0 <test_slist_reverse@plt>
mov    $0x0,%al
call   1070 <test_slist_iter@plt>
mov    $0x0,%al
call   10e0 <test_slist_splice@plt>
mov    $0x0,%al
call   1030 <test_slist_splice_at@plt>
mov    $0x0,%al
call   1200 <test_slist_to_array@plt>
mov    $0x0,%al
call   11b0 <test_slist_zip_iter@plt>
mov    $0x0,%al
call   11a0 <cc_get_status@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %edi,%edi
call   1160 <cc_set_status@plt>
xor    %edi,%edi
call   1180 <cc_set_exit_on_failure@plt>
xor    %eax,%eax
call   1110 <test_slist_new@plt>
xor    %eax,%eax
call   1090 <test_slist_add@plt>
xor    %eax,%eax
call   10d0 <test_slist_add_first@plt>
xor    %eax,%eax
call   1100 <test_slist_add_last@plt>
xor    %eax,%eax
call   1170 <test_slist_add_at@plt>
xor    %eax,%eax
call   10b0 <test_slist_add_all@plt>
xor    %eax,%eax
call   11d0 <test_slist_add_all_at@plt>
xor    %eax,%eax
call   10a0 <test_slist_remove@plt>
xor    %eax,%eax
call   1080 <test_slist_remove_first@plt>
xor    %eax,%eax
call   1190 <test_slist_remove_last@plt>
xor    %eax,%eax
call   1150 <test_slist_remove_at@plt>
xor    %eax,%eax
call   11f0 <test_slist_remove_all@plt>
xor    %eax,%eax
call   1060 <test_slist_get_first@plt>
xor    %eax,%eax
call   1050 <test_slist_get_last@plt>
xor    %eax,%eax
call   1130 <test_slist_get@plt>
xor    %eax,%eax
call   10f0 <test_slist_index_of@plt>
xor    %eax,%eax
call   1040 <test_slist_contains@plt>
xor    %eax,%eax
call   1120 <test_slist_replace_at@plt>
xor    %eax,%eax
call   1140 <test_slist_copy_shallow@plt>
xor    %eax,%eax
call   10c0 <test_slist_copy_deep@plt>
xor    %eax,%eax
call   11e0 <test_slist_sublist@plt>
xor    %eax,%eax
call   1210 <test_slist_sort@plt>
xor    %eax,%eax
call   11c0 <test_slist_reverse@plt>
xor    %eax,%eax
call   1070 <test_slist_iter@plt>
xor    %eax,%eax
call   10e0 <test_slist_splice@plt>
xor    %eax,%eax
call   1030 <test_slist_splice_at@plt>
xor    %eax,%eax
call   1200 <test_slist_to_array@plt>
xor    %eax,%eax
call   11b0 <test_slist_zip_iter@plt>
xor    %eax,%eax
pop    %rcx
jmp    11a0 <cc_get_status@plt>

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 = call i32 @cc_set_status(i32 0)
%7 = call i32 @cc_set_exit_on_failure(i32 0)
%8 = call i32 (...) @test_slist_new()
%9 = call i32 (...) @test_slist_add()
%10 = call i32 (...) @test_slist_add_first()
%11 = call i32 (...) @test_slist_add_last()
%12 = call i32 (...) @test_slist_add_at()
%13 = call i32 (...) @test_slist_add_all()
%14 = call i32 (...) @test_slist_add_all_at()
%15 = call i32 (...) @test_slist_remove()
%16 = call i32 (...) @test_slist_remove_first()
%17 = call i32 (...) @test_slist_remove_last()
%18 = call i32 (...) @test_slist_remove_at()
%19 = call i32 (...) @test_slist_remove_all()
%20 = call i32 (...) @test_slist_get_first()
%21 = call i32 (...) @test_slist_get_last()
%22 = call i32 (...) @test_slist_get()
%23 = call i32 (...) @test_slist_index_of()
%24 = call i32 (...) @test_slist_contains()
%25 = call i32 (...) @test_slist_replace_at()
%26 = call i32 (...) @test_slist_copy_shallow()
%27 = call i32 (...) @test_slist_copy_deep()
%28 = call i32 (...) @test_slist_sublist()
%29 = call i32 (...) @test_slist_sort()
%30 = call i32 (...) @test_slist_reverse()
%31 = call i32 (...) @test_slist_iter()
%32 = call i32 (...) @test_slist_splice()
%33 = call i32 (...) @test_slist_splice_at()
%34 = call i32 (...) @test_slist_to_array()
%35 = call i32 (...) @test_slist_zip_iter()
%36 = call i32 (...) @cc_get_status()
ret i32 %36
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @cc_set_status(i32 0)
%4 = tail call i32 @cc_set_exit_on_failure(i32 0)
%5 = tail call i32 (...) @test_slist_new()
%6 = tail call i32 (...) @test_slist_add()
%7 = tail call i32 (...) @test_slist_add_first()
%8 = tail call i32 (...) @test_slist_add_last()
%9 = tail call i32 (...) @test_slist_add_at()
%10 = tail call i32 (...) @test_slist_add_all()
%11 = tail call i32 (...) @test_slist_add_all_at()
%12 = tail call i32 (...) @test_slist_remove()
%13 = tail call i32 (...) @test_slist_remove_first()
%14 = tail call i32 (...) @test_slist_remove_last()
%15 = tail call i32 (...) @test_slist_remove_at()
%16 = tail call i32 (...) @test_slist_remove_all()
%17 = tail call i32 (...) @test_slist_get_first()
%18 = tail call i32 (...) @test_slist_get_last()
%19 = tail call i32 (...) @test_slist_get()
%20 = tail call i32 (...) @test_slist_index_of()
%21 = tail call i32 (...) @test_slist_contains()
%22 = tail call i32 (...) @test_slist_replace_at()
%23 = tail call i32 (...) @test_slist_copy_shallow()
%24 = tail call i32 (...) @test_slist_copy_deep()
%25 = tail call i32 (...) @test_slist_sublist()
%26 = tail call i32 (...) @test_slist_sort()
%27 = tail call i32 (...) @test_slist_reverse()
%28 = tail call i32 (...) @test_slist_iter()
%29 = tail call i32 (...) @test_slist_splice()
%30 = tail call i32 (...) @test_slist_splice_at()
%31 = tail call i32 (...) @test_slist_to_array()
%32 = tail call i32 (...) @test_slist_zip_iter()
%33 = tail call i32 (...) @cc_get_status()
ret i32 %33
}