#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*/ line();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ setbuf(int /*<<< orphan*/, int /*<<< orphan*/ *);
int /*<<< orphan*/ stdout;
int /*<<< orphan*/ test_bool_list_empty();
int /*<<< orphan*/ test_bool_list_longform();
int /*<<< orphan*/ test_bool_option_empty();
int /*<<< orphan*/ test_bool_option_longform();
int /*<<< orphan*/ test_bool_option_missing();
int /*<<< orphan*/ test_bool_option_shortform();
int /*<<< orphan*/ test_command_absent();
int /*<<< orphan*/ test_command_present();
int /*<<< orphan*/ test_command_with_options();
int /*<<< orphan*/ test_condensed_options();
int /*<<< orphan*/ test_float_greedy_list_longform();
int /*<<< orphan*/ test_float_greedy_list_shortform();
int /*<<< orphan*/ test_float_list_empty();
int /*<<< orphan*/ test_float_list_longform();
int /*<<< orphan*/ test_float_list_shortform();
int /*<<< orphan*/ test_float_option_empty();
int /*<<< orphan*/ test_float_option_longform();
int /*<<< orphan*/ test_float_option_missing();
int /*<<< orphan*/ test_float_option_shortform();
int /*<<< orphan*/ test_int_greedy_list_longform();
int /*<<< orphan*/ test_int_greedy_list_shortform();
int /*<<< orphan*/ test_int_list_empty();
int /*<<< orphan*/ test_int_list_longform();
int /*<<< orphan*/ test_int_list_shortform();
int /*<<< orphan*/ test_int_option_empty();
int /*<<< orphan*/ test_int_option_longform();
int /*<<< orphan*/ test_int_option_missing();
int /*<<< orphan*/ test_int_option_shortform();
int /*<<< orphan*/ test_multi_options_empty();
int /*<<< orphan*/ test_multi_options_longform();
int /*<<< orphan*/ test_multi_options_shortform();
int /*<<< orphan*/ test_option_parsing_switch();
int /*<<< orphan*/ test_positional_args();
int /*<<< orphan*/ test_positional_args_as_floats();
int /*<<< orphan*/ test_positional_args_as_ints();
int /*<<< orphan*/ test_positional_args_empty();
int /*<<< orphan*/ test_string_greedy_list_longform();
int /*<<< orphan*/ test_string_greedy_list_shortform();
int /*<<< orphan*/ test_string_list_empty();
int /*<<< orphan*/ test_string_list_longform();
int /*<<< orphan*/ test_string_list_shortform();
int /*<<< orphan*/ test_string_option_empty();
int /*<<< orphan*/ test_string_option_longform();
int /*<<< orphan*/ test_string_option_missing();
int /*<<< orphan*/ test_string_option_shortform();
int main() {
  setbuf(stdout, NULL);
  line();
  printf("Tests: ");
  test_bool_option_empty();
  test_bool_option_missing();
  test_bool_option_longform();
  test_bool_option_shortform();
  test_bool_list_empty();
  test_bool_list_longform();
  test_bool_option_shortform();
  test_string_option_empty();
  test_string_option_missing();
  test_string_option_longform();
  test_string_option_shortform();
  test_string_list_empty();
  test_string_list_longform();
  test_string_list_shortform();
  test_string_greedy_list_longform();
  test_string_greedy_list_shortform();
  test_int_option_empty();
  test_int_option_missing();
  test_int_option_longform();
  test_int_option_shortform();
  test_int_list_empty();
  test_int_list_longform();
  test_int_list_shortform();
  test_int_greedy_list_longform();
  test_int_greedy_list_shortform();
  test_float_option_empty();
  test_float_option_missing();
  test_float_option_longform();
  test_float_option_shortform();
  test_float_list_empty();
  test_float_list_longform();
  test_float_list_shortform();
  test_float_greedy_list_longform();
  test_float_greedy_list_shortform();
  test_multi_options_empty();
  test_multi_options_longform();
  test_multi_options_shortform();
  test_condensed_options();
  test_positional_args_empty();
  test_positional_args();
  test_positional_args_as_ints();
  test_positional_args_as_floats();
  test_option_parsing_switch();
  test_command_absent();
  test_command_present();
  test_command_with_options();
  printf(" [ok]\n");
  line();
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
mov    0x2bd5(%rip),%rax
mov    (%rax),%edi
xor    %eax,%eax
mov    %eax,%esi
call   2140 <setbuf@plt>
mov    $0x0,%al
call   22b0 <line@plt>
lea    0xbdc(%rip),%rdi
call   2150 <printf@plt>
mov    $0x0,%al
call   2110 <test_bool_option_empty@plt>
mov    $0x0,%al
call   2190 <test_bool_option_missing@plt>
mov    $0x0,%al
call   2060 <test_bool_option_longform@plt>
mov    $0x0,%al
call   20a0 <test_bool_option_shortform@plt>
mov    $0x0,%al
call   21b0 <test_bool_list_empty@plt>
mov    $0x0,%al
call   21e0 <test_bool_list_longform@plt>
mov    $0x0,%al
call   20a0 <test_bool_option_shortform@plt>
mov    $0x0,%al
call   2230 <test_string_option_empty@plt>
mov    $0x0,%al
call   22c0 <test_string_option_missing@plt>
mov    $0x0,%al
call   2280 <test_string_option_longform@plt>
mov    $0x0,%al
call   20e0 <test_string_option_shortform@plt>
mov    $0x0,%al
call   21a0 <test_string_list_empty@plt>
mov    $0x0,%al
call   2210 <test_string_list_longform@plt>
mov    $0x0,%al
call   2240 <test_string_list_shortform@plt>
mov    $0x0,%al
call   2080 <test_string_greedy_list_longform@plt>
mov    $0x0,%al
call   2310 <test_string_greedy_list_shortform@plt>
mov    $0x0,%al
call   20c0 <test_int_option_empty@plt>
mov    $0x0,%al
call   2200 <test_int_option_missing@plt>
mov    $0x0,%al
call   21f0 <test_int_option_longform@plt>
mov    $0x0,%al
call   21d0 <test_int_option_shortform@plt>
mov    $0x0,%al
call   20b0 <test_int_list_empty@plt>
mov    $0x0,%al
call   22a0 <test_int_list_longform@plt>
mov    $0x0,%al
call   2180 <test_int_list_shortform@plt>
mov    $0x0,%al
call   20f0 <test_int_greedy_list_longform@plt>
mov    $0x0,%al
call   2300 <test_int_greedy_list_shortform@plt>
mov    $0x0,%al
call   2290 <test_float_option_empty@plt>
mov    $0x0,%al
call   2090 <test_float_option_missing@plt>
mov    $0x0,%al
call   2040 <test_float_option_longform@plt>
mov    $0x0,%al
call   2050 <test_float_option_shortform@plt>
mov    $0x0,%al
call   2130 <test_float_list_empty@plt>
mov    $0x0,%al
call   2260 <test_float_list_longform@plt>
mov    $0x0,%al
call   2320 <test_float_list_shortform@plt>
mov    $0x0,%al
call   2160 <test_float_greedy_list_longform@plt>
mov    $0x0,%al
call   22e0 <test_float_greedy_list_shortform@plt>
mov    $0x0,%al
call   2070 <test_multi_options_empty@plt>
mov    $0x0,%al
call   2220 <test_multi_options_longform@plt>
mov    $0x0,%al
call   2170 <test_multi_options_shortform@plt>
mov    $0x0,%al
call   22d0 <test_condensed_options@plt>
mov    $0x0,%al
call   20d0 <test_positional_args_empty@plt>
mov    $0x0,%al
call   21c0 <test_positional_args@plt>
mov    $0x0,%al
call   2030 <test_positional_args_as_ints@plt>
mov    $0x0,%al
call   22f0 <test_positional_args_as_floats@plt>
mov    $0x0,%al
call   2270 <test_option_parsing_switch@plt>
mov    $0x0,%al
call   2100 <test_command_absent@plt>
mov    $0x0,%al
call   2120 <test_command_present@plt>
mov    $0x0,%al
call   2250 <test_command_with_options@plt>
lea    0xa96(%rip),%rdi
call   2150 <printf@plt>
mov    $0x0,%al
call   22b0 <line@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2bc8(%rip),%rax
mov    (%rax),%edi
xor    %esi,%esi
call   2150 <setbuf@plt>
xor    %eax,%eax
call   22c0 <line@plt>
lea    0xbd1(%rip),%rdi
call   2160 <printf@plt>
xor    %eax,%eax
call   2120 <test_bool_option_empty@plt>
xor    %eax,%eax
call   21a0 <test_bool_option_missing@plt>
xor    %eax,%eax
call   2060 <test_bool_option_longform@plt>
xor    %eax,%eax
call   20b0 <test_bool_option_shortform@plt>
xor    %eax,%eax
call   21c0 <test_bool_list_empty@plt>
xor    %eax,%eax
call   21f0 <test_bool_list_longform@plt>
xor    %eax,%eax
call   20b0 <test_bool_option_shortform@plt>
xor    %eax,%eax
call   2240 <test_string_option_empty@plt>
xor    %eax,%eax
call   22d0 <test_string_option_missing@plt>
xor    %eax,%eax
call   2290 <test_string_option_longform@plt>
xor    %eax,%eax
call   20f0 <test_string_option_shortform@plt>
xor    %eax,%eax
call   21b0 <test_string_list_empty@plt>
xor    %eax,%eax
call   2220 <test_string_list_longform@plt>
xor    %eax,%eax
call   2250 <test_string_list_shortform@plt>
xor    %eax,%eax
call   2080 <test_string_greedy_list_longform@plt>
xor    %eax,%eax
call   2320 <test_string_greedy_list_shortform@plt>
xor    %eax,%eax
call   20d0 <test_int_option_empty@plt>
xor    %eax,%eax
call   2210 <test_int_option_missing@plt>
xor    %eax,%eax
call   2200 <test_int_option_longform@plt>
xor    %eax,%eax
call   21e0 <test_int_option_shortform@plt>
xor    %eax,%eax
call   20c0 <test_int_list_empty@plt>
xor    %eax,%eax
call   22b0 <test_int_list_longform@plt>
xor    %eax,%eax
call   2190 <test_int_list_shortform@plt>
xor    %eax,%eax
call   2100 <test_int_greedy_list_longform@plt>
xor    %eax,%eax
call   2310 <test_int_greedy_list_shortform@plt>
xor    %eax,%eax
call   22a0 <test_float_option_empty@plt>
xor    %eax,%eax
call   20a0 <test_float_option_missing@plt>
xor    %eax,%eax
call   2040 <test_float_option_longform@plt>
xor    %eax,%eax
call   2050 <test_float_option_shortform@plt>
xor    %eax,%eax
call   2140 <test_float_list_empty@plt>
xor    %eax,%eax
call   2270 <test_float_list_longform@plt>
xor    %eax,%eax
call   2330 <test_float_list_shortform@plt>
xor    %eax,%eax
call   2170 <test_float_greedy_list_longform@plt>
xor    %eax,%eax
call   22f0 <test_float_greedy_list_shortform@plt>
xor    %eax,%eax
call   2070 <test_multi_options_empty@plt>
xor    %eax,%eax
call   2230 <test_multi_options_longform@plt>
xor    %eax,%eax
call   2180 <test_multi_options_shortform@plt>
xor    %eax,%eax
call   22e0 <test_condensed_options@plt>
xor    %eax,%eax
call   20e0 <test_positional_args_empty@plt>
xor    %eax,%eax
call   21d0 <test_positional_args@plt>
xor    %eax,%eax
call   2030 <test_positional_args_as_ints@plt>
xor    %eax,%eax
call   2300 <test_positional_args_as_floats@plt>
xor    %eax,%eax
call   2280 <test_option_parsing_switch@plt>
xor    %eax,%eax
call   2110 <test_command_absent@plt>
xor    %eax,%eax
call   2130 <test_command_present@plt>
xor    %eax,%eax
call   2260 <test_command_with_options@plt>
lea    0xa8b(%rip),%rdi
call   2090 <puts@plt>
xor    %eax,%eax
call   22c0 <line@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@stdout = global i32 0
@.str = [8 x i8] c"Tests: \00"
@.str.1 = [7 x i8] c" [ok]\0A\00"
define i32 @main() {
%1 = load i32, i32* @stdout
%2 = call i32 @setbuf(i32 %1, i32* null)
%3 = call i32 (...) @line()
%4 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%5 = call i32 (...) @test_bool_option_empty()
%6 = call i32 (...) @test_bool_option_missing()
%7 = call i32 (...) @test_bool_option_longform()
%8 = call i32 (...) @test_bool_option_shortform()
%9 = call i32 (...) @test_bool_list_empty()
%10 = call i32 (...) @test_bool_list_longform()
%11 = call i32 (...) @test_bool_option_shortform()
%12 = call i32 (...) @test_string_option_empty()
%13 = call i32 (...) @test_string_option_missing()
%14 = call i32 (...) @test_string_option_longform()
%15 = call i32 (...) @test_string_option_shortform()
%16 = call i32 (...) @test_string_list_empty()
%17 = call i32 (...) @test_string_list_longform()
%18 = call i32 (...) @test_string_list_shortform()
%19 = call i32 (...) @test_string_greedy_list_longform()
%20 = call i32 (...) @test_string_greedy_list_shortform()
%21 = call i32 (...) @test_int_option_empty()
%22 = call i32 (...) @test_int_option_missing()
%23 = call i32 (...) @test_int_option_longform()
%24 = call i32 (...) @test_int_option_shortform()
%25 = call i32 (...) @test_int_list_empty()
%26 = call i32 (...) @test_int_list_longform()
%27 = call i32 (...) @test_int_list_shortform()
%28 = call i32 (...) @test_int_greedy_list_longform()
%29 = call i32 (...) @test_int_greedy_list_shortform()
%30 = call i32 (...) @test_float_option_empty()
%31 = call i32 (...) @test_float_option_missing()
%32 = call i32 (...) @test_float_option_longform()
%33 = call i32 (...) @test_float_option_shortform()
%34 = call i32 (...) @test_float_list_empty()
%35 = call i32 (...) @test_float_list_longform()
%36 = call i32 (...) @test_float_list_shortform()
%37 = call i32 (...) @test_float_greedy_list_longform()
%38 = call i32 (...) @test_float_greedy_list_shortform()
%39 = call i32 (...) @test_multi_options_empty()
%40 = call i32 (...) @test_multi_options_longform()
%41 = call i32 (...) @test_multi_options_shortform()
%42 = call i32 (...) @test_condensed_options()
%43 = call i32 (...) @test_positional_args_empty()
%44 = call i32 (...) @test_positional_args()
%45 = call i32 (...) @test_positional_args_as_ints()
%46 = call i32 (...) @test_positional_args_as_floats()
%47 = call i32 (...) @test_option_parsing_switch()
%48 = call i32 (...) @test_command_absent()
%49 = call i32 (...) @test_command_present()
%50 = call i32 (...) @test_command_with_options()
%51 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%52 = call i32 (...) @line()
ret i32 0
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [8 x i8] c"Tests: \00"
@str = [6 x i8] c" [ok]\00"
define i32 @main() {
%1 = load i32, i32* @stdout
%2 = tail call i32 @setbuf(i32 %1, i32* null)
%3 = tail call i32 (...) @line()
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 (...) @test_bool_option_empty()
%6 = tail call i32 (...) @test_bool_option_missing()
%7 = tail call i32 (...) @test_bool_option_longform()
%8 = tail call i32 (...) @test_bool_option_shortform()
%9 = tail call i32 (...) @test_bool_list_empty()
%10 = tail call i32 (...) @test_bool_list_longform()
%11 = tail call i32 (...) @test_bool_option_shortform()
%12 = tail call i32 (...) @test_string_option_empty()
%13 = tail call i32 (...) @test_string_option_missing()
%14 = tail call i32 (...) @test_string_option_longform()
%15 = tail call i32 (...) @test_string_option_shortform()
%16 = tail call i32 (...) @test_string_list_empty()
%17 = tail call i32 (...) @test_string_list_longform()
%18 = tail call i32 (...) @test_string_list_shortform()
%19 = tail call i32 (...) @test_string_greedy_list_longform()
%20 = tail call i32 (...) @test_string_greedy_list_shortform()
%21 = tail call i32 (...) @test_int_option_empty()
%22 = tail call i32 (...) @test_int_option_missing()
%23 = tail call i32 (...) @test_int_option_longform()
%24 = tail call i32 (...) @test_int_option_shortform()
%25 = tail call i32 (...) @test_int_list_empty()
%26 = tail call i32 (...) @test_int_list_longform()
%27 = tail call i32 (...) @test_int_list_shortform()
%28 = tail call i32 (...) @test_int_greedy_list_longform()
%29 = tail call i32 (...) @test_int_greedy_list_shortform()
%30 = tail call i32 (...) @test_float_option_empty()
%31 = tail call i32 (...) @test_float_option_missing()
%32 = tail call i32 (...) @test_float_option_longform()
%33 = tail call i32 (...) @test_float_option_shortform()
%34 = tail call i32 (...) @test_float_list_empty()
%35 = tail call i32 (...) @test_float_list_longform()
%36 = tail call i32 (...) @test_float_list_shortform()
%37 = tail call i32 (...) @test_float_greedy_list_longform()
%38 = tail call i32 (...) @test_float_greedy_list_shortform()
%39 = tail call i32 (...) @test_multi_options_empty()
%40 = tail call i32 (...) @test_multi_options_longform()
%41 = tail call i32 (...) @test_multi_options_shortform()
%42 = tail call i32 (...) @test_condensed_options()
%43 = tail call i32 (...) @test_positional_args_empty()
%44 = tail call i32 (...) @test_positional_args()
%45 = tail call i32 (...) @test_positional_args_as_ints()
%46 = tail call i32 (...) @test_positional_args_as_floats()
%47 = tail call i32 (...) @test_option_parsing_switch()
%48 = tail call i32 (...) @test_command_absent()
%49 = tail call i32 (...) @test_command_present()
%50 = tail call i32 (...) @test_command_with_options()
%51 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str, i64 0, i64 0))
%52 = tail call i32 (...) @line()
ret i32 0
}