#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*/ _exit(int);
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *,
                           unsigned long long, char *);
int /*<<< orphan*/ stderr;
scalar_t__ str_equaln(char *, int, char *);
scalar_t__ strncmp(char *, char *, int);
void test_equaln(void) {
  char buf[5];
  if (str_equaln(buf, 0, "a"))
    do {
      fprintf(stderr, "%s:%llu: %s\n",
              ("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/janmojzis/tinyssh/refs/heads/"
               "master/tinyssh-tests/strtest.c"),
              (unsigned long long)(58), (("str_equaln failure")));
      fflush(stderr);
      _exit(111);
    } while (0);
  ;
  if (str_equaln("ahoj", 4, "aho"))
    do {
      fprintf(stderr, "%s:%llu: %s\n",
              ("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/janmojzis/tinyssh/refs/heads/"
               "master/tinyssh-tests/strtest.c"),
              (unsigned long long)(59), (("str_equaln failure")));
      fflush(stderr);
      _exit(111);
    } while (0);
  ;
  if (str_equaln("ahoj", 4, "ahoj!"))
    do {
      fprintf(stderr, "%s:%llu: %s\n",
              ("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/janmojzis/tinyssh/refs/heads/"
               "master/tinyssh-tests/strtest.c"),
              (unsigned long long)(60), (("str_equaln failure")));
      fflush(stderr);
      _exit(111);
    } while (0);
  ;
  if (str_equaln("ahoj", 4, "ahox"))
    do {
      fprintf(stderr, "%s:%llu: %s\n",
              ("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/janmojzis/tinyssh/refs/heads/"
               "master/tinyssh-tests/strtest.c"),
              (unsigned long long)(61), (("str_equaln failure")));
      fflush(stderr);
      _exit(111);
    } while (0);
  ;
  if (!str_equaln(buf, 0, ""))
    do {
      fprintf(stderr, "%s:%llu: %s\n",
              ("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/janmojzis/tinyssh/refs/heads/"
               "master/tinyssh-tests/strtest.c"),
              (unsigned long long)(64), (("str_equaln failure")));
      fflush(stderr);
      _exit(111);
    } while (0);
  ;
  if (strncmp(buf, "", 0))
    do {
      fprintf(stderr, "%s:%llu: %s\n",
              ("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/janmojzis/tinyssh/refs/heads/"
               "master/tinyssh-tests/strtest.c"),
              (unsigned long long)(65), (("strncmp failure")));
      fflush(stderr);
      _exit(111);
    } while (0);
  ;
  if (!str_equaln("ahoj", 4, "ahoj"))
    do {
      fprintf(stderr, "%s:%llu: %s\n",
              ("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/janmojzis/tinyssh/refs/heads/"
               "master/tinyssh-tests/strtest.c"),
              (unsigned long long)(66), (("str_equaln failure")));
      fflush(stderr);
      _exit(111);
    } while (0);
  ;
  if (strncmp("ahoj", "ahoj", 4))
    do {
      fprintf(stderr, "%s:%llu: %s\n",
              ("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/janmojzis/tinyssh/refs/heads/"
               "master/tinyssh-tests/strtest.c"),
              (unsigned long long)(67), (("strncmp failure")));
      fflush(stderr);
      _exit(111);
    } while (0);
  ;
}


x86 assembly (clang, -O0):
<test_equaln>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    -0x5(%rbp),%rdi
xor    %esi,%esi
lea    0xe9b(%rip),%rdx
call   1070 <str_equaln@plt>
cmp    $0x0,%rax
je     11b9 <test_equaln+0x69>
jmp    1179 <test_equaln+0x29>
mov    0x2e60(%rip),%rax
mov    (%rax),%edi
lea    0xe79(%rip),%rsi
lea    0xe7f(%rip),%rdx
mov    $0x3a,%ecx
lea    0xf09(%rip),%r8
call   1050 <fprintf@plt>
mov    0x2e38(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    $0x6f,%edi
call   1040 <_exit@plt>
lea    0xef8(%rip),%rdi
mov    $0x4,%esi
lea    0xef1(%rip),%rdx
call   1070 <str_equaln@plt>
cmp    $0x0,%rax
je     1220 <test_equaln+0xd0>
jmp    11e0 <test_equaln+0x90>
mov    0x2df9(%rip),%rax
mov    (%rax),%edi
lea    0xe12(%rip),%rsi
lea    0xe18(%rip),%rdx
mov    $0x3b,%ecx
lea    0xea2(%rip),%r8
call   1050 <fprintf@plt>
mov    0x2dd1(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    $0x6f,%edi
call   1040 <_exit@plt>
lea    0xe91(%rip),%rdi
mov    $0x4,%esi
lea    0xe8e(%rip),%rdx
call   1070 <str_equaln@plt>
cmp    $0x0,%rax
je     1287 <test_equaln+0x137>
jmp    1247 <test_equaln+0xf7>
mov    0x2d92(%rip),%rax
mov    (%rax),%edi
lea    0xdab(%rip),%rsi
lea    0xdb1(%rip),%rdx
mov    $0x3c,%ecx
lea    0xe3b(%rip),%r8
call   1050 <fprintf@plt>
mov    0x2d6a(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    $0x6f,%edi
call   1040 <_exit@plt>
lea    0xe2a(%rip),%rdi
mov    $0x4,%esi
lea    0xe2d(%rip),%rdx
call   1070 <str_equaln@plt>
cmp    $0x0,%rax
je     12ee <test_equaln+0x19e>
jmp    12ae <test_equaln+0x15e>
mov    0x2d2b(%rip),%rax
mov    (%rax),%edi
lea    0xd44(%rip),%rsi
lea    0xd4a(%rip),%rdx
mov    $0x3d,%ecx
lea    0xdd4(%rip),%r8
call   1050 <fprintf@plt>
mov    0x2d03(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    $0x6f,%edi
call   1040 <_exit@plt>
lea    -0x5(%rbp),%rdi
xor    %esi,%esi
lea    0xd13(%rip),%rdx
call   1070 <str_equaln@plt>
cmp    $0x0,%rax
jne    134f <test_equaln+0x1ff>
jmp    130f <test_equaln+0x1bf>
mov    0x2cca(%rip),%rax
mov    (%rax),%edi
lea    0xce3(%rip),%rsi
lea    0xce9(%rip),%rdx
mov    $0x40,%ecx
lea    0xd73(%rip),%r8
call   1050 <fprintf@plt>
mov    0x2ca2(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    $0x6f,%edi
call   1040 <_exit@plt>
lea    -0x5(%rbp),%rdi
lea    0xcb4(%rip),%rsi
xor    %edx,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
je     13b0 <test_equaln+0x260>
jmp    1370 <test_equaln+0x220>
mov    0x2c69(%rip),%rax
mov    (%rax),%edi
lea    0xc82(%rip),%rsi
lea    0xc88(%rip),%rdx
mov    $0x41,%ecx
lea    0xd39(%rip),%r8
call   1050 <fprintf@plt>
mov    0x2c41(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    $0x6f,%edi
call   1040 <_exit@plt>
lea    0xd01(%rip),%rdx
mov    $0x4,%esi
mov    %rdx,%rdi
call   1070 <str_equaln@plt>
cmp    $0x0,%rax
jne    1413 <test_equaln+0x2c3>
jmp    13d3 <test_equaln+0x283>
mov    0x2c06(%rip),%rax
mov    (%rax),%edi
lea    0xc1f(%rip),%rsi
lea    0xc25(%rip),%rdx
mov    $0x42,%ecx
lea    0xcaf(%rip),%r8
call   1050 <fprintf@plt>
mov    0x2bde(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    $0x6f,%edi
call   1040 <_exit@plt>
lea    0xc9e(%rip),%rsi
mov    $0x4,%edx
mov    %rsi,%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
je     1476 <test_equaln+0x326>
jmp    1436 <test_equaln+0x2e6>
mov    0x2ba3(%rip),%rax
mov    (%rax),%edi
lea    0xbbc(%rip),%rsi
lea    0xbc2(%rip),%rdx
mov    $0x43,%ecx
lea    0xc73(%rip),%r8
call   1050 <fprintf@plt>
mov    0x2b7b(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    $0x6f,%edi
call   1040 <_exit@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_equaln>:
push   %rbx
sub    $0x10,%rsp
lea    0xea4(%rip),%rdx
lea    0xb(%rsp),%rdi
xor    %esi,%esi
call   1070 <str_equaln@plt>
test   %rax,%rax
jne    124c <test_equaln+0xfc>
lea    0xf40(%rip),%rdi
lea    0xf3e(%rip),%rdx
mov    $0x4,%esi
call   1070 <str_equaln@plt>
test   %rax,%rax
jne    1274 <test_equaln+0x124>
lea    0xf1f(%rip),%rdi
lea    0xf21(%rip),%rdx
mov    $0x4,%esi
call   1070 <str_equaln@plt>
test   %rax,%rax
jne    129c <test_equaln+0x14c>
lea    0xefe(%rip),%rdi
lea    0xf06(%rip),%rdx
mov    $0x4,%esi
call   1070 <str_equaln@plt>
test   %rax,%rax
jne    12c4 <test_equaln+0x174>
lea    0xe33(%rip),%rdx
lea    0xb(%rsp),%rdi
xor    %esi,%esi
call   1070 <str_equaln@plt>
test   %rax,%rax
je     12ec <test_equaln+0x19c>
lea    0xe17(%rip),%rsi
lea    0xb(%rsp),%rdi
xor    %edx,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
jne    1311 <test_equaln+0x1c1>
lea    0xea5(%rip),%rdi
mov    $0x4,%esi
mov    %rdi,%rdx
call   1070 <str_equaln@plt>
test   %rax,%rax
je     1336 <test_equaln+0x1e6>
lea    0xe88(%rip),%rdi
mov    %rdi,%rsi
mov    $0x4,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
jne    135b <test_equaln+0x20b>
add    $0x10,%rsp
pop    %rbx
ret
mov    0x2d8d(%rip),%rbx
mov    (%rbx),%edi
lea    0xda6(%rip),%rsi
lea    0xdac(%rip),%rdx
lea    0xe3b(%rip),%r8
mov    $0x3a,%ecx
jmp    137e <test_equaln+0x22e>
mov    0x2d65(%rip),%rbx
mov    (%rbx),%edi
lea    0xd7e(%rip),%rsi
lea    0xd84(%rip),%rdx
lea    0xe13(%rip),%r8
mov    $0x3b,%ecx
jmp    137e <test_equaln+0x22e>
mov    0x2d3d(%rip),%rbx
mov    (%rbx),%edi
lea    0xd56(%rip),%rsi
lea    0xd5c(%rip),%rdx
lea    0xdeb(%rip),%r8
mov    $0x3c,%ecx
jmp    137e <test_equaln+0x22e>
mov    0x2d15(%rip),%rbx
mov    (%rbx),%edi
lea    0xd2e(%rip),%rsi
lea    0xd34(%rip),%rdx
lea    0xdc3(%rip),%r8
mov    $0x3d,%ecx
jmp    137e <test_equaln+0x22e>
mov    0x2ced(%rip),%rbx
mov    (%rbx),%edi
lea    0xd06(%rip),%rsi
lea    0xd0c(%rip),%rdx
lea    0xd9b(%rip),%r8
mov    $0x40,%ecx
jmp    137e <test_equaln+0x22e>
mov    0x2cc8(%rip),%rbx
mov    (%rbx),%edi
lea    0xce1(%rip),%rsi
lea    0xce7(%rip),%rdx
lea    0xd9d(%rip),%r8
mov    $0x41,%ecx
jmp    137e <test_equaln+0x22e>
mov    0x2ca3(%rip),%rbx
mov    (%rbx),%edi
lea    0xcbc(%rip),%rsi
lea    0xcc2(%rip),%rdx
lea    0xd51(%rip),%r8
mov    $0x42,%ecx
jmp    137e <test_equaln+0x22e>
mov    0x2c7e(%rip),%rbx
mov    (%rbx),%edi
lea    0xc97(%rip),%rsi
lea    0xc9d(%rip),%rdx
lea    0xd53(%rip),%r8
mov    $0x43,%ecx
call   1050 <fprintf@plt>
mov    (%rbx),%edi
call   1060 <fflush@plt>
mov    $0x6f,%edi
call   1040 <_exit@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"a\00"
@stderr = global i32 0
@.str.1 = [13 x i8] c"%s:%llu: %s\0A\00"
@.str.2 = [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/janmojzis/tinyssh/refs/heads/master/tinyssh-tests/strtest.c\00"
@.str.3 = [19 x i8] c"str_equaln failure\00"
@.str.4 = [5 x i8] c"ahoj\00"
@.str.5 = [4 x i8] c"aho\00"
@.str.6 = [6 x i8] c"ahoj!\00"
@.str.7 = [5 x i8] c"ahox\00"
@.str.8 = [1 x i8] zeroinitializer
@.str.9 = [16 x i8] c"strncmp failure\00"
define void @test_equaln() {
%1 = alloca [5 x i8]
%2 = getelementptr inbounds [5 x i8], [5 x i8]* %1, i64 0, i64 0
%3 = call i64 @str_equaln(i8* %2, i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %13
5: ; preds = %0
br label %6
6: ; preds = %5
%7 = load i32, i32* @stderr
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 58, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 @fflush(i32 %9)
%11 = call i32 @_exit(i32 111)
unreachable
12: ; No predecessors!
br label %13
13: ; preds = %12, %0
%14 = call i64 @str_equaln(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %13
br label %17
17: ; preds = %16
%18 = load i32, i32* @stderr
%19 = call i32 @fprintf(i32 %18, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 59, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = call i32 @fflush(i32 %20)
%22 = call i32 @_exit(i32 111)
unreachable
23: ; No predecessors!
br label %24
24: ; preds = %23, %13
%25 = call i64 @str_equaln(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %35
27: ; preds = %24
br label %28
28: ; preds = %27
%29 = load i32, i32* @stderr
%30 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 60, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = call i32 @fflush(i32 %31)
%33 = call i32 @_exit(i32 111)
unreachable
34: ; No predecessors!
br label %35
35: ; preds = %34, %24
%36 = call i64 @str_equaln(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %46
38: ; preds = %35
br label %39
39: ; preds = %38
%40 = load i32, i32* @stderr
%41 = call i32 @fprintf(i32 %40, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 61, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%42 = load i32, i32* @stderr
%43 = call i32 @fflush(i32 %42)
%44 = call i32 @_exit(i32 111)
unreachable
45: ; No predecessors!
br label %46
46: ; preds = %45, %35
%47 = getelementptr inbounds [5 x i8], [5 x i8]* %1, i64 0, i64 0
%48 = call i64 @str_equaln(i8* %47, i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0))
%49 = icmp ne i64 %48, 0
br i1 %49, label %58, label %50
50: ; preds = %46
br label %51
51: ; preds = %50
%52 = load i32, i32* @stderr
%53 = call i32 @fprintf(i32 %52, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 64, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%54 = load i32, i32* @stderr
%55 = call i32 @fflush(i32 %54)
%56 = call i32 @_exit(i32 111)
unreachable
57: ; No predecessors!
br label %58
58: ; preds = %57, %46
%59 = getelementptr inbounds [5 x i8], [5 x i8]* %1, i64 0, i64 0
%60 = call i64 @strncmp(i8* %59, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0), i32 0)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %70
62: ; preds = %58
br label %63
63: ; preds = %62
%64 = load i32, i32* @stderr
%65 = call i32 @fprintf(i32 %64, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 65, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
%66 = load i32, i32* @stderr
%67 = call i32 @fflush(i32 %66)
%68 = call i32 @_exit(i32 111)
unreachable
69: ; No predecessors!
br label %70
70: ; preds = %69, %58
%71 = call i64 @str_equaln(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%72 = icmp ne i64 %71, 0
br i1 %72, label %81, label %73
73: ; preds = %70
br label %74
74: ; preds = %73
%75 = load i32, i32* @stderr
%76 = call i32 @fprintf(i32 %75, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 66, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%77 = load i32, i32* @stderr
%78 = call i32 @fflush(i32 %77)
%79 = call i32 @_exit(i32 111)
unreachable
80: ; No predecessors!
br label %81
81: ; preds = %80, %70
%82 = call i64 @strncmp(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %92
84: ; preds = %81
br label %85
85: ; preds = %84
%86 = load i32, i32* @stderr
%87 = call i32 @fprintf(i32 %86, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 67, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
%88 = load i32, i32* @stderr
%89 = call i32 @fflush(i32 %88)
%90 = call i32 @_exit(i32 111)
unreachable
91: ; No predecessors!
br label %92
92: ; preds = %91, %81
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"a\00"
@stderr = global i32 0
@.str.1 = [13 x i8] c"%s:%llu: %s\0A\00"
@.str.2 = [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/janmojzis/tinyssh/refs/heads/master/tinyssh-tests/strtest.c\00"
@.str.3 = [19 x i8] c"str_equaln failure\00"
@.str.4 = [5 x i8] c"ahoj\00"
@.str.5 = [4 x i8] c"aho\00"
@.str.6 = [6 x i8] c"ahoj!\00"
@.str.7 = [5 x i8] c"ahox\00"
@.str.8 = [1 x i8] zeroinitializer
@.str.9 = [16 x i8] c"strncmp failure\00"
define void @test_equaln() {
%1 = alloca [5 x i8]
%2 = getelementptr inbounds [5 x i8], [5 x i8]* %1, i64 0, i64 0
%3 = call i64 @str_equaln(i8* %2, i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %0
%6 = load i32, i32* @stderr
%7 = call i32 @fprintf(i32 %6, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 58, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = call i32 @fflush(i32 %8)
%10 = call i32 @_exit(i32 111)
unreachable
11: ; preds = %0
%12 = call i64 @str_equaln(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %11
%15 = load i32, i32* @stderr
%16 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 59, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = call i32 @fflush(i32 %17)
%19 = call i32 @_exit(i32 111)
unreachable
20: ; preds = %11
%21 = call i64 @str_equaln(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %20
%24 = load i32, i32* @stderr
%25 = call i32 @fprintf(i32 %24, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 60, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%26 = load i32, i32* @stderr
%27 = call i32 @fflush(i32 %26)
%28 = call i32 @_exit(i32 111)
unreachable
29: ; preds = %20
%30 = call i64 @str_equaln(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %38, label %32
32: ; preds = %29
%33 = load i32, i32* @stderr
%34 = call i32 @fprintf(i32 %33, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 61, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%35 = load i32, i32* @stderr
%36 = call i32 @fflush(i32 %35)
%37 = call i32 @_exit(i32 111)
unreachable
38: ; preds = %29
%39 = call i64 @str_equaln(i8* %2, i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0))
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %47
41: ; preds = %38
%42 = load i32, i32* @stderr
%43 = call i32 @fprintf(i32 %42, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 64, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%44 = load i32, i32* @stderr
%45 = call i32 @fflush(i32 %44)
%46 = call i32 @_exit(i32 111)
unreachable
47: ; preds = %38
%48 = call i64 @strncmp(i8* %2, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0), i32 0)
%49 = icmp eq i64 %48, 0
br i1 %49, label %56, label %50
50: ; preds = %47
%51 = load i32, i32* @stderr
%52 = call i32 @fprintf(i32 %51, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 65, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
%53 = load i32, i32* @stderr
%54 = call i32 @fflush(i32 %53)
%55 = call i32 @_exit(i32 111)
unreachable
56: ; preds = %47
%57 = call i64 @str_equaln(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %65
59: ; preds = %56
%60 = load i32, i32* @stderr
%61 = call i32 @fprintf(i32 %60, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 66, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%62 = load i32, i32* @stderr
%63 = call i32 @fflush(i32 %62)
%64 = call i32 @_exit(i32 111)
unreachable
65: ; preds = %56
%66 = call i64 @strncmp(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4)
%67 = icmp eq i64 %66, 0
br i1 %67, label %74, label %68
68: ; preds = %65
%69 = load i32, i32* @stderr
%70 = call i32 @fprintf(i32 %69, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.2, i64 0, i64 0), i64 67, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
%71 = load i32, i32* @stderr
%72 = call i32 @fflush(i32 %71)
%73 = call i32 @_exit(i32 111)
unreachable
74: ; preds = %65
ret void
}