#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*/ seatest_run_test(char *, char *);
int /*<<< orphan*/ seatest_setup();
scalar_t__ seatest_should_run(char *, char *);
int /*<<< orphan*/ seatest_suite_setup();
int /*<<< orphan*/ seatest_suite_teardown();
int /*<<< orphan*/ seatest_teardown();
int /*<<< orphan*/ seatest_test_fixture_end();
int /*<<< orphan*/ seatest_test_fixture_start(char *);
int /*<<< orphan*/ test_general();
int /*<<< orphan*/ test_one_element_completion();
int /*<<< orphan*/ test_one_unambiguous_completion();
int /*<<< orphan*/ test_order();
int /*<<< orphan*/ test_removes_duplicates();
int /*<<< orphan*/ test_rewind();
int /*<<< orphan*/ test_rewind_one_unambiguous_completion();
int /*<<< orphan*/ test_sorting();
int /*<<< orphan*/ test_two_matches();
int /*<<< orphan*/ test_umbiguous_begin();
void completion_tests(void) {
  do {
    seatest_test_fixture_start(
        "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
        "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
        "completion/completion_tests.c");
  } while (0);
  do {
    if (seatest_should_run(
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
            "completion/completion_tests.c",
            "test_general")) {
      seatest_suite_setup();
      seatest_setup();
      test_general();
      seatest_teardown();
      seatest_suite_teardown();
      seatest_run_test(
          "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
          "completion/completion_tests.c",
          "test_general");
    }
  } while (0);
  do {
    if (seatest_should_run(
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
            "completion/completion_tests.c",
            "test_sorting")) {
      seatest_suite_setup();
      seatest_setup();
      test_sorting();
      seatest_teardown();
      seatest_suite_teardown();
      seatest_run_test(
          "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
          "completion/completion_tests.c",
          "test_sorting");
    }
  } while (0);
  do {
    if (seatest_should_run(
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
            "completion/completion_tests.c",
            "test_one_element_completion")) {
      seatest_suite_setup();
      seatest_setup();
      test_one_element_completion();
      seatest_teardown();
      seatest_suite_teardown();
      seatest_run_test(
          "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
          "completion/completion_tests.c",
          "test_one_element_completion");
    }
  } while (0);
  do {
    if (seatest_should_run(
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
            "completion/completion_tests.c",
            "test_one_unambiguous_completion")) {
      seatest_suite_setup();
      seatest_setup();
      test_one_unambiguous_completion();
      seatest_teardown();
      seatest_suite_teardown();
      seatest_run_test(
          "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
          "completion/completion_tests.c",
          "test_one_unambiguous_completion");
    }
  } while (0);
  do {
    if (seatest_should_run(
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
            "completion/completion_tests.c",
            "test_rewind_one_unambiguous_completion")) {
      seatest_suite_setup();
      seatest_setup();
      test_rewind_one_unambiguous_completion();
      seatest_teardown();
      seatest_suite_teardown();
      seatest_run_test(
          "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
          "completion/completion_tests.c",
          "test_rewind_one_unambiguous_completion");
    }
  } while (0);
  do {
    if (seatest_should_run(
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
            "completion/completion_tests.c",
            "test_rewind")) {
      seatest_suite_setup();
      seatest_setup();
      test_rewind();
      seatest_teardown();
      seatest_suite_teardown();
      seatest_run_test(
          "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
          "completion/completion_tests.c",
          "test_rewind");
    }
  } while (0);
  do {
    if (seatest_should_run(
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
            "completion/completion_tests.c",
            "test_order")) {
      seatest_suite_setup();
      seatest_setup();
      test_order();
      seatest_teardown();
      seatest_suite_teardown();
      seatest_run_test(
          "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
          "completion/completion_tests.c",
          "test_order");
    }
  } while (0);
  do {
    if (seatest_should_run(
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
            "completion/completion_tests.c",
            "test_umbiguous_begin")) {
      seatest_suite_setup();
      seatest_setup();
      test_umbiguous_begin();
      seatest_teardown();
      seatest_suite_teardown();
      seatest_run_test(
          "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
          "completion/completion_tests.c",
          "test_umbiguous_begin");
    }
  } while (0);
  do {
    if (seatest_should_run(
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
            "completion/completion_tests.c",
            "test_two_matches")) {
      seatest_suite_setup();
      seatest_setup();
      test_two_matches();
      seatest_teardown();
      seatest_suite_teardown();
      seatest_run_test(
          "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
          "completion/completion_tests.c",
          "test_two_matches");
    }
  } while (0);
  do {
    if (seatest_should_run(
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
            "completion/completion_tests.c",
            "test_removes_duplicates")) {
      seatest_suite_setup();
      seatest_setup();
      test_removes_duplicates();
      seatest_teardown();
      seatest_suite_teardown();
      seatest_run_test(
          "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/"
          "completion/completion_tests.c",
          "test_removes_duplicates");
    }
  } while (0);
  do {
    seatest_test_fixture_end();
  } while (0);
}


x86 assembly (clang, -O0):
<completion_tests>:
push   %rbp
mov    %rsp,%rbp
jmp    1229 <completion_tests+0x9>
lea    0xdd0(%rip),%rdi
call   1140 <seatest_test_fixture_start@plt>
jmp    123a <completion_tests+0x1a>
lea    0xdbf(%rip),%rdi
lea    0xe58(%rip),%rsi
call   10c0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     128d <completion_tests+0x6d>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10d0 <seatest_setup@plt>
mov    $0x0,%al
call   10f0 <test_general@plt>
mov    $0x0,%al
call   1130 <seatest_teardown@plt>
mov    $0x0,%al
call   1120 <seatest_suite_teardown@plt>
lea    0xd7f(%rip),%rdi
lea    0xe18(%rip),%rsi
call   1050 <seatest_run_test@plt>
jmp    1292 <completion_tests+0x72>
jmp    1297 <completion_tests+0x77>
lea    0xd62(%rip),%rdi
lea    0xe08(%rip),%rsi
call   10c0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     12ea <completion_tests+0xca>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10d0 <seatest_setup@plt>
mov    $0x0,%al
call   1100 <test_sorting@plt>
mov    $0x0,%al
call   1130 <seatest_teardown@plt>
mov    $0x0,%al
call   1120 <seatest_suite_teardown@plt>
lea    0xd22(%rip),%rdi
lea    0xdc8(%rip),%rsi
call   1050 <seatest_run_test@plt>
jmp    12ef <completion_tests+0xcf>
jmp    12f4 <completion_tests+0xd4>
lea    0xd05(%rip),%rdi
lea    0xdb8(%rip),%rsi
call   10c0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     1347 <completion_tests+0x127>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10d0 <seatest_setup@plt>
mov    $0x0,%al
call   10b0 <test_one_element_completion@plt>
mov    $0x0,%al
call   1130 <seatest_teardown@plt>
mov    $0x0,%al
call   1120 <seatest_suite_teardown@plt>
lea    0xcc5(%rip),%rdi
lea    0xd78(%rip),%rsi
call   1050 <seatest_run_test@plt>
jmp    134c <completion_tests+0x12c>
jmp    1351 <completion_tests+0x131>
lea    0xca8(%rip),%rdi
lea    0xd77(%rip),%rsi
call   10c0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     13a4 <completion_tests+0x184>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10d0 <seatest_setup@plt>
mov    $0x0,%al
call   10a0 <test_one_unambiguous_completion@plt>
mov    $0x0,%al
call   1130 <seatest_teardown@plt>
mov    $0x0,%al
call   1120 <seatest_suite_teardown@plt>
lea    0xc68(%rip),%rdi
lea    0xd37(%rip),%rsi
call   1050 <seatest_run_test@plt>
jmp    13a9 <completion_tests+0x189>
jmp    13ae <completion_tests+0x18e>
lea    0xc4b(%rip),%rdi
lea    0xd3a(%rip),%rsi
call   10c0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     1401 <completion_tests+0x1e1>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10d0 <seatest_setup@plt>
mov    $0x0,%al
call   1060 <test_rewind_one_unambiguous_completion@plt>
mov    $0x0,%al
call   1130 <seatest_teardown@plt>
mov    $0x0,%al
call   1120 <seatest_suite_teardown@plt>
lea    0xc0b(%rip),%rdi
lea    0xcfa(%rip),%rsi
call   1050 <seatest_run_test@plt>
jmp    1406 <completion_tests+0x1e6>
jmp    140b <completion_tests+0x1eb>
lea    0xbee(%rip),%rdi
lea    0xd04(%rip),%rsi
call   10c0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     145e <completion_tests+0x23e>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10d0 <seatest_setup@plt>
mov    $0x0,%al
call   1070 <test_rewind@plt>
mov    $0x0,%al
call   1130 <seatest_teardown@plt>
mov    $0x0,%al
call   1120 <seatest_suite_teardown@plt>
lea    0xbae(%rip),%rdi
lea    0xcc4(%rip),%rsi
call   1050 <seatest_run_test@plt>
jmp    1463 <completion_tests+0x243>
jmp    1468 <completion_tests+0x248>
lea    0xb91(%rip),%rdi
lea    0xcb3(%rip),%rsi
call   10c0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     14bb <completion_tests+0x29b>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10d0 <seatest_setup@plt>
mov    $0x0,%al
call   1110 <test_order@plt>
mov    $0x0,%al
call   1130 <seatest_teardown@plt>
mov    $0x0,%al
call   1120 <seatest_suite_teardown@plt>
lea    0xb51(%rip),%rdi
lea    0xc73(%rip),%rsi
call   1050 <seatest_run_test@plt>
jmp    14c0 <completion_tests+0x2a0>
jmp    14c5 <completion_tests+0x2a5>
lea    0xb34(%rip),%rdi
lea    0xc61(%rip),%rsi
call   10c0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     1518 <completion_tests+0x2f8>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10d0 <seatest_setup@plt>
mov    $0x0,%al
call   1080 <test_umbiguous_begin@plt>
mov    $0x0,%al
call   1130 <seatest_teardown@plt>
mov    $0x0,%al
call   1120 <seatest_suite_teardown@plt>
lea    0xaf4(%rip),%rdi
lea    0xc21(%rip),%rsi
call   1050 <seatest_run_test@plt>
jmp    151d <completion_tests+0x2fd>
jmp    1522 <completion_tests+0x302>
lea    0xad7(%rip),%rdi
lea    0xc19(%rip),%rsi
call   10c0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     1575 <completion_tests+0x355>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10d0 <seatest_setup@plt>
mov    $0x0,%al
call   1040 <test_two_matches@plt>
mov    $0x0,%al
call   1130 <seatest_teardown@plt>
mov    $0x0,%al
call   1120 <seatest_suite_teardown@plt>
lea    0xa97(%rip),%rdi
lea    0xbd9(%rip),%rsi
call   1050 <seatest_run_test@plt>
jmp    157a <completion_tests+0x35a>
jmp    157f <completion_tests+0x35f>
lea    0xa7a(%rip),%rdi
lea    0xbcd(%rip),%rsi
call   10c0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     15d2 <completion_tests+0x3b2>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10d0 <seatest_setup@plt>
mov    $0x0,%al
call   10e0 <test_removes_duplicates@plt>
mov    $0x0,%al
call   1130 <seatest_teardown@plt>
mov    $0x0,%al
call   1120 <seatest_suite_teardown@plt>
lea    0xa3a(%rip),%rdi
lea    0xb8d(%rip),%rsi
call   1050 <seatest_run_test@plt>
jmp    15d7 <completion_tests+0x3b7>
jmp    15dc <completion_tests+0x3bc>
mov    $0x0,%al
call   1090 <seatest_test_fixture_end@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<completion_tests>:
push   %rbx
lea    0xdd8(%rip),%rbx
mov    %rbx,%rdi
call   1140 <seatest_test_fixture_start@plt>
lea    0xe69(%rip),%rsi
mov    %rbx,%rdi
call   10c0 <seatest_should_run@plt>
test   %rax,%rax
je     127a <completion_tests+0x5a>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10d0 <seatest_setup@plt>
xor    %eax,%eax
call   10f0 <test_general@plt>
xor    %eax,%eax
call   1130 <seatest_teardown@plt>
xor    %eax,%eax
call   1120 <seatest_suite_teardown@plt>
lea    0xd92(%rip),%rdi
lea    0xe2b(%rip),%rsi
call   1050 <seatest_run_test@plt>
lea    0xd7f(%rip),%rdi
lea    0xe25(%rip),%rsi
call   10c0 <seatest_should_run@plt>
test   %rax,%rax
je     12c8 <completion_tests+0xa8>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10d0 <seatest_setup@plt>
xor    %eax,%eax
call   1100 <test_sorting@plt>
xor    %eax,%eax
call   1130 <seatest_teardown@plt>
xor    %eax,%eax
call   1120 <seatest_suite_teardown@plt>
lea    0xd44(%rip),%rdi
lea    0xdea(%rip),%rsi
call   1050 <seatest_run_test@plt>
lea    0xd31(%rip),%rdi
lea    0xde4(%rip),%rsi
call   10c0 <seatest_should_run@plt>
test   %rax,%rax
je     1316 <completion_tests+0xf6>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10d0 <seatest_setup@plt>
xor    %eax,%eax
call   10b0 <test_one_element_completion@plt>
xor    %eax,%eax
call   1130 <seatest_teardown@plt>
xor    %eax,%eax
call   1120 <seatest_suite_teardown@plt>
lea    0xcf6(%rip),%rdi
lea    0xda9(%rip),%rsi
call   1050 <seatest_run_test@plt>
lea    0xce3(%rip),%rdi
lea    0xdb2(%rip),%rsi
call   10c0 <seatest_should_run@plt>
test   %rax,%rax
je     1364 <completion_tests+0x144>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10d0 <seatest_setup@plt>
xor    %eax,%eax
call   10a0 <test_one_unambiguous_completion@plt>
xor    %eax,%eax
call   1130 <seatest_teardown@plt>
xor    %eax,%eax
call   1120 <seatest_suite_teardown@plt>
lea    0xca8(%rip),%rdi
lea    0xd77(%rip),%rsi
call   1050 <seatest_run_test@plt>
lea    0xc95(%rip),%rdi
lea    0xd84(%rip),%rsi
call   10c0 <seatest_should_run@plt>
test   %rax,%rax
je     13b2 <completion_tests+0x192>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10d0 <seatest_setup@plt>
xor    %eax,%eax
call   1060 <test_rewind_one_unambiguous_completion@plt>
xor    %eax,%eax
call   1130 <seatest_teardown@plt>
xor    %eax,%eax
call   1120 <seatest_suite_teardown@plt>
lea    0xc5a(%rip),%rdi
lea    0xd49(%rip),%rsi
call   1050 <seatest_run_test@plt>
lea    0xc47(%rip),%rdi
lea    0xd5d(%rip),%rsi
call   10c0 <seatest_should_run@plt>
test   %rax,%rax
je     1400 <completion_tests+0x1e0>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10d0 <seatest_setup@plt>
xor    %eax,%eax
call   1070 <test_rewind@plt>
xor    %eax,%eax
call   1130 <seatest_teardown@plt>
xor    %eax,%eax
call   1120 <seatest_suite_teardown@plt>
lea    0xc0c(%rip),%rdi
lea    0xd22(%rip),%rsi
call   1050 <seatest_run_test@plt>
lea    0xbf9(%rip),%rdi
lea    0xd1b(%rip),%rsi
call   10c0 <seatest_should_run@plt>
test   %rax,%rax
je     144e <completion_tests+0x22e>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10d0 <seatest_setup@plt>
xor    %eax,%eax
call   1110 <test_order@plt>
xor    %eax,%eax
call   1130 <seatest_teardown@plt>
xor    %eax,%eax
call   1120 <seatest_suite_teardown@plt>
lea    0xbbe(%rip),%rdi
lea    0xce0(%rip),%rsi
call   1050 <seatest_run_test@plt>
lea    0xbab(%rip),%rdi
lea    0xcd8(%rip),%rsi
call   10c0 <seatest_should_run@plt>
test   %rax,%rax
je     149c <completion_tests+0x27c>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10d0 <seatest_setup@plt>
xor    %eax,%eax
call   1080 <test_umbiguous_begin@plt>
xor    %eax,%eax
call   1130 <seatest_teardown@plt>
xor    %eax,%eax
call   1120 <seatest_suite_teardown@plt>
lea    0xb70(%rip),%rdi
lea    0xc9d(%rip),%rsi
call   1050 <seatest_run_test@plt>
lea    0xb5d(%rip),%rdi
lea    0xc9f(%rip),%rsi
call   10c0 <seatest_should_run@plt>
test   %rax,%rax
je     14ea <completion_tests+0x2ca>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10d0 <seatest_setup@plt>
xor    %eax,%eax
call   1040 <test_two_matches@plt>
xor    %eax,%eax
call   1130 <seatest_teardown@plt>
xor    %eax,%eax
call   1120 <seatest_suite_teardown@plt>
lea    0xb22(%rip),%rdi
lea    0xc64(%rip),%rsi
call   1050 <seatest_run_test@plt>
lea    0xb0f(%rip),%rdi
lea    0xc62(%rip),%rsi
call   10c0 <seatest_should_run@plt>
test   %rax,%rax
je     1538 <completion_tests+0x318>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10d0 <seatest_setup@plt>
xor    %eax,%eax
call   10e0 <test_removes_duplicates@plt>
xor    %eax,%eax
call   1130 <seatest_teardown@plt>
xor    %eax,%eax
call   1120 <seatest_suite_teardown@plt>
lea    0xad4(%rip),%rdi
lea    0xc27(%rip),%rsi
call   1050 <seatest_run_test@plt>
xor    %eax,%eax
pop    %rbx
jmp    1090 <seatest_test_fixture_end@plt>

LLVM IR (-O0):
@.str = [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/completion/completion_tests.c\00"
@.str.1 = [13 x i8] c"test_general\00"
@.str.2 = [13 x i8] c"test_sorting\00"
@.str.3 = [28 x i8] c"test_one_element_completion\00"
@.str.4 = [32 x i8] c"test_one_unambiguous_completion\00"
@.str.5 = [39 x i8] c"test_rewind_one_unambiguous_completion\00"
@.str.6 = [12 x i8] c"test_rewind\00"
@.str.7 = [11 x i8] c"test_order\00"
@.str.8 = [21 x i8] c"test_umbiguous_begin\00"
@.str.9 = [17 x i8] c"test_two_matches\00"
@.str.10 = [24 x i8] c"test_removes_duplicates\00"
define void @completion_tests() {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0))
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_general()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_sorting()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_one_element_completion()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0))
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = call i32 (...) @seatest_suite_setup()
%45 = call i32 (...) @seatest_setup()
%46 = call i32 (...) @test_one_unambiguous_completion()
%47 = call i32 (...) @seatest_teardown()
%48 = call i32 (...) @seatest_suite_teardown()
%49 = call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0))
br label %50
50: ; preds = %43, %40
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0))
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = call i32 (...) @seatest_suite_setup()
%57 = call i32 (...) @seatest_setup()
%58 = call i32 (...) @test_rewind_one_unambiguous_completion()
%59 = call i32 (...) @seatest_teardown()
%60 = call i32 (...) @seatest_suite_teardown()
%61 = call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0))
br label %62
62: ; preds = %55, %52
br label %63
63: ; preds = %62
br label %64
64: ; preds = %63
%65 = call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = call i32 (...) @seatest_suite_setup()
%69 = call i32 (...) @seatest_setup()
%70 = call i32 (...) @test_rewind()
%71 = call i32 (...) @seatest_teardown()
%72 = call i32 (...) @seatest_suite_teardown()
%73 = call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
br label %74
74: ; preds = %67, %64
br label %75
75: ; preds = %74
br label %76
76: ; preds = %75
%77 = call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %86
79: ; preds = %76
%80 = call i32 (...) @seatest_suite_setup()
%81 = call i32 (...) @seatest_setup()
%82 = call i32 (...) @test_order()
%83 = call i32 (...) @seatest_teardown()
%84 = call i32 (...) @seatest_suite_teardown()
%85 = call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
br label %86
86: ; preds = %79, %76
br label %87
87: ; preds = %86
br label %88
88: ; preds = %87
%89 = call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
%90 = icmp ne i64 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %88
%92 = call i32 (...) @seatest_suite_setup()
%93 = call i32 (...) @seatest_setup()
%94 = call i32 (...) @test_umbiguous_begin()
%95 = call i32 (...) @seatest_teardown()
%96 = call i32 (...) @seatest_suite_teardown()
%97 = call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
br label %98
98: ; preds = %91, %88
br label %99
99: ; preds = %98
br label %100
100: ; preds = %99
%101 = call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %110
103: ; preds = %100
%104 = call i32 (...) @seatest_suite_setup()
%105 = call i32 (...) @seatest_setup()
%106 = call i32 (...) @test_two_matches()
%107 = call i32 (...) @seatest_teardown()
%108 = call i32 (...) @seatest_suite_teardown()
%109 = call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
br label %110
110: ; preds = %103, %100
br label %111
111: ; preds = %110
br label %112
112: ; preds = %111
%113 = call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%114 = icmp ne i64 %113, 0
br i1 %114, label %115, label %122
115: ; preds = %112
%116 = call i32 (...) @seatest_suite_setup()
%117 = call i32 (...) @seatest_setup()
%118 = call i32 (...) @test_removes_duplicates()
%119 = call i32 (...) @seatest_teardown()
%120 = call i32 (...) @seatest_suite_teardown()
%121 = call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
br label %122
122: ; preds = %115, %112
br label %123
123: ; preds = %122
br label %124
124: ; preds = %123
%125 = call i32 (...) @seatest_test_fixture_end()
br label %126
126: ; preds = %124
ret void
}

LLVM IR (-O2):
@.str = [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/completion/completion_tests.c\00"
@.str.1 = [13 x i8] c"test_general\00"
@.str.2 = [13 x i8] c"test_sorting\00"
@.str.3 = [28 x i8] c"test_one_element_completion\00"
@.str.4 = [32 x i8] c"test_one_unambiguous_completion\00"
@.str.5 = [39 x i8] c"test_rewind_one_unambiguous_completion\00"
@.str.6 = [12 x i8] c"test_rewind\00"
@.str.7 = [11 x i8] c"test_order\00"
@.str.8 = [21 x i8] c"test_umbiguous_begin\00"
@.str.9 = [17 x i8] c"test_two_matches\00"
@.str.10 = [24 x i8] c"test_removes_duplicates\00"
define void @completion_tests() {
%1 = tail call i32 @seatest_test_fixture_start(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0))
%2 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %0
%5 = tail call i32 (...) @seatest_suite_setup()
%6 = tail call i32 (...) @seatest_setup()
%7 = tail call i32 (...) @test_general()
%8 = tail call i32 (...) @seatest_teardown()
%9 = tail call i32 (...) @seatest_suite_teardown()
%10 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
br label %11
11: ; preds = %4, %0
%12 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %21, label %14
14: ; preds = %11
%15 = tail call i32 (...) @seatest_suite_setup()
%16 = tail call i32 (...) @seatest_setup()
%17 = tail call i32 (...) @test_sorting()
%18 = tail call i32 (...) @seatest_teardown()
%19 = tail call i32 (...) @seatest_suite_teardown()
%20 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
br label %21
21: ; preds = %14, %11
%22 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %31, label %24
24: ; preds = %21
%25 = tail call i32 (...) @seatest_suite_setup()
%26 = tail call i32 (...) @seatest_setup()
%27 = tail call i32 (...) @test_one_element_completion()
%28 = tail call i32 (...) @seatest_teardown()
%29 = tail call i32 (...) @seatest_suite_teardown()
%30 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
br label %31
31: ; preds = %24, %21
%32 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %41, label %34
34: ; preds = %31
%35 = tail call i32 (...) @seatest_suite_setup()
%36 = tail call i32 (...) @seatest_setup()
%37 = tail call i32 (...) @test_one_unambiguous_completion()
%38 = tail call i32 (...) @seatest_teardown()
%39 = tail call i32 (...) @seatest_suite_teardown()
%40 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0))
br label %41
41: ; preds = %34, %31
%42 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0))
%43 = icmp eq i64 %42, 0
br i1 %43, label %51, label %44
44: ; preds = %41
%45 = tail call i32 (...) @seatest_suite_setup()
%46 = tail call i32 (...) @seatest_setup()
%47 = tail call i32 (...) @test_rewind_one_unambiguous_completion()
%48 = tail call i32 (...) @seatest_teardown()
%49 = tail call i32 (...) @seatest_suite_teardown()
%50 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0))
br label %51
51: ; preds = %44, %41
%52 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
br i1 %53, label %61, label %54
54: ; preds = %51
%55 = tail call i32 (...) @seatest_suite_setup()
%56 = tail call i32 (...) @seatest_setup()
%57 = tail call i32 (...) @test_rewind()
%58 = tail call i32 (...) @seatest_teardown()
%59 = tail call i32 (...) @seatest_suite_teardown()
%60 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
br label %61
61: ; preds = %54, %51
%62 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
br i1 %63, label %71, label %64
64: ; preds = %61
%65 = tail call i32 (...) @seatest_suite_setup()
%66 = tail call i32 (...) @seatest_setup()
%67 = tail call i32 (...) @test_order()
%68 = tail call i32 (...) @seatest_teardown()
%69 = tail call i32 (...) @seatest_suite_teardown()
%70 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
br label %71
71: ; preds = %64, %61
%72 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
%73 = icmp eq i64 %72, 0
br i1 %73, label %81, label %74
74: ; preds = %71
%75 = tail call i32 (...) @seatest_suite_setup()
%76 = tail call i32 (...) @seatest_setup()
%77 = tail call i32 (...) @test_umbiguous_begin()
%78 = tail call i32 (...) @seatest_teardown()
%79 = tail call i32 (...) @seatest_suite_teardown()
%80 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
br label %81
81: ; preds = %74, %71
%82 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%83 = icmp eq i64 %82, 0
br i1 %83, label %91, label %84
84: ; preds = %81
%85 = tail call i32 (...) @seatest_suite_setup()
%86 = tail call i32 (...) @seatest_setup()
%87 = tail call i32 (...) @test_two_matches()
%88 = tail call i32 (...) @seatest_teardown()
%89 = tail call i32 (...) @seatest_suite_teardown()
%90 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
br label %91
91: ; preds = %84, %81
%92 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%93 = icmp eq i64 %92, 0
br i1 %93, label %101, label %94
94: ; preds = %91
%95 = tail call i32 (...) @seatest_suite_setup()
%96 = tail call i32 (...) @seatest_setup()
%97 = tail call i32 (...) @test_removes_duplicates()
%98 = tail call i32 (...) @seatest_teardown()
%99 = tail call i32 (...) @seatest_suite_teardown()
%100 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
br label %101
101: ; preds = %94, %91
%102 = tail call i32 (...) @seatest_test_fixture_end()
ret void
}