#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 */
scalar_t__ expect_found_n(char *, char *, int);
int check_match(void) {
  int errcount = 0;
  errcount += expect_found_n(("string"), ("string"),
                             (sizeof("string") / sizeof(char) - 1));
  errcount += expect_found_n(("String"), ("string"),
                             (sizeof("string") / sizeof(char) - 1));
  errcount += expect_found_n(("string"), ("String"),
                             (sizeof("String") / sizeof(char) - 1));
  errcount += expect_found_n(("strinG"), ("String"),
                             (sizeof("String") / sizeof(char) - 1));
  errcount += expect_found_n(("\t strinG"), ("String"),
                             (sizeof("String") / sizeof(char) - 1));
  errcount += expect_found_n(("strinG\t "), ("String"),
                             (sizeof("String") / sizeof(char) - 1));
  errcount += expect_found_n((" \t tOkEn  "), ("toKEN"),
                             (sizeof("toKEN") / sizeof(char) - 1));
  errcount += expect_found_n(("not token\t,  tOkEn  "), ("toKEN"),
                             (sizeof("toKEN") / sizeof(char) - 1));
  errcount += expect_found_n(("not token,\t  tOkEn, more token"), ("toKEN"),
                             (sizeof("toKEN") / sizeof(char) - 1));
  errcount += expect_found_n(("not token,\t  tOkEn\t, more token"), ("toKEN"),
                             (sizeof("toKEN") / sizeof(char) - 1));
  errcount += expect_found_n((",,,,,,test,,,,"), ("TESt"),
                             (sizeof("TESt") / sizeof(char) - 1));
  errcount += expect_found_n((",,,,,\t,test,,,,"), ("TESt"),
                             (sizeof("TESt") / sizeof(char) - 1));
  errcount += expect_found_n((",,,,,,test, ,,,"), ("TESt"),
                             (sizeof("TESt") / sizeof(char) - 1));
  errcount += expect_found_n((",,,,,, test,,,,"), ("TESt"),
                             (sizeof("TESt") / sizeof(char) - 1));
  errcount += expect_found_n((",,,,,, test not,test,,"), ("TESt"),
                             (sizeof("TESt") / sizeof(char) - 1));
  errcount += expect_found_n((",,,,,, test not,,test,,"), ("TESt"),
                             (sizeof("TESt") / sizeof(char) - 1));
  errcount += expect_found_n((",,,,,, test not ,test,,"), ("TESt"),
                             (sizeof("TESt") / sizeof(char) - 1));
  errcount += expect_found_n((",,,,,, test"), ("TESt"),
                             (sizeof("TESt") / sizeof(char) - 1));
  errcount += expect_found_n((",,,,,, test      "), ("TESt"),
                             (sizeof("TESt") / sizeof(char) - 1));
  errcount += expect_found_n(("no test,,,,,, test      "), ("TESt"),
                             (sizeof("TESt") / sizeof(char) - 1));
  return errcount;
}


x86 assembly (clang, -O0):
<check_match>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rsi
mov    $0x6,%edx
mov    %rsi,%rdi
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xec0(%rip),%rdi
lea    0xeb2(%rip),%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xe94(%rip),%rdi
lea    0xe94(%rip),%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xe7f(%rip),%rdi
lea    0xe6f(%rip),%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xe58(%rip),%rdi
lea    0xe4a(%rip),%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xe3c(%rip),%rdi
lea    0xe25(%rip),%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xe20(%rip),%rdi
lea    0xe24(%rip),%rsi
mov    $0x5,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xe0c(%rip),%rdi
lea    0xdff(%rip),%rsi
mov    $0x5,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xdfc(%rip),%rdi
lea    0xdda(%rip),%rsi
mov    $0x5,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xdf6(%rip),%rdi
lea    0xdb5(%rip),%rsi
mov    $0x5,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xdf1(%rip),%rdi
lea    0xdf9(%rip),%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xde0(%rip),%rdi
lea    0xdd4(%rip),%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xdcb(%rip),%rdi
lea    0xdaf(%rip),%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xdb6(%rip),%rdi
lea    0xd8a(%rip),%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xda1(%rip),%rdi
lea    0xd65(%rip),%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xd93(%rip),%rdi
lea    0xd40(%rip),%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xd86(%rip),%rdi
lea    0xd1b(%rip),%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xd79(%rip),%rdi
lea    0xcf6(%rip),%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xd67(%rip),%rdi
lea    0xcd1(%rip),%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xd3b(%rip),%rdi
lea    0xcac(%rip),%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<check_match>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0xee1(%rip),%r12
mov    %r12,%rdi
mov    %r12,%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%r15
lea    0xece(%rip),%r14
mov    %r14,%rdi
mov    %r12,%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rbx
add    %r15d,%ebx
mov    %r12,%rdi
mov    %r14,%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%r15
add    %ebx,%r15d
lea    0xea4(%rip),%rdi
mov    %r14,%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rbx
add    %r15d,%ebx
lea    0xe88(%rip),%rdi
mov    %r14,%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%r15
add    %ebx,%r15d
lea    0xe77(%rip),%rdi
mov    %r14,%rsi
mov    $0x6,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%r12
add    %r15d,%r12d
lea    0xe66(%rip),%rdi
lea    0xe6a(%rip),%r14
mov    %r14,%rsi
mov    $0x5,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rbx
add    %r12d,%ebx
lea    0xe56(%rip),%rdi
mov    %r14,%rsi
mov    $0x5,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%r15
add    %ebx,%r15d
lea    0xe51(%rip),%rdi
mov    %r14,%rsi
mov    $0x5,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rbx
add    %r15d,%ebx
lea    0xe56(%rip),%rdi
mov    %r14,%rsi
mov    $0x5,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%r14
add    %ebx,%r14d
lea    0xe5c(%rip),%rdi
lea    0xe64(%rip),%r15
mov    %r15,%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rbx
add    %r14d,%ebx
lea    0xe4f(%rip),%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%r14
add    %ebx,%r14d
lea    0xe45(%rip),%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rbx
add    %r14d,%ebx
lea    0xe3b(%rip),%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%r14
add    %ebx,%r14d
lea    0xe31(%rip),%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rbx
add    %r14d,%ebx
lea    0xe2e(%rip),%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%r14
add    %ebx,%r14d
lea    0xe2c(%rip),%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rbx
add    %r14d,%ebx
lea    0xe2a(%rip),%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%r14
add    %ebx,%r14d
lea    0xe23(%rip),%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
mov    %rax,%rbx
add    %r14d,%ebx
lea    0xe02(%rip),%rdi
mov    %r15,%rsi
mov    $0x4,%edx
call   1030 <expect_found_n@plt>
add    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [7 x i8] c"string\00"
@.str.1 = [7 x i8] c"String\00"
@.str.2 = [7 x i8] c"strinG\00"
@.str.3 = [9 x i8] c"\09 strinG\00"
@.str.4 = [9 x i8] c"strinG\09 \00"
@.str.5 = [11 x i8] c" \09 tOkEn \00"
@.str.6 = [6 x i8] c"toKEN\00"
@.str.7 = [21 x i8] c"not token\09, tOkEn \00"
@.str.8 = [31 x i8] c"not token,\09 tOkEn, more token\00"
@.str.9 = [32 x i8] c"not token,\09 tOkEn\09, more token\00"
@.str.10 = [15 x i8] c",,,,,,test,,,,\00"
@.str.11 = [5 x i8] c"TESt\00"
@.str.12 = [16 x i8] c",,,,,\09,test,,,,\00"
@.str.13 = [16 x i8] c",,,,,,test, ,,,\00"
@.str.14 = [16 x i8] c",,,,,, test,,,,\00"
@.str.15 = [23 x i8] c",,,,,, test not,test,,\00"
@.str.16 = [24 x i8] c",,,,,, test not,,test,,\00"
@.str.17 = [24 x i8] c",,,,,, test not ,test,,\00"
@.str.18 = [12 x i8] c",,,,,, test\00"
@.str.19 = [18 x i8] c",,,,,, test \00"
@.str.20 = [25 x i8] c"no test,,,,,, test \00"
define i32 @check_match() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i64 @expect_found_n(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 6)
%3 = load i32, i32* %1
%4 = sext i32 %3 to i64
%5 = add nsw i64 %4, %2
%6 = trunc i64 %5 to i32
store i32 %6, i32* %1
%7 = call i64 @expect_found_n(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 6)
%8 = load i32, i32* %1
%9 = sext i32 %8 to i64
%10 = add nsw i64 %9, %7
%11 = trunc i64 %10 to i32
store i32 %11, i32* %1
%12 = call i64 @expect_found_n(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 6)
%13 = load i32, i32* %1
%14 = sext i32 %13 to i64
%15 = add nsw i64 %14, %12
%16 = trunc i64 %15 to i32
store i32 %16, i32* %1
%17 = call i64 @expect_found_n(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 6)
%18 = load i32, i32* %1
%19 = sext i32 %18 to i64
%20 = add nsw i64 %19, %17
%21 = trunc i64 %20 to i32
store i32 %21, i32* %1
%22 = call i64 @expect_found_n(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 6)
%23 = load i32, i32* %1
%24 = sext i32 %23 to i64
%25 = add nsw i64 %24, %22
%26 = trunc i64 %25 to i32
store i32 %26, i32* %1
%27 = call i64 @expect_found_n(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 6)
%28 = load i32, i32* %1
%29 = sext i32 %28 to i64
%30 = add nsw i64 %29, %27
%31 = trunc i64 %30 to i32
store i32 %31, i32* %1
%32 = call i64 @expect_found_n(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 5)
%33 = load i32, i32* %1
%34 = sext i32 %33 to i64
%35 = add nsw i64 %34, %32
%36 = trunc i64 %35 to i32
store i32 %36, i32* %1
%37 = call i64 @expect_found_n(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 5)
%38 = load i32, i32* %1
%39 = sext i32 %38 to i64
%40 = add nsw i64 %39, %37
%41 = trunc i64 %40 to i32
store i32 %41, i32* %1
%42 = call i64 @expect_found_n(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 5)
%43 = load i32, i32* %1
%44 = sext i32 %43 to i64
%45 = add nsw i64 %44, %42
%46 = trunc i64 %45 to i32
store i32 %46, i32* %1
%47 = call i64 @expect_found_n(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 5)
%48 = load i32, i32* %1
%49 = sext i32 %48 to i64
%50 = add nsw i64 %49, %47
%51 = trunc i64 %50 to i32
store i32 %51, i32* %1
%52 = call i64 @expect_found_n(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%53 = load i32, i32* %1
%54 = sext i32 %53 to i64
%55 = add nsw i64 %54, %52
%56 = trunc i64 %55 to i32
store i32 %56, i32* %1
%57 = call i64 @expect_found_n(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%58 = load i32, i32* %1
%59 = sext i32 %58 to i64
%60 = add nsw i64 %59, %57
%61 = trunc i64 %60 to i32
store i32 %61, i32* %1
%62 = call i64 @expect_found_n(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%63 = load i32, i32* %1
%64 = sext i32 %63 to i64
%65 = add nsw i64 %64, %62
%66 = trunc i64 %65 to i32
store i32 %66, i32* %1
%67 = call i64 @expect_found_n(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%68 = load i32, i32* %1
%69 = sext i32 %68 to i64
%70 = add nsw i64 %69, %67
%71 = trunc i64 %70 to i32
store i32 %71, i32* %1
%72 = call i64 @expect_found_n(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%73 = load i32, i32* %1
%74 = sext i32 %73 to i64
%75 = add nsw i64 %74, %72
%76 = trunc i64 %75 to i32
store i32 %76, i32* %1
%77 = call i64 @expect_found_n(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%78 = load i32, i32* %1
%79 = sext i32 %78 to i64
%80 = add nsw i64 %79, %77
%81 = trunc i64 %80 to i32
store i32 %81, i32* %1
%82 = call i64 @expect_found_n(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%83 = load i32, i32* %1
%84 = sext i32 %83 to i64
%85 = add nsw i64 %84, %82
%86 = trunc i64 %85 to i32
store i32 %86, i32* %1
%87 = call i64 @expect_found_n(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%88 = load i32, i32* %1
%89 = sext i32 %88 to i64
%90 = add nsw i64 %89, %87
%91 = trunc i64 %90 to i32
store i32 %91, i32* %1
%92 = call i64 @expect_found_n(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%93 = load i32, i32* %1
%94 = sext i32 %93 to i64
%95 = add nsw i64 %94, %92
%96 = trunc i64 %95 to i32
store i32 %96, i32* %1
%97 = call i64 @expect_found_n(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%98 = load i32, i32* %1
%99 = sext i32 %98 to i64
%100 = add nsw i64 %99, %97
%101 = trunc i64 %100 to i32
store i32 %101, i32* %1
%102 = load i32, i32* %1
ret i32 %102
}

LLVM IR (-O2):
@.str = [7 x i8] c"string\00"
@.str.1 = [7 x i8] c"String\00"
@.str.2 = [7 x i8] c"strinG\00"
@.str.3 = [9 x i8] c"\09 strinG\00"
@.str.4 = [9 x i8] c"strinG\09 \00"
@.str.5 = [11 x i8] c" \09 tOkEn \00"
@.str.6 = [6 x i8] c"toKEN\00"
@.str.7 = [21 x i8] c"not token\09, tOkEn \00"
@.str.8 = [31 x i8] c"not token,\09 tOkEn, more token\00"
@.str.9 = [32 x i8] c"not token,\09 tOkEn\09, more token\00"
@.str.10 = [15 x i8] c",,,,,,test,,,,\00"
@.str.11 = [5 x i8] c"TESt\00"
@.str.12 = [16 x i8] c",,,,,\09,test,,,,\00"
@.str.13 = [16 x i8] c",,,,,,test, ,,,\00"
@.str.14 = [16 x i8] c",,,,,, test,,,,\00"
@.str.15 = [23 x i8] c",,,,,, test not,test,,\00"
@.str.16 = [24 x i8] c",,,,,, test not,,test,,\00"
@.str.17 = [24 x i8] c",,,,,, test not ,test,,\00"
@.str.18 = [12 x i8] c",,,,,, test\00"
@.str.19 = [18 x i8] c",,,,,, test \00"
@.str.20 = [25 x i8] c"no test,,,,,, test \00"
define i32 @check_match() {
%1 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 6)
%2 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 6)
%3 = add i64 %2, %1
%4 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 6)
%5 = add i64 %3, %4
%6 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 6)
%7 = add i64 %5, %6
%8 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 6)
%9 = add i64 %7, %8
%10 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 6)
%11 = add i64 %9, %10
%12 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 5)
%13 = add i64 %11, %12
%14 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 5)
%15 = add i64 %13, %14
%16 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 5)
%17 = add i64 %15, %16
%18 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 5)
%19 = add i64 %17, %18
%20 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%21 = add i64 %19, %20
%22 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%23 = add i64 %21, %22
%24 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%25 = add i64 %23, %24
%26 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%27 = add i64 %25, %26
%28 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%29 = add i64 %27, %28
%30 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%31 = add i64 %29, %30
%32 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%33 = add i64 %31, %32
%34 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%35 = add i64 %33, %34
%36 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%37 = add i64 %35, %36
%38 = tail call i64 @expect_found_n(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 4)
%39 = add i64 %37, %38
%40 = trunc i64 %39 to i32
ret i32 %40
}