#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*/ assert(int);
int /*<<< orphan*/ s_abspath(int /*<<< orphan*/, char *);
scalar_t__ s_cmpn(char *, char *, int);
scalar_t__ s_tokcmpn(char *, char *, int);
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
void s_test() {
  assert(s_cmpn("", "", 0) == 0);
  assert(s_cmpn("/xyz", "/xyz", 4) == 0);
  assert(s_cmpn("xyz", "yz", 2) < 0);
  assert(s_cmpn("xyz", "xxyz", 4) > 0);
  {
    char r[256];
    s_abspath(strcpy(r, "/x"), "/y");
    assert(strcmp(r, "/x") == 0);
    s_abspath(strcpy(r, "x"), "/y");
    assert(strcmp(r, "/x") == 0);
    s_abspath(strcpy(r, "x"), "/y/");
    assert(strcmp(r, "/y/x") == 0);
    s_abspath(strcpy(r, "x"), "y/");
    assert(strcmp(r, "y/x") == 0);
    s_abspath(strcpy(r, "x"), "y");
    assert(strcmp(r, "x") == 0);
    s_abspath(strcpy(r, ""), "y");
    assert(strcmp(r, "") == 0);
  }
  assert(s_tokcmpn("", "", 0) == 0);
  assert(s_tokcmpn("", " ", 1) == 0);
  assert(s_tokcmpn("A", "A", 1) == 0);
  assert(s_tokcmpn(" A   B", "A B  ", 5) == 0);
  assert(s_tokcmpn("AB", "A B", 3) > 0);
  assert(s_tokcmpn("", "A", 1) < 0);
}


x86 assembly (clang, -O0):
<s_test>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%rsp
lea    0xeb2(%rip),%rsi
xor    %edx,%edx
mov    %rsi,%rdi
call   1040 <s_cmpn@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xe6c(%rip),%rsi
mov    $0x4,%edx
mov    %rsi,%rdi
call   1040 <s_cmpn@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xe48(%rip),%rdi
lea    0xe42(%rip),%rsi
mov    $0x2,%edx
call   1040 <s_cmpn@plt>
cmp    $0x0,%rax
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xe1f(%rip),%rdi
lea    0xe1c(%rip),%rsi
mov    $0x4,%edx
call   1040 <s_cmpn@plt>
cmp    $0x0,%rax
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    -0x100(%rbp),%rdi
lea    0xe01(%rip),%rsi
call   1030 <strcpy@plt>
mov    %eax,%edi
lea    0xdea(%rip),%rsi
call   1080 <s_abspath@plt>
lea    -0x100(%rbp),%rdi
lea    0xde0(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    -0x100(%rbp),%rdi
lea    0xdbd(%rip),%rsi
call   1030 <strcpy@plt>
mov    %eax,%edi
lea    0xda5(%rip),%rsi
call   1080 <s_abspath@plt>
lea    -0x100(%rbp),%rdi
lea    0xd9b(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    -0x100(%rbp),%rdi
lea    0xd78(%rip),%rsi
call   1030 <strcpy@plt>
mov    %eax,%edi
lea    0xd63(%rip),%rsi
call   1080 <s_abspath@plt>
lea    -0x100(%rbp),%rdi
lea    0xd54(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    -0x100(%rbp),%rdi
lea    0xd33(%rip),%rsi
call   1030 <strcpy@plt>
mov    %eax,%edi
lea    0xd1f(%rip),%rsi
call   1080 <s_abspath@plt>
lea    -0x100(%rbp),%rdi
lea    0xd10(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    -0x100(%rbp),%rdi
lea    0xcee(%rip),%rsi
call   1030 <strcpy@plt>
mov    %eax,%edi
lea    0xcd7(%rip),%rsi
call   1080 <s_abspath@plt>
lea    -0x100(%rbp),%rdi
lea    0xccd(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    -0x100(%rbp),%rdi
lea    0xcb9(%rip),%rsi
call   1030 <strcpy@plt>
mov    %eax,%edi
lea    0xc92(%rip),%rsi
call   1080 <s_abspath@plt>
lea    -0x100(%rbp),%rdi
lea    0xc98(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xc7b(%rip),%rsi
xor    %edx,%edx
mov    %rsi,%rdi
call   1070 <s_tokcmpn@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xc59(%rip),%rdi
lea    0xc51(%rip),%rsi
mov    $0x1,%edx
call   1070 <s_tokcmpn@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xc22(%rip),%rsi
mov    $0x1,%edx
mov    %rsi,%rdi
call   1070 <s_tokcmpn@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xbff(%rip),%rdi
lea    0xbff(%rip),%rsi
mov    $0x5,%edx
call   1070 <s_tokcmpn@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xbe3(%rip),%rdi
lea    0xbdf(%rip),%rsi
mov    $0x3,%edx
call   1070 <s_tokcmpn@plt>
cmp    $0x0,%rax
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xbb9(%rip),%rdi
lea    0xba4(%rip),%rsi
mov    $0x1,%edx
call   1070 <s_tokcmpn@plt>
cmp    $0x0,%rax
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
add    $0x100,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<s_test>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x100,%rsp
lea    0xead(%rip),%r14
mov    %r14,%rdi
mov    %r14,%rsi
xor    %edx,%edx
call   1040 <s_cmpn@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xe67(%rip),%rdi
mov    %rdi,%rsi
mov    $0x4,%edx
call   1040 <s_cmpn@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xe46(%rip),%rbx
lea    0xe40(%rip),%rsi
mov    %rbx,%rdi
mov    $0x2,%edx
call   1040 <s_cmpn@plt>
shr    $0x3f,%rax
mov    %eax,%edi
call   1060 <assert@plt>
lea    0xe24(%rip),%rsi
mov    %rbx,%rdi
mov    $0x4,%edx
call   1040 <s_cmpn@plt>
xor    %edi,%edi
test   %rax,%rax
setg   %dil
call   1060 <assert@plt>
lea    0xe10(%rip),%r12
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
lea    0xdf2(%rip),%r13
mov    %eax,%edi
mov    %r13,%rsi
call   1080 <s_abspath@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xdd2(%rip),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1030 <strcpy@plt>
mov    %eax,%edi
mov    %r13,%rsi
call   1080 <s_abspath@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1030 <strcpy@plt>
lea    0xd8b(%rip),%rsi
mov    %eax,%edi
call   1080 <s_abspath@plt>
lea    0xd81(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1030 <strcpy@plt>
lea    0xd56(%rip),%rsi
mov    %eax,%edi
call   1080 <s_abspath@plt>
lea    0xd4c(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1030 <strcpy@plt>
lea    0xd1d(%rip),%r12
mov    %eax,%edi
mov    %r12,%rsi
call   1080 <s_abspath@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <strcpy@plt>
mov    %eax,%edi
mov    %r12,%rsi
call   1080 <s_abspath@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    %r14,%rdi
mov    %r14,%rsi
xor    %edx,%edx
call   1070 <s_tokcmpn@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xcc2(%rip),%rsi
mov    %r14,%rdi
mov    $0x1,%edx
call   1070 <s_tokcmpn@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xc93(%rip),%rbx
mov    %rbx,%rdi
mov    %rbx,%rsi
mov    $0x1,%edx
call   1070 <s_tokcmpn@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xc70(%rip),%rdi
lea    0xc70(%rip),%rsi
mov    $0x5,%edx
call   1070 <s_tokcmpn@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xc57(%rip),%rdi
lea    0xc53(%rip),%rsi
mov    $0x3,%edx
call   1070 <s_tokcmpn@plt>
xor    %edi,%edi
test   %rax,%rax
setg   %dil
call   1060 <assert@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    $0x1,%edx
call   1070 <s_tokcmpn@plt>
shr    $0x3f,%rax
mov    %eax,%edi
call   1060 <assert@plt>
add    $0x100,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [5 x i8] c"/xyz\00"
@.str.2 = [4 x i8] c"xyz\00"
@.str.3 = [3 x i8] c"yz\00"
@.str.4 = [5 x i8] c"xxyz\00"
@.str.5 = [3 x i8] c"/x\00"
@.str.6 = [3 x i8] c"/y\00"
@.str.7 = [2 x i8] c"x\00"
@.str.8 = [4 x i8] c"/y/\00"
@.str.9 = [5 x i8] c"/y/x\00"
@.str.10 = [3 x i8] c"y/\00"
@.str.11 = [4 x i8] c"y/x\00"
@.str.12 = [2 x i8] c"y\00"
@.str.13 = [2 x i8] c" \00"
@.str.14 = [2 x i8] c"A\00"
@.str.15 = [7 x i8] c" A B\00"
@.str.16 = [6 x i8] c"A B \00"
@.str.17 = [3 x i8] c"AB\00"
@.str.18 = [4 x i8] c"A B\00"
define void @s_test() {
%1 = alloca [256 x i8]
%2 = call i64 @s_cmpn(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i32 0)
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 %4)
%6 = call i64 @s_cmpn(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 4)
%7 = icmp eq i64 %6, 0
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 %8)
%10 = call i64 @s_cmpn(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 2)
%11 = icmp slt i64 %10, 0
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 %12)
%14 = call i64 @s_cmpn(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4)
%15 = icmp sgt i64 %14, 0
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 %16)
%18 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%19 = call i32 @strcpy(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%20 = call i32 @s_abspath(i32 %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%21 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%22 = call i64 @strcmp(i8* %21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 %24)
%26 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%27 = call i32 @strcpy(i8* %26, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%28 = call i32 @s_abspath(i32 %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%29 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%30 = call i64 @strcmp(i8* %29, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 %32)
%34 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%35 = call i32 @strcpy(i8* %34, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%36 = call i32 @s_abspath(i32 %35, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%37 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%38 = call i64 @strcmp(i8* %37, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 %40)
%42 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%43 = call i32 @strcpy(i8* %42, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%44 = call i32 @s_abspath(i32 %43, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%45 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%46 = call i64 @strcmp(i8* %45, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 %48)
%50 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%51 = call i32 @strcpy(i8* %50, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%52 = call i32 @s_abspath(i32 %51, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%53 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%54 = call i64 @strcmp(i8* %53, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%55 = icmp eq i64 %54, 0
%56 = zext i1 %55 to i32
%57 = call i32 @assert(i32 %56)
%58 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%59 = call i32 @strcpy(i8* %58, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%60 = call i32 @s_abspath(i32 %59, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%61 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%62 = call i64 @strcmp(i8* %61, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
%64 = zext i1 %63 to i32
%65 = call i32 @assert(i32 %64)
%66 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i32 0)
%67 = icmp eq i64 %66, 0
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 %68)
%70 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i32 1)
%71 = icmp eq i64 %70, 0
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 %72)
%74 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0), i32 1)
%75 = icmp eq i64 %74, 0
%76 = zext i1 %75 to i32
%77 = call i32 @assert(i32 %76)
%78 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0), i32 5)
%79 = icmp eq i64 %78, 0
%80 = zext i1 %79 to i32
%81 = call i32 @assert(i32 %80)
%82 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i32 3)
%83 = icmp sgt i64 %82, 0
%84 = zext i1 %83 to i32
%85 = call i32 @assert(i32 %84)
%86 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0), i32 1)
%87 = icmp slt i64 %86, 0
%88 = zext i1 %87 to i32
%89 = call i32 @assert(i32 %88)
ret void
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [5 x i8] c"/xyz\00"
@.str.2 = [4 x i8] c"xyz\00"
@.str.3 = [3 x i8] c"yz\00"
@.str.4 = [5 x i8] c"xxyz\00"
@.str.5 = [3 x i8] c"/x\00"
@.str.6 = [3 x i8] c"/y\00"
@.str.7 = [2 x i8] c"x\00"
@.str.8 = [4 x i8] c"/y/\00"
@.str.9 = [5 x i8] c"/y/x\00"
@.str.10 = [3 x i8] c"y/\00"
@.str.11 = [4 x i8] c"y/x\00"
@.str.12 = [2 x i8] c"y\00"
@.str.13 = [2 x i8] c" \00"
@.str.14 = [2 x i8] c"A\00"
@.str.15 = [7 x i8] c" A B\00"
@.str.16 = [6 x i8] c"A B \00"
@.str.17 = [3 x i8] c"AB\00"
@.str.18 = [4 x i8] c"A B\00"
define void @s_test() {
%1 = alloca [256 x i8]
%2 = tail call i64 @s_cmpn(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i32 0)
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @assert(i32 %4)
%6 = tail call i64 @s_cmpn(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 4)
%7 = icmp eq i64 %6, 0
%8 = zext i1 %7 to i32
%9 = tail call i32 @assert(i32 %8)
%10 = tail call i64 @s_cmpn(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 2)
%11 = lshr i64 %10, 63
%12 = trunc i64 %11 to i32
%13 = tail call i32 @assert(i32 %12)
%14 = tail call i64 @s_cmpn(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4)
%15 = icmp sgt i64 %14, 0
%16 = zext i1 %15 to i32
%17 = tail call i32 @assert(i32 %16)
%18 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%19 = call i32 @strcpy(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%20 = call i32 @s_abspath(i32 %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%21 = call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 %23)
%25 = call i32 @strcpy(i8* %18, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%26 = call i32 @s_abspath(i32 %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%27 = call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 %29)
%31 = call i32 @strcpy(i8* %18, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%32 = call i32 @s_abspath(i32 %31, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%33 = call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%34 = icmp eq i64 %33, 0
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 %35)
%37 = call i32 @strcpy(i8* %18, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%38 = call i32 @s_abspath(i32 %37, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%39 = call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%40 = icmp eq i64 %39, 0
%41 = zext i1 %40 to i32
%42 = call i32 @assert(i32 %41)
%43 = call i32 @strcpy(i8* %18, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%44 = call i32 @s_abspath(i32 %43, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%45 = call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
%47 = zext i1 %46 to i32
%48 = call i32 @assert(i32 %47)
%49 = call i32 @strcpy(i8* %18, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%50 = call i32 @s_abspath(i32 %49, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%51 = call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 %53)
%55 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i32 0)
%56 = icmp eq i64 %55, 0
%57 = zext i1 %56 to i32
%58 = call i32 @assert(i32 %57)
%59 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i32 1)
%60 = icmp eq i64 %59, 0
%61 = zext i1 %60 to i32
%62 = call i32 @assert(i32 %61)
%63 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0), i32 1)
%64 = icmp eq i64 %63, 0
%65 = zext i1 %64 to i32
%66 = call i32 @assert(i32 %65)
%67 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0), i32 5)
%68 = icmp eq i64 %67, 0
%69 = zext i1 %68 to i32
%70 = call i32 @assert(i32 %69)
%71 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i32 3)
%72 = icmp sgt i64 %71, 0
%73 = zext i1 %72 to i32
%74 = call i32 @assert(i32 %73)
%75 = call i64 @s_tokcmpn(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0), i32 1)
%76 = lshr i64 %75, 63
%77 = trunc i64 %76 to i32
%78 = call i32 @assert(i32 %77)
ret void
}