#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 EXIT_SUCCESS;
int /*<<< orphan*/ assert(int);
int /*<<< orphan*/ filter(char *);
scalar_t__ strcmp(int /*<<< orphan*/, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int main(void) {
  do {
    char buf[1024];
    strcpy(buf, "");
    assert(strcmp(filter(buf), "") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "test");
    assert(strcmp(filter(buf), "test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "  test");
    assert(strcmp(filter(buf), "test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "  test  ");
    assert(strcmp(filter(buf), "test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "Test");
    assert(strcmp(filter(buf), "test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "TEST");
    assert(strcmp(filter(buf), "test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "test test");
    assert(strcmp(filter(buf), "test test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "-test-");
    assert(strcmp(filter(buf), "test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "test-test");
    assert(strcmp(filter(buf), "test test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "testing tests");
    assert(strcmp(filter(buf), "test test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "test test   \0test");
    assert(strcmp(filter(buf), "test test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "test test t#es!t");
    assert(strcmp(filter(buf), "test test test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "test test t#e_s!t");
    assert(strcmp(filter(buf), "test test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "i test a am of test we they were t#e_s!t");
    assert(strcmp(filter(buf), "test test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "testing testing testing");
    assert(strcmp(filter(buf), "test test test") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "http://www.example.org/");
    assert(strcmp(filter(buf), "") == 0);
  } while (0);
  do {
    char buf[1024];
    strcpy(buf, "www.example.org");
    assert(strcmp(filter(buf), "wwwexampleorg") == 0);
  } while (0);
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x4410,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x410(%rbp),%rdi
lea    0xeaf(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x410(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xe95(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    1195 <main+0x55>
lea    -0x810(%rbp),%rdi
lea    0xe5f(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x810(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xe45(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    11d8 <main+0x98>
lea    -0xc10(%rbp),%rdi
lea    0xe1a(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xc10(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xe02(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    121b <main+0xdb>
lea    -0x1010(%rbp),%rdi
lea    0xdde(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1010(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xdbf(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    125e <main+0x11e>
lea    -0x1410(%rbp),%rdi
lea    0xda4(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1410(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xd7c(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    12a1 <main+0x161>
lea    -0x1810(%rbp),%rdi
lea    0xd66(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1810(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xd39(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    12e4 <main+0x1a4>
lea    -0x1c10(%rbp),%rdi
lea    0xd5d(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1c10(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xd43(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    1327 <main+0x1e7>
lea    -0x2010(%rbp),%rdi
lea    0xce5(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x2010(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xcb3(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    136a <main+0x22a>
lea    -0x2410(%rbp),%rdi
lea    0xca9(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x2410(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xcbd(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    13ad <main+0x26d>
lea    -0x2810(%rbp),%rdi
lea    0xc70(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x2810(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xc7a(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    13f0 <main+0x2b0>
lea    -0x2c10(%rbp),%rdi
lea    0xce4(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x2c10(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xc37(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    1433 <main+0x2f3>
lea    -0x3010(%rbp),%rdi
lea    0xbf8(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x3010(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xbef(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    1476 <main+0x336>
lea    -0x3410(%rbp),%rdi
lea    0xbd5(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x3410(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xbb1(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    14b9 <main+0x379>
lea    -0x3810(%rbp),%rdi
lea    0xba4(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x3810(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xb6e(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    14fc <main+0x3bc>
lea    -0x3c10(%rbp),%rdi
lea    0xb8a(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x3c10(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xb26(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    153f <main+0x3ff>
lea    -0x4010(%rbp),%rdi
lea    0xb5f(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x4010(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xaa8(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
jmp    1582 <main+0x442>
lea    -0x4410(%rbp),%rdi
lea    0xb34(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x4410(%rbp),%rdi
call   1040 <filter@plt>
mov    %eax,%edi
lea    0xb2a(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
mov    0x2a19(%rip),%rax
mov    (%rax),%eax
add    $0x4410,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x408,%rsp
lea    0xeba(%rip),%r14
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r14,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xe78(%rip),%r12
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r12,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xe41(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r12,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xe16(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r12,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xded(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r12,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xdc0(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r12,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xdc8(%rip),%r15
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    %r15,%rsi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r15,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xd5e(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r12,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xd33(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r15,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xd0b(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r15,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xd90(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r15,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xcb5(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
lea    0xcac(%rip),%r12
mov    %eax,%edi
mov    %r12,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xc9c(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r15,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xc7c(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r15,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xc73(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r12,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xc59(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
mov    %eax,%edi
mov    %r14,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xc3f(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <filter@plt>
lea    0xc35(%rip),%rsi
mov    %eax,%edi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    0x2b25(%rip),%rax
mov    (%rax),%eax
add    $0x408,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [5 x i8] c"test\00"
@.str.2 = [7 x i8] c" test\00"
@.str.3 = [9 x i8] c" test \00"
@.str.4 = [5 x i8] c"Test\00"
@.str.5 = [5 x i8] c"TEST\00"
@.str.6 = [10 x i8] c"test test\00"
@.str.7 = [7 x i8] c"-test-\00"
@.str.8 = [10 x i8] c"test-test\00"
@.str.9 = [14 x i8] c"testing tests\00"
@.str.10 = [18 x i8] c"test test \00test\00"
@.str.11 = [17 x i8] c"test test t#es!t\00"
@.str.12 = [15 x i8] c"test test test\00"
@.str.13 = [18 x i8] c"test test t#e_s!t\00"
@.str.14 = [41 x i8] c"i test a am of test we they were t#e_s!t\00"
@.str.15 = [24 x i8] c"testing testing testing\00"
@.str.16 = [24 x i8] c"http://www.example.org/\00"
@.str.17 = [16 x i8] c"www.example.org\00"
@.str.18 = [14 x i8] c"wwwexampleorg\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca [1024 x i8]
%3 = alloca [1024 x i8]
%4 = alloca [1024 x i8]
%5 = alloca [1024 x i8]
%6 = alloca [1024 x i8]
%7 = alloca [1024 x i8]
%8 = alloca [1024 x i8]
%9 = alloca [1024 x i8]
%10 = alloca [1024 x i8]
%11 = alloca [1024 x i8]
%12 = alloca [1024 x i8]
%13 = alloca [1024 x i8]
%14 = alloca [1024 x i8]
%15 = alloca [1024 x i8]
%16 = alloca [1024 x i8]
%17 = alloca [1024 x i8]
%18 = alloca [1024 x i8]
store i32 0, i32* %1
br label %19
19: ; preds = %0
%20 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%21 = call i32 @strcpy(i8* %20, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%22 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%23 = call i32 @filter(i8* %22)
%24 = call i64 @strcmp(i32 %23, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%25 = icmp eq i64 %24, 0
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 %26)
br label %28
28: ; preds = %19
br label %29
29: ; preds = %28
%30 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%31 = call i32 @strcpy(i8* %30, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%32 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%33 = call i32 @filter(i8* %32)
%34 = call i64 @strcmp(i32 %33, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%35 = icmp eq i64 %34, 0
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 %36)
br label %38
38: ; preds = %29
br label %39
39: ; preds = %38
%40 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%41 = call i32 @strcpy(i8* %40, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%42 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%43 = call i32 @filter(i8* %42)
%44 = call i64 @strcmp(i32 %43, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
%46 = zext i1 %45 to i32
%47 = call i32 @assert(i32 %46)
br label %48
48: ; preds = %39
br label %49
49: ; preds = %48
%50 = getelementptr inbounds [1024 x i8], [1024 x i8]* %5, i64 0, i64 0
%51 = call i32 @strcpy(i8* %50, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%52 = getelementptr inbounds [1024 x i8], [1024 x i8]* %5, i64 0, i64 0
%53 = call i32 @filter(i8* %52)
%54 = call i64 @strcmp(i32 %53, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%55 = icmp eq i64 %54, 0
%56 = zext i1 %55 to i32
%57 = call i32 @assert(i32 %56)
br label %58
58: ; preds = %49
br label %59
59: ; preds = %58
%60 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%61 = call i32 @strcpy(i8* %60, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%62 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%63 = call i32 @filter(i8* %62)
%64 = call i64 @strcmp(i32 %63, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%65 = icmp eq i64 %64, 0
%66 = zext i1 %65 to i32
%67 = call i32 @assert(i32 %66)
br label %68
68: ; preds = %59
br label %69
69: ; preds = %68
%70 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%71 = call i32 @strcpy(i8* %70, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%72 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%73 = call i32 @filter(i8* %72)
%74 = call i64 @strcmp(i32 %73, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%75 = icmp eq i64 %74, 0
%76 = zext i1 %75 to i32
%77 = call i32 @assert(i32 %76)
br label %78
78: ; preds = %69
br label %79
79: ; preds = %78
%80 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%81 = call i32 @strcpy(i8* %80, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%82 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%83 = call i32 @filter(i8* %82)
%84 = call i64 @strcmp(i32 %83, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%85 = icmp eq i64 %84, 0
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 %86)
br label %88
88: ; preds = %79
br label %89
89: ; preds = %88
%90 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%91 = call i32 @strcpy(i8* %90, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%92 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%93 = call i32 @filter(i8* %92)
%94 = call i64 @strcmp(i32 %93, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%95 = icmp eq i64 %94, 0
%96 = zext i1 %95 to i32
%97 = call i32 @assert(i32 %96)
br label %98
98: ; preds = %89
br label %99
99: ; preds = %98
%100 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%101 = call i32 @strcpy(i8* %100, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%102 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%103 = call i32 @filter(i8* %102)
%104 = call i64 @strcmp(i32 %103, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%105 = icmp eq i64 %104, 0
%106 = zext i1 %105 to i32
%107 = call i32 @assert(i32 %106)
br label %108
108: ; preds = %99
br label %109
109: ; preds = %108
%110 = getelementptr inbounds [1024 x i8], [1024 x i8]* %11, i64 0, i64 0
%111 = call i32 @strcpy(i8* %110, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0))
%112 = getelementptr inbounds [1024 x i8], [1024 x i8]* %11, i64 0, i64 0
%113 = call i32 @filter(i8* %112)
%114 = call i64 @strcmp(i32 %113, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%115 = icmp eq i64 %114, 0
%116 = zext i1 %115 to i32
%117 = call i32 @assert(i32 %116)
br label %118
118: ; preds = %109
br label %119
119: ; preds = %118
%120 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%121 = call i32 @strcpy(i8* %120, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0))
%122 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%123 = call i32 @filter(i8* %122)
%124 = call i64 @strcmp(i32 %123, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%125 = icmp eq i64 %124, 0
%126 = zext i1 %125 to i32
%127 = call i32 @assert(i32 %126)
br label %128
128: ; preds = %119
br label %129
129: ; preds = %128
%130 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%131 = call i32 @strcpy(i8* %130, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0))
%132 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%133 = call i32 @filter(i8* %132)
%134 = call i64 @strcmp(i32 %133, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%135 = icmp eq i64 %134, 0
%136 = zext i1 %135 to i32
%137 = call i32 @assert(i32 %136)
br label %138
138: ; preds = %129
br label %139
139: ; preds = %138
%140 = getelementptr inbounds [1024 x i8], [1024 x i8]* %14, i64 0, i64 0
%141 = call i32 @strcpy(i8* %140, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0))
%142 = getelementptr inbounds [1024 x i8], [1024 x i8]* %14, i64 0, i64 0
%143 = call i32 @filter(i8* %142)
%144 = call i64 @strcmp(i32 %143, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%145 = icmp eq i64 %144, 0
%146 = zext i1 %145 to i32
%147 = call i32 @assert(i32 %146)
br label %148
148: ; preds = %139
br label %149
149: ; preds = %148
%150 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%151 = call i32 @strcpy(i8* %150, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.14, i64 0, i64 0))
%152 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%153 = call i32 @filter(i8* %152)
%154 = call i64 @strcmp(i32 %153, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%155 = icmp eq i64 %154, 0
%156 = zext i1 %155 to i32
%157 = call i32 @assert(i32 %156)
br label %158
158: ; preds = %149
br label %159
159: ; preds = %158
%160 = getelementptr inbounds [1024 x i8], [1024 x i8]* %16, i64 0, i64 0
%161 = call i32 @strcpy(i8* %160, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.15, i64 0, i64 0))
%162 = getelementptr inbounds [1024 x i8], [1024 x i8]* %16, i64 0, i64 0
%163 = call i32 @filter(i8* %162)
%164 = call i64 @strcmp(i32 %163, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%165 = icmp eq i64 %164, 0
%166 = zext i1 %165 to i32
%167 = call i32 @assert(i32 %166)
br label %168
168: ; preds = %159
br label %169
169: ; preds = %168
%170 = getelementptr inbounds [1024 x i8], [1024 x i8]* %17, i64 0, i64 0
%171 = call i32 @strcpy(i8* %170, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.16, i64 0, i64 0))
%172 = getelementptr inbounds [1024 x i8], [1024 x i8]* %17, i64 0, i64 0
%173 = call i32 @filter(i8* %172)
%174 = call i64 @strcmp(i32 %173, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%175 = icmp eq i64 %174, 0
%176 = zext i1 %175 to i32
%177 = call i32 @assert(i32 %176)
br label %178
178: ; preds = %169
br label %179
179: ; preds = %178
%180 = getelementptr inbounds [1024 x i8], [1024 x i8]* %18, i64 0, i64 0
%181 = call i32 @strcpy(i8* %180, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0))
%182 = getelementptr inbounds [1024 x i8], [1024 x i8]* %18, i64 0, i64 0
%183 = call i32 @filter(i8* %182)
%184 = call i64 @strcmp(i32 %183, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0))
%185 = icmp eq i64 %184, 0
%186 = zext i1 %185 to i32
%187 = call i32 @assert(i32 %186)
br label %188
188: ; preds = %179
%189 = load i32, i32* @EXIT_SUCCESS
ret i32 %189
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [5 x i8] c"test\00"
@.str.2 = [7 x i8] c" test\00"
@.str.3 = [9 x i8] c" test \00"
@.str.4 = [5 x i8] c"Test\00"
@.str.5 = [5 x i8] c"TEST\00"
@.str.6 = [10 x i8] c"test test\00"
@.str.7 = [7 x i8] c"-test-\00"
@.str.8 = [10 x i8] c"test-test\00"
@.str.9 = [14 x i8] c"testing tests\00"
@.str.10 = [18 x i8] c"test test \00test\00"
@.str.11 = [17 x i8] c"test test t#es!t\00"
@.str.12 = [15 x i8] c"test test test\00"
@.str.13 = [18 x i8] c"test test t#e_s!t\00"
@.str.14 = [41 x i8] c"i test a am of test we they were t#e_s!t\00"
@.str.15 = [24 x i8] c"testing testing testing\00"
@.str.16 = [24 x i8] c"http://www.example.org/\00"
@.str.17 = [16 x i8] c"www.example.org\00"
@.str.18 = [14 x i8] c"wwwexampleorg\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca [1024 x i8]
%2 = alloca [1024 x i8]
%3 = alloca [1024 x i8]
%4 = alloca [1024 x i8]
%5 = alloca [1024 x i8]
%6 = alloca [1024 x i8]
%7 = alloca [1024 x i8]
%8 = alloca [1024 x i8]
%9 = alloca [1024 x i8]
%10 = alloca [1024 x i8]
%11 = alloca [1024 x i8]
%12 = alloca [1024 x i8]
%13 = alloca [1024 x i8]
%14 = alloca [1024 x i8]
%15 = alloca [1024 x i8]
%16 = alloca [1024 x i8]
%17 = alloca [1024 x i8]
%18 = getelementptr inbounds [1024 x i8], [1024 x i8]* %1, i64 0, i64 0
%19 = call i32 @strcpy(i8* %18, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%20 = call i32 @filter(i8* %18)
%21 = call i64 @strcmp(i32 %20, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 %23)
%25 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%26 = call i32 @strcpy(i8* %25, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%27 = call i32 @filter(i8* %25)
%28 = call i64 @strcmp(i32 %27, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 %30)
%32 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%33 = call i32 @strcpy(i8* %32, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%34 = call i32 @filter(i8* %32)
%35 = call i64 @strcmp(i32 %34, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 %37)
%39 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%40 = call i32 @strcpy(i8* %39, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%41 = call i32 @filter(i8* %39)
%42 = call i64 @strcmp(i32 %41, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%43 = icmp eq i64 %42, 0
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 %44)
%46 = getelementptr inbounds [1024 x i8], [1024 x i8]* %5, i64 0, i64 0
%47 = call i32 @strcpy(i8* %46, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%48 = call i32 @filter(i8* %46)
%49 = call i64 @strcmp(i32 %48, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 %51)
%53 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%54 = call i32 @strcpy(i8* %53, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%55 = call i32 @filter(i8* %53)
%56 = call i64 @strcmp(i32 %55, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
%58 = zext i1 %57 to i32
%59 = call i32 @assert(i32 %58)
%60 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%61 = call i32 @strcpy(i8* %60, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%62 = call i32 @filter(i8* %60)
%63 = call i64 @strcmp(i32 %62, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%64 = icmp eq i64 %63, 0
%65 = zext i1 %64 to i32
%66 = call i32 @assert(i32 %65)
%67 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%68 = call i32 @strcpy(i8* %67, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%69 = call i32 @filter(i8* %67)
%70 = call i64 @strcmp(i32 %69, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 %72)
%74 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%75 = call i32 @strcpy(i8* %74, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%76 = call i32 @filter(i8* %74)
%77 = call i64 @strcmp(i32 %76, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%78 = icmp eq i64 %77, 0
%79 = zext i1 %78 to i32
%80 = call i32 @assert(i32 %79)
%81 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%82 = call i32 @strcpy(i8* %81, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0))
%83 = call i32 @filter(i8* %81)
%84 = call i64 @strcmp(i32 %83, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%85 = icmp eq i64 %84, 0
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 %86)
%88 = getelementptr inbounds [1024 x i8], [1024 x i8]* %11, i64 0, i64 0
%89 = call i32 @strcpy(i8* %88, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0))
%90 = call i32 @filter(i8* %88)
%91 = call i64 @strcmp(i32 %90, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%92 = icmp eq i64 %91, 0
%93 = zext i1 %92 to i32
%94 = call i32 @assert(i32 %93)
%95 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%96 = call i32 @strcpy(i8* %95, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0))
%97 = call i32 @filter(i8* %95)
%98 = call i64 @strcmp(i32 %97, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%99 = icmp eq i64 %98, 0
%100 = zext i1 %99 to i32
%101 = call i32 @assert(i32 %100)
%102 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%103 = call i32 @strcpy(i8* %102, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0))
%104 = call i32 @filter(i8* %102)
%105 = call i64 @strcmp(i32 %104, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%106 = icmp eq i64 %105, 0
%107 = zext i1 %106 to i32
%108 = call i32 @assert(i32 %107)
%109 = getelementptr inbounds [1024 x i8], [1024 x i8]* %14, i64 0, i64 0
%110 = call i32 @strcpy(i8* %109, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.14, i64 0, i64 0))
%111 = call i32 @filter(i8* %109)
%112 = call i64 @strcmp(i32 %111, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%113 = icmp eq i64 %112, 0
%114 = zext i1 %113 to i32
%115 = call i32 @assert(i32 %114)
%116 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%117 = call i32 @strcpy(i8* %116, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.15, i64 0, i64 0))
%118 = call i32 @filter(i8* %116)
%119 = call i64 @strcmp(i32 %118, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%120 = icmp eq i64 %119, 0
%121 = zext i1 %120 to i32
%122 = call i32 @assert(i32 %121)
%123 = getelementptr inbounds [1024 x i8], [1024 x i8]* %16, i64 0, i64 0
%124 = call i32 @strcpy(i8* %123, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.16, i64 0, i64 0))
%125 = call i32 @filter(i8* %123)
%126 = call i64 @strcmp(i32 %125, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%127 = icmp eq i64 %126, 0
%128 = zext i1 %127 to i32
%129 = call i32 @assert(i32 %128)
%130 = getelementptr inbounds [1024 x i8], [1024 x i8]* %17, i64 0, i64 0
%131 = call i32 @strcpy(i8* %130, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0))
%132 = call i32 @filter(i8* %130)
%133 = call i64 @strcmp(i32 %132, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0))
%134 = icmp eq i64 %133, 0
%135 = zext i1 %134 to i32
%136 = call i32 @assert(i32 %135)
%137 = load i32, i32* @EXIT_SUCCESS
ret i32 %137
}