#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_list_add();
int /*<<< orphan*/ test_list_add_all_at();
int /*<<< orphan*/ test_list_add_at();
int /*<<< orphan*/ test_list_add_first();
int /*<<< orphan*/ test_list_add_last();
int /*<<< orphan*/ test_list_contains();
int /*<<< orphan*/ test_list_copy_deep();
int /*<<< orphan*/ test_list_copy_shallow();
int /*<<< orphan*/ test_list_destroy();
int /*<<< orphan*/ test_list_get_at();
int /*<<< orphan*/ test_list_get_first();
int /*<<< orphan*/ test_list_get_last();
int /*<<< orphan*/ test_list_index_of();
int /*<<< orphan*/ test_list_iter();
int /*<<< orphan*/ test_list_iter_desc();
int /*<<< orphan*/ test_list_remove();
int /*<<< orphan*/ test_list_remove_all();
int /*<<< orphan*/ test_list_remove_at();
int /*<<< orphan*/ test_list_remove_first();
int /*<<< orphan*/ test_list_remove_last();
int /*<<< orphan*/ test_list_replace_at();
int /*<<< orphan*/ test_list_reverse();
int /*<<< orphan*/ test_list_sort();
int /*<<< orphan*/ test_list_splice();
int /*<<< orphan*/ test_list_splice_at();
int /*<<< orphan*/ test_list_sublist();
int /*<<< orphan*/ test_list_to_array();
int /*<<< orphan*/ test_list_zip_iter();
int main(int argc, char **argv) {
  cc_set_status(0);
  cc_set_exit_on_failure(false);
  test_list_destroy();
  test_list_add();
  test_list_add_first();
  test_list_add_last();
  test_list_index_of();
  test_list_add_all_at();
  test_list_add_at();
  test_list_remove();
  test_list_remove_first();
  test_list_remove_last();
  test_list_remove_at();
  test_list_remove_all();
  test_list_get_first();
  test_list_get_last();
  test_list_get_at();
  test_list_contains();
  test_list_replace_at();
  test_list_copy_shallow();
  test_list_copy_deep();
  test_list_sublist();
  test_list_sort();
  test_list_iter();
  test_list_iter_desc();
  test_list_splice();
  test_list_splice_at();
  test_list_to_array();
  test_list_reverse();
  test_list_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   1100 <cc_set_status@plt>
xor    %edi,%edi
call   1140 <cc_set_exit_on_failure@plt>
mov    $0x0,%al
call   1200 <test_list_destroy@plt>
mov    $0x0,%al
call   11a0 <test_list_add@plt>
mov    $0x0,%al
call   1130 <test_list_add_first@plt>
mov    $0x0,%al
call   1190 <test_list_add_last@plt>
mov    $0x0,%al
call   11d0 <test_list_index_of@plt>
mov    $0x0,%al
call   1070 <test_list_add_all_at@plt>
mov    $0x0,%al
call   1050 <test_list_add_at@plt>
mov    $0x0,%al
call   10f0 <test_list_remove@plt>
mov    $0x0,%al
call   10e0 <test_list_remove_first@plt>
mov    $0x0,%al
call   10c0 <test_list_remove_last@plt>
mov    $0x0,%al
call   1090 <test_list_remove_at@plt>
mov    $0x0,%al
call   1080 <test_list_remove_all@plt>
mov    $0x0,%al
call   1210 <test_list_get_first@plt>
mov    $0x0,%al
call   1040 <test_list_get_last@plt>
mov    $0x0,%al
call   1120 <test_list_get_at@plt>
mov    $0x0,%al
call   1110 <test_list_contains@plt>
mov    $0x0,%al
call   11f0 <test_list_replace_at@plt>
mov    $0x0,%al
call   1060 <test_list_copy_shallow@plt>
mov    $0x0,%al
call   11e0 <test_list_copy_deep@plt>
mov    $0x0,%al
call   1150 <test_list_sublist@plt>
mov    $0x0,%al
call   1030 <test_list_sort@plt>
mov    $0x0,%al
call   10a0 <test_list_iter@plt>
mov    $0x0,%al
call   1160 <test_list_iter_desc@plt>
mov    $0x0,%al
call   1180 <test_list_splice@plt>
mov    $0x0,%al
call   11c0 <test_list_splice_at@plt>
mov    $0x0,%al
call   10d0 <test_list_to_array@plt>
mov    $0x0,%al
call   11b0 <test_list_reverse@plt>
mov    $0x0,%al
call   10b0 <test_list_zip_iter@plt>
mov    $0x0,%al
call   1170 <cc_get_status@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %edi,%edi
call   1100 <cc_set_status@plt>
xor    %edi,%edi
call   1140 <cc_set_exit_on_failure@plt>
xor    %eax,%eax
call   1200 <test_list_destroy@plt>
xor    %eax,%eax
call   11a0 <test_list_add@plt>
xor    %eax,%eax
call   1130 <test_list_add_first@plt>
xor    %eax,%eax
call   1190 <test_list_add_last@plt>
xor    %eax,%eax
call   11d0 <test_list_index_of@plt>
xor    %eax,%eax
call   1070 <test_list_add_all_at@plt>
xor    %eax,%eax
call   1050 <test_list_add_at@plt>
xor    %eax,%eax
call   10f0 <test_list_remove@plt>
xor    %eax,%eax
call   10e0 <test_list_remove_first@plt>
xor    %eax,%eax
call   10c0 <test_list_remove_last@plt>
xor    %eax,%eax
call   1090 <test_list_remove_at@plt>
xor    %eax,%eax
call   1080 <test_list_remove_all@plt>
xor    %eax,%eax
call   1210 <test_list_get_first@plt>
xor    %eax,%eax
call   1040 <test_list_get_last@plt>
xor    %eax,%eax
call   1120 <test_list_get_at@plt>
xor    %eax,%eax
call   1110 <test_list_contains@plt>
xor    %eax,%eax
call   11f0 <test_list_replace_at@plt>
xor    %eax,%eax
call   1060 <test_list_copy_shallow@plt>
xor    %eax,%eax
call   11e0 <test_list_copy_deep@plt>
xor    %eax,%eax
call   1150 <test_list_sublist@plt>
xor    %eax,%eax
call   1030 <test_list_sort@plt>
xor    %eax,%eax
call   10a0 <test_list_iter@plt>
xor    %eax,%eax
call   1160 <test_list_iter_desc@plt>
xor    %eax,%eax
call   1180 <test_list_splice@plt>
xor    %eax,%eax
call   11c0 <test_list_splice_at@plt>
xor    %eax,%eax
call   10d0 <test_list_to_array@plt>
xor    %eax,%eax
call   11b0 <test_list_reverse@plt>
xor    %eax,%eax
call   10b0 <test_list_zip_iter@plt>
xor    %eax,%eax
pop    %rcx
jmp    1170 <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_list_destroy()
%9 = call i32 (...) @test_list_add()
%10 = call i32 (...) @test_list_add_first()
%11 = call i32 (...) @test_list_add_last()
%12 = call i32 (...) @test_list_index_of()
%13 = call i32 (...) @test_list_add_all_at()
%14 = call i32 (...) @test_list_add_at()
%15 = call i32 (...) @test_list_remove()
%16 = call i32 (...) @test_list_remove_first()
%17 = call i32 (...) @test_list_remove_last()
%18 = call i32 (...) @test_list_remove_at()
%19 = call i32 (...) @test_list_remove_all()
%20 = call i32 (...) @test_list_get_first()
%21 = call i32 (...) @test_list_get_last()
%22 = call i32 (...) @test_list_get_at()
%23 = call i32 (...) @test_list_contains()
%24 = call i32 (...) @test_list_replace_at()
%25 = call i32 (...) @test_list_copy_shallow()
%26 = call i32 (...) @test_list_copy_deep()
%27 = call i32 (...) @test_list_sublist()
%28 = call i32 (...) @test_list_sort()
%29 = call i32 (...) @test_list_iter()
%30 = call i32 (...) @test_list_iter_desc()
%31 = call i32 (...) @test_list_splice()
%32 = call i32 (...) @test_list_splice_at()
%33 = call i32 (...) @test_list_to_array()
%34 = call i32 (...) @test_list_reverse()
%35 = call i32 (...) @test_list_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_list_destroy()
%6 = tail call i32 (...) @test_list_add()
%7 = tail call i32 (...) @test_list_add_first()
%8 = tail call i32 (...) @test_list_add_last()
%9 = tail call i32 (...) @test_list_index_of()
%10 = tail call i32 (...) @test_list_add_all_at()
%11 = tail call i32 (...) @test_list_add_at()
%12 = tail call i32 (...) @test_list_remove()
%13 = tail call i32 (...) @test_list_remove_first()
%14 = tail call i32 (...) @test_list_remove_last()
%15 = tail call i32 (...) @test_list_remove_at()
%16 = tail call i32 (...) @test_list_remove_all()
%17 = tail call i32 (...) @test_list_get_first()
%18 = tail call i32 (...) @test_list_get_last()
%19 = tail call i32 (...) @test_list_get_at()
%20 = tail call i32 (...) @test_list_contains()
%21 = tail call i32 (...) @test_list_replace_at()
%22 = tail call i32 (...) @test_list_copy_shallow()
%23 = tail call i32 (...) @test_list_copy_deep()
%24 = tail call i32 (...) @test_list_sublist()
%25 = tail call i32 (...) @test_list_sort()
%26 = tail call i32 (...) @test_list_iter()
%27 = tail call i32 (...) @test_list_iter_desc()
%28 = tail call i32 (...) @test_list_splice()
%29 = tail call i32 (...) @test_list_splice_at()
%30 = tail call i32 (...) @test_list_to_array()
%31 = tail call i32 (...) @test_list_reverse()
%32 = tail call i32 (...) @test_list_zip_iter()
%33 = tail call i32 (...) @cc_get_status()
ret i32 %33
}