#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_empty_extension();
int /*<<< orphan*/ test_empty_root();
int /*<<< orphan*/ test_empty_string();
int /*<<< orphan*/ test_filename_binary_extensions();
int /*<<< orphan*/ test_filename_no_extension();
int /*<<< orphan*/ test_filename_unary_extension();
int /*<<< orphan*/ test_path_binary_extensions();
int /*<<< orphan*/ test_path_no_extension();
int /*<<< orphan*/ test_path_unary_extension();
void split_ext_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/"
        "misc/split_ext.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/"
            "misc/split_ext.c",
            "test_empty_string")) {
      seatest_suite_setup();
      seatest_setup();
      test_empty_string();
      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/misc/split_ext.c",
                       "test_empty_string");
    }
  } 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/"
            "misc/split_ext.c",
            "test_empty_extension")) {
      seatest_suite_setup();
      seatest_setup();
      test_empty_extension();
      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/misc/split_ext.c",
                       "test_empty_extension");
    }
  } 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/"
            "misc/split_ext.c",
            "test_empty_root")) {
      seatest_suite_setup();
      seatest_setup();
      test_empty_root();
      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/misc/split_ext.c",
                       "test_empty_root");
    }
  } 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/"
            "misc/split_ext.c",
            "test_filename_no_extension")) {
      seatest_suite_setup();
      seatest_setup();
      test_filename_no_extension();
      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/misc/split_ext.c",
                       "test_filename_no_extension");
    }
  } 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/"
            "misc/split_ext.c",
            "test_filename_unary_extension")) {
      seatest_suite_setup();
      seatest_setup();
      test_filename_unary_extension();
      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/misc/split_ext.c",
                       "test_filename_unary_extension");
    }
  } 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/"
            "misc/split_ext.c",
            "test_filename_binary_extensions")) {
      seatest_suite_setup();
      seatest_setup();
      test_filename_binary_extensions();
      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/misc/split_ext.c",
                       "test_filename_binary_extensions");
    }
  } 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/"
            "misc/split_ext.c",
            "test_path_no_extension")) {
      seatest_suite_setup();
      seatest_setup();
      test_path_no_extension();
      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/misc/split_ext.c",
                       "test_path_no_extension");
    }
  } 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/"
            "misc/split_ext.c",
            "test_path_unary_extension")) {
      seatest_suite_setup();
      seatest_setup();
      test_path_unary_extension();
      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/misc/split_ext.c",
                       "test_path_unary_extension");
    }
  } 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/"
            "misc/split_ext.c",
            "test_path_binary_extensions")) {
      seatest_suite_setup();
      seatest_setup();
      test_path_binary_extensions();
      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/misc/split_ext.c",
                       "test_path_binary_extensions");
    }
  } while (0);
  do {
    seatest_test_fixture_end();
  } while (0);
}


x86 assembly (clang, -O0):
<split_ext_tests>:
push   %rbp
mov    %rsp,%rbp
jmp    1219 <split_ext_tests+0x9>
lea    0xde0(%rip),%rdi
call   1130 <seatest_test_fixture_start@plt>
jmp    122a <split_ext_tests+0x1a>
lea    0xdcf(%rip),%rdi
lea    0xe5b(%rip),%rsi
call   10d0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     127d <split_ext_tests+0x6d>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10e0 <seatest_setup@plt>
mov    $0x0,%al
call   10f0 <test_empty_string@plt>
mov    $0x0,%al
call   1110 <seatest_teardown@plt>
mov    $0x0,%al
call   1100 <seatest_suite_teardown@plt>
lea    0xd8f(%rip),%rdi
lea    0xe1b(%rip),%rsi
call   1060 <seatest_run_test@plt>
jmp    1282 <split_ext_tests+0x72>
jmp    1287 <split_ext_tests+0x77>
lea    0xd72(%rip),%rdi
lea    0xe10(%rip),%rsi
call   10d0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     12da <split_ext_tests+0xca>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10e0 <seatest_setup@plt>
mov    $0x0,%al
call   10c0 <test_empty_extension@plt>
mov    $0x0,%al
call   1110 <seatest_teardown@plt>
mov    $0x0,%al
call   1100 <seatest_suite_teardown@plt>
lea    0xd32(%rip),%rdi
lea    0xdd0(%rip),%rsi
call   1060 <seatest_run_test@plt>
jmp    12df <split_ext_tests+0xcf>
jmp    12e4 <split_ext_tests+0xd4>
lea    0xd15(%rip),%rdi
lea    0xdc8(%rip),%rsi
call   10d0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     1337 <split_ext_tests+0x127>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10e0 <seatest_setup@plt>
mov    $0x0,%al
call   1050 <test_empty_root@plt>
mov    $0x0,%al
call   1110 <seatest_teardown@plt>
mov    $0x0,%al
call   1100 <seatest_suite_teardown@plt>
lea    0xcd5(%rip),%rdi
lea    0xd88(%rip),%rsi
call   1060 <seatest_run_test@plt>
jmp    133c <split_ext_tests+0x12c>
jmp    1341 <split_ext_tests+0x131>
lea    0xcb8(%rip),%rdi
lea    0xd7b(%rip),%rsi
call   10d0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     1394 <split_ext_tests+0x184>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10e0 <seatest_setup@plt>
mov    $0x0,%al
call   1040 <test_filename_no_extension@plt>
mov    $0x0,%al
call   1110 <seatest_teardown@plt>
mov    $0x0,%al
call   1100 <seatest_suite_teardown@plt>
lea    0xc78(%rip),%rdi
lea    0xd3b(%rip),%rsi
call   1060 <seatest_run_test@plt>
jmp    1399 <split_ext_tests+0x189>
jmp    139e <split_ext_tests+0x18e>
lea    0xc5b(%rip),%rdi
lea    0xd39(%rip),%rsi
call   10d0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     13f1 <split_ext_tests+0x1e1>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10e0 <seatest_setup@plt>
mov    $0x0,%al
call   1070 <test_filename_unary_extension@plt>
mov    $0x0,%al
call   1110 <seatest_teardown@plt>
mov    $0x0,%al
call   1100 <seatest_suite_teardown@plt>
lea    0xc1b(%rip),%rdi
lea    0xcf9(%rip),%rsi
call   1060 <seatest_run_test@plt>
jmp    13f6 <split_ext_tests+0x1e6>
jmp    13fb <split_ext_tests+0x1eb>
lea    0xbfe(%rip),%rdi
lea    0xcfa(%rip),%rsi
call   10d0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     144e <split_ext_tests+0x23e>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10e0 <seatest_setup@plt>
mov    $0x0,%al
call   1080 <test_filename_binary_extensions@plt>
mov    $0x0,%al
call   1110 <seatest_teardown@plt>
mov    $0x0,%al
call   1100 <seatest_suite_teardown@plt>
lea    0xbbe(%rip),%rdi
lea    0xcba(%rip),%rsi
call   1060 <seatest_run_test@plt>
jmp    1453 <split_ext_tests+0x243>
jmp    1458 <split_ext_tests+0x248>
lea    0xba1(%rip),%rdi
lea    0xcbd(%rip),%rsi
call   10d0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     14ab <split_ext_tests+0x29b>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10e0 <seatest_setup@plt>
mov    $0x0,%al
call   1090 <test_path_no_extension@plt>
mov    $0x0,%al
call   1110 <seatest_teardown@plt>
mov    $0x0,%al
call   1100 <seatest_suite_teardown@plt>
lea    0xb61(%rip),%rdi
lea    0xc7d(%rip),%rsi
call   1060 <seatest_run_test@plt>
jmp    14b0 <split_ext_tests+0x2a0>
jmp    14b5 <split_ext_tests+0x2a5>
lea    0xb44(%rip),%rdi
lea    0xc77(%rip),%rsi
call   10d0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     1508 <split_ext_tests+0x2f8>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10e0 <seatest_setup@plt>
mov    $0x0,%al
call   1120 <test_path_unary_extension@plt>
mov    $0x0,%al
call   1110 <seatest_teardown@plt>
mov    $0x0,%al
call   1100 <seatest_suite_teardown@plt>
lea    0xb04(%rip),%rdi
lea    0xc37(%rip),%rsi
call   1060 <seatest_run_test@plt>
jmp    150d <split_ext_tests+0x2fd>
jmp    1512 <split_ext_tests+0x302>
lea    0xae7(%rip),%rdi
lea    0xc34(%rip),%rsi
call   10d0 <seatest_should_run@plt>
cmp    $0x0,%rax
je     1565 <split_ext_tests+0x355>
mov    $0x0,%al
call   1030 <seatest_suite_setup@plt>
mov    $0x0,%al
call   10e0 <seatest_setup@plt>
mov    $0x0,%al
call   10a0 <test_path_binary_extensions@plt>
mov    $0x0,%al
call   1110 <seatest_teardown@plt>
mov    $0x0,%al
call   1100 <seatest_suite_teardown@plt>
lea    0xaa7(%rip),%rdi
lea    0xbf4(%rip),%rsi
call   1060 <seatest_run_test@plt>
jmp    156a <split_ext_tests+0x35a>
jmp    156f <split_ext_tests+0x35f>
mov    $0x0,%al
call   10b0 <seatest_test_fixture_end@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<split_ext_tests>:
push   %rbx
lea    0xde8(%rip),%rbx
mov    %rbx,%rdi
call   1130 <seatest_test_fixture_start@plt>
lea    0xe6c(%rip),%rsi
mov    %rbx,%rdi
call   10d0 <seatest_should_run@plt>
test   %rax,%rax
je     126a <split_ext_tests+0x5a>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10e0 <seatest_setup@plt>
xor    %eax,%eax
call   10f0 <test_empty_string@plt>
xor    %eax,%eax
call   1110 <seatest_teardown@plt>
xor    %eax,%eax
call   1100 <seatest_suite_teardown@plt>
lea    0xda2(%rip),%rdi
lea    0xe2e(%rip),%rsi
call   1060 <seatest_run_test@plt>
lea    0xd8f(%rip),%rdi
lea    0xe2d(%rip),%rsi
call   10d0 <seatest_should_run@plt>
test   %rax,%rax
je     12b8 <split_ext_tests+0xa8>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10e0 <seatest_setup@plt>
xor    %eax,%eax
call   10c0 <test_empty_extension@plt>
xor    %eax,%eax
call   1110 <seatest_teardown@plt>
xor    %eax,%eax
call   1100 <seatest_suite_teardown@plt>
lea    0xd54(%rip),%rdi
lea    0xdf2(%rip),%rsi
call   1060 <seatest_run_test@plt>
lea    0xd41(%rip),%rdi
lea    0xdf4(%rip),%rsi
call   10d0 <seatest_should_run@plt>
test   %rax,%rax
je     1306 <split_ext_tests+0xf6>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10e0 <seatest_setup@plt>
xor    %eax,%eax
call   1050 <test_empty_root@plt>
xor    %eax,%eax
call   1110 <seatest_teardown@plt>
xor    %eax,%eax
call   1100 <seatest_suite_teardown@plt>
lea    0xd06(%rip),%rdi
lea    0xdb9(%rip),%rsi
call   1060 <seatest_run_test@plt>
lea    0xcf3(%rip),%rdi
lea    0xdb6(%rip),%rsi
call   10d0 <seatest_should_run@plt>
test   %rax,%rax
je     1354 <split_ext_tests+0x144>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10e0 <seatest_setup@plt>
xor    %eax,%eax
call   1040 <test_filename_no_extension@plt>
xor    %eax,%eax
call   1110 <seatest_teardown@plt>
xor    %eax,%eax
call   1100 <seatest_suite_teardown@plt>
lea    0xcb8(%rip),%rdi
lea    0xd7b(%rip),%rsi
call   1060 <seatest_run_test@plt>
lea    0xca5(%rip),%rdi
lea    0xd83(%rip),%rsi
call   10d0 <seatest_should_run@plt>
test   %rax,%rax
je     13a2 <split_ext_tests+0x192>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10e0 <seatest_setup@plt>
xor    %eax,%eax
call   1070 <test_filename_unary_extension@plt>
xor    %eax,%eax
call   1110 <seatest_teardown@plt>
xor    %eax,%eax
call   1100 <seatest_suite_teardown@plt>
lea    0xc6a(%rip),%rdi
lea    0xd48(%rip),%rsi
call   1060 <seatest_run_test@plt>
lea    0xc57(%rip),%rdi
lea    0xd53(%rip),%rsi
call   10d0 <seatest_should_run@plt>
test   %rax,%rax
je     13f0 <split_ext_tests+0x1e0>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10e0 <seatest_setup@plt>
xor    %eax,%eax
call   1080 <test_filename_binary_extensions@plt>
xor    %eax,%eax
call   1110 <seatest_teardown@plt>
xor    %eax,%eax
call   1100 <seatest_suite_teardown@plt>
lea    0xc1c(%rip),%rdi
lea    0xd18(%rip),%rsi
call   1060 <seatest_run_test@plt>
lea    0xc09(%rip),%rdi
lea    0xd25(%rip),%rsi
call   10d0 <seatest_should_run@plt>
test   %rax,%rax
je     143e <split_ext_tests+0x22e>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10e0 <seatest_setup@plt>
xor    %eax,%eax
call   1090 <test_path_no_extension@plt>
xor    %eax,%eax
call   1110 <seatest_teardown@plt>
xor    %eax,%eax
call   1100 <seatest_suite_teardown@plt>
lea    0xbce(%rip),%rdi
lea    0xcea(%rip),%rsi
call   1060 <seatest_run_test@plt>
lea    0xbbb(%rip),%rdi
lea    0xcee(%rip),%rsi
call   10d0 <seatest_should_run@plt>
test   %rax,%rax
je     148c <split_ext_tests+0x27c>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10e0 <seatest_setup@plt>
xor    %eax,%eax
call   1120 <test_path_unary_extension@plt>
xor    %eax,%eax
call   1110 <seatest_teardown@plt>
xor    %eax,%eax
call   1100 <seatest_suite_teardown@plt>
lea    0xb80(%rip),%rdi
lea    0xcb3(%rip),%rsi
call   1060 <seatest_run_test@plt>
lea    0xb6d(%rip),%rdi
lea    0xcba(%rip),%rsi
call   10d0 <seatest_should_run@plt>
test   %rax,%rax
je     14da <split_ext_tests+0x2ca>
xor    %eax,%eax
call   1030 <seatest_suite_setup@plt>
xor    %eax,%eax
call   10e0 <seatest_setup@plt>
xor    %eax,%eax
call   10a0 <test_path_binary_extensions@plt>
xor    %eax,%eax
call   1110 <seatest_teardown@plt>
xor    %eax,%eax
call   1100 <seatest_suite_teardown@plt>
lea    0xb32(%rip),%rdi
lea    0xc7f(%rip),%rsi
call   1060 <seatest_run_test@plt>
xor    %eax,%eax
pop    %rbx
jmp    10b0 <seatest_test_fixture_end@plt>

LLVM IR (-O0):
@.str = [147 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/misc/split_ext.c\00"
@.str.1 = [18 x i8] c"test_empty_string\00"
@.str.2 = [21 x i8] c"test_empty_extension\00"
@.str.3 = [16 x i8] c"test_empty_root\00"
@.str.4 = [27 x i8] c"test_filename_no_extension\00"
@.str.5 = [30 x i8] c"test_filename_unary_extension\00"
@.str.6 = [32 x i8] c"test_filename_binary_extensions\00"
@.str.7 = [23 x i8] c"test_path_no_extension\00"
@.str.8 = [26 x i8] c"test_path_unary_extension\00"
@.str.9 = [28 x i8] c"test_path_binary_extensions\00"
define void @split_ext_tests() {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(i8* getelementptr inbounds ([147 x i8], [147 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 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_empty_string()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 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_empty_extension()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 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_empty_root()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 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_filename_no_extension()
%47 = call i32 (...) @seatest_teardown()
%48 = call i32 (...) @seatest_suite_teardown()
%49 = call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 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_filename_unary_extension()
%59 = call i32 (...) @seatest_teardown()
%60 = call i32 (...) @seatest_suite_teardown()
%61 = call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 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_filename_binary_extensions()
%71 = call i32 (...) @seatest_teardown()
%72 = call i32 (...) @seatest_suite_teardown()
%73 = call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 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_path_no_extension()
%83 = call i32 (...) @seatest_teardown()
%84 = call i32 (...) @seatest_suite_teardown()
%85 = call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 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_path_unary_extension()
%95 = call i32 (...) @seatest_teardown()
%96 = call i32 (...) @seatest_suite_teardown()
%97 = call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 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_path_binary_extensions()
%107 = call i32 (...) @seatest_teardown()
%108 = call i32 (...) @seatest_suite_teardown()
%109 = call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 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 i32 (...) @seatest_test_fixture_end()
br label %114
114: ; preds = %112
ret void
}

LLVM IR (-O2):
@.str = [147 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/misc/split_ext.c\00"
@.str.1 = [18 x i8] c"test_empty_string\00"
@.str.2 = [21 x i8] c"test_empty_extension\00"
@.str.3 = [16 x i8] c"test_empty_root\00"
@.str.4 = [27 x i8] c"test_filename_no_extension\00"
@.str.5 = [30 x i8] c"test_filename_unary_extension\00"
@.str.6 = [32 x i8] c"test_filename_binary_extensions\00"
@.str.7 = [23 x i8] c"test_path_no_extension\00"
@.str.8 = [26 x i8] c"test_path_unary_extension\00"
@.str.9 = [28 x i8] c"test_path_binary_extensions\00"
define void @split_ext_tests() {
%1 = tail call i32 @seatest_test_fixture_start(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0))
%2 = tail call i64 @seatest_should_run(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 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_empty_string()
%8 = tail call i32 (...) @seatest_teardown()
%9 = tail call i32 (...) @seatest_suite_teardown()
%10 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 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_empty_extension()
%18 = tail call i32 (...) @seatest_teardown()
%19 = tail call i32 (...) @seatest_suite_teardown()
%20 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 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_empty_root()
%28 = tail call i32 (...) @seatest_teardown()
%29 = tail call i32 (...) @seatest_suite_teardown()
%30 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 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_filename_no_extension()
%38 = tail call i32 (...) @seatest_teardown()
%39 = tail call i32 (...) @seatest_suite_teardown()
%40 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 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_filename_unary_extension()
%48 = tail call i32 (...) @seatest_teardown()
%49 = tail call i32 (...) @seatest_suite_teardown()
%50 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 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_filename_binary_extensions()
%58 = tail call i32 (...) @seatest_teardown()
%59 = tail call i32 (...) @seatest_suite_teardown()
%60 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 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_path_no_extension()
%68 = tail call i32 (...) @seatest_teardown()
%69 = tail call i32 (...) @seatest_suite_teardown()
%70 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 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_path_unary_extension()
%78 = tail call i32 (...) @seatest_teardown()
%79 = tail call i32 (...) @seatest_suite_teardown()
%80 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 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 ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 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_path_binary_extensions()
%88 = tail call i32 (...) @seatest_teardown()
%89 = tail call i32 (...) @seatest_suite_teardown()
%90 = tail call i32 @seatest_run_test(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
br label %91
91: ; preds = %84, %81
%92 = tail call i32 (...) @seatest_test_fixture_end()
ret void
}