#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 */
typedef int /*<<< orphan*/ time_t;

/* Variables and functions */
double difftime(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ ft_add_test_case(char **, char *, char *, char *);
int /*<<< orphan*/ ft_get_values(char **, char **, char **, char **);
int match(char *, char *);
int printf(char *, ...);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main(void) {
  time_t start_t, end_t;
  double diff_t;
  char *data[24][3];
  char *s1;
  char *s2;
  int your_result;
  char *actual_result;
  int i;
  i = 0;
  ft_add_test_case(&data[i++][0], "abc", "abc", "1");
  ft_add_test_case(&data[i++][0], "abc", "abd", "0");
  ft_add_test_case(&data[i++][0], "abcd", "ab*cd", "1");
  ft_add_test_case(&data[i++][0], "abcd", "ab*ce", "0");
  ft_add_test_case(&data[i++][0], "abcd", "ab*ed", "0");
  ft_add_test_case(&data[i++][0], "abcd", "*abcd", "1");
  ft_add_test_case(&data[i++][0], "abcd", "a*abcd", "0");
  ft_add_test_case(&data[i++][0], "abcd", "abcd*", "1");
  ft_add_test_case(&data[i++][0], "abcd", "abcd*d", "0");
  ft_add_test_case(&data[i++][0], "abcd", "*abcd*", "1");
  ft_add_test_case(&data[i++][0], "abcd", "ab**cd", "1");
  ft_add_test_case(&data[i++][0], "abcd", "a*b*c*d", "1");
  ft_add_test_case(&data[i++][0], "abcd", "ab**cd", "1");
  ft_add_test_case(&data[i++][0], "abcd", "*", "1");
  ft_add_test_case(&data[i++][0], "abcd", "**", "1");
  ft_add_test_case(&data[i++][0], "abcd", "***", "1");
  ft_add_test_case(&data[i++][0], "abilgewbi;wewb;bicd", "ab*cd", "1");
  ft_add_test_case(&data[i++][0], "qfwyjhbqw fwqgf abcd", "*abcd", "1");
  ft_add_test_case(&data[i++][0], "abcdybqwdkqwg   qwiulg", "abcd*", "1");
  ft_add_test_case(&data[i++][0], "ewg abcdwef", "*abcd*", "1");
  ft_add_test_case(&data[i++][0], "abfoijqwfijcd", "ab**cd", "1");
  ft_add_test_case(&data[i++][0], "aasdbqwdcqwdd", "a*b*c*d", "1");
  ft_add_test_case(&data[i++][0], "abcdgh abcedgh", "*abc*edgh", "1");
  ft_add_test_case(&data[i++][0], "abcdgh abcdgh", "*abc*edgh", "0");
  i = 0;
  while (i < 24) {
    ft_get_values(&data[i][0], &s1, &s2, &actual_result);
    time(&start_t);
    your_result = match(s1, s2);
    time(&end_t);
    diff_t = difftime(end_t, start_t);
    printf("s1: %s, s2: %s, your_result: %i, actual_result: %i, execution time "
           "= %f\n",
           s1, s2, your_result, actual_result[0] - '0', diff_t);
    if (your_result != actual_result[0] - '0')
      return printf("\e[0;31mFAKE AND GAY ✗\e[0m\n");
    if (diff_t >= 2.0)
      return printf("\e[0;33mYOU ARE TOO SLOW! ✗\e[0m\n");
    ++i;
  }
  return printf("\e[0;32mGOES ✓\e[0m\n");
  ;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x290,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x284(%rbp)
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xe64(%rip),%rdx
lea    0xe61(%rip),%rcx
mov    %rdx,%rsi
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xe2d(%rip),%rsi
lea    0xe2c(%rip),%rdx
lea    0xe29(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xe5c(%rip),%rsi
lea    0xdf7(%rip),%rdx
lea    0xde8(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xe21(%rip),%rsi
lea    0xdc2(%rip),%rdx
lea    0xdb3(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xde6(%rip),%rsi
lea    0xd8d(%rip),%rdx
lea    0xd78(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xdab(%rip),%rsi
lea    0xd59(%rip),%rdx
lea    0xd37(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xd70(%rip),%rsi
lea    0xd1d(%rip),%rdx
lea    0xd02(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xd35(%rip),%rsi
lea    0xcf1(%rip),%rdx
lea    0xcc1(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xcfa(%rip),%rsi
lea    0xcae(%rip),%rdx
lea    0xc8c(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xcbf(%rip),%rsi
lea    0xc7a(%rip),%rdx
lea    0xc4b(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xc84(%rip),%rsi
lea    0xc46(%rip),%rdx
lea    0xc10(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xc49(%rip),%rsi
lea    0xc12(%rip),%rdx
lea    0xbd5(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xc0e(%rip),%rsi
lea    0xbd0(%rip),%rdx
lea    0xb9a(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xbd3(%rip),%rsi
lea    0xba6(%rip),%rdx
lea    0xb5f(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xb98(%rip),%rsi
lea    0xb6a(%rip),%rdx
lea    0xb24(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xb5d(%rip),%rsi
lea    0xb2e(%rip),%rdx
lea    0xae9(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xafe(%rip),%rsi
lea    0xabd(%rip),%rdx
lea    0xaae(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xad7(%rip),%rsi
lea    0xa95(%rip),%rdx
lea    0xa73(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xab1(%rip),%rsi
lea    0xa68(%rip),%rdx
lea    0xa38(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xa8d(%rip),%rsi
lea    0xa2c(%rip),%rdx
lea    0x9fd(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xa5e(%rip),%rsi
lea    0x9f8(%rip),%rdx
lea    0x9c2(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xa31(%rip),%rsi
lea    0x9c4(%rip),%rdx
lea    0x987(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0xa04(%rip),%rsi
lea    0xa0c(%rip),%rdx
lea    0x94c(%rip),%rcx
call   1070 <ft_add_test_case@plt>
mov    -0x284(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x284(%rbp)
cltq
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    0x9e2(%rip),%rsi
lea    0x9d1(%rip),%rdx
lea    0x917(%rip),%rcx
call   1070 <ft_add_test_case@plt>
movl   $0x0,-0x284(%rbp)
cmpl   $0x18,-0x284(%rbp)
jge    1829 <main+0x6c9>
movslq -0x284(%rbp),%rax
lea    -0x260(%rbp),%rdi
imul   $0x18,%rax,%rax
add    %rax,%rdi
lea    -0x268(%rbp),%rsi
lea    -0x270(%rbp),%rdx
lea    -0x280(%rbp),%rcx
call   1080 <ft_get_values@plt>
lea    -0x8(%rbp),%rdi
call   1050 <time@plt>
mov    -0x268(%rbp),%rdi
mov    -0x270(%rbp),%rsi
call   1060 <match@plt>
mov    %eax,-0x274(%rbp)
lea    -0xc(%rbp),%rdi
call   1050 <time@plt>
mov    -0xc(%rbp),%edi
mov    -0x8(%rbp),%esi
call   1040 <difftime@plt>
movsd  %xmm0,-0x18(%rbp)
mov    -0x268(%rbp),%rsi
mov    -0x270(%rbp),%rdx
mov    -0x274(%rbp),%ecx
mov    -0x280(%rbp),%rax
movsbl (%rax),%r8d
sub    $0x30,%r8d
movsd  -0x18(%rbp),%xmm0
lea    0x92d(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x274(%rbp),%eax
mov    -0x280(%rbp),%rcx
movsbl (%rcx),%ecx
sub    $0x30,%ecx
cmp    %ecx,%eax
je     17e8 <main+0x688>
lea    0x94d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x4(%rbp)
jmp    183a <main+0x6da>
movsd  -0x18(%rbp),%xmm0
movsd  0x80b(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     1815 <main+0x6b5>
lea    0x93d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x4(%rbp)
jmp    183a <main+0x6da>
mov    -0x284(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x284(%rbp)
jmp    170a <main+0x5aa>
lea    0x935(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x290,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x278,%rsp
lea    0xe90(%rip),%rbx
lea    0xe8d(%rip),%r12
lea    0x30(%rsp),%rdi
mov    %rbx,%rsi
mov    %rbx,%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x48(%rsp),%rdi
lea    0xe70(%rip),%rdx
lea    0xe6d(%rip),%r14
mov    %rbx,%rsi
mov    %r14,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x60(%rsp),%rdi
lea    0xeb6(%rip),%rbx
lea    0xe51(%rip),%rdx
mov    %rbx,%rsi
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x78(%rsp),%rdi
lea    0xe40(%rip),%rdx
mov    %rbx,%rsi
mov    %r14,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x90(%rsp),%rdi
lea    0xe2c(%rip),%rdx
mov    %rbx,%rsi
mov    %r14,%rcx
call   1070 <ft_add_test_case@plt>
lea    0xa8(%rsp),%rdi
lea    0xe19(%rip),%rdx
mov    %rbx,%rsi
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0xc0(%rsp),%rdi
lea    0xdfe(%rip),%rdx
mov    %rbx,%rsi
mov    %r14,%rcx
call   1070 <ft_add_test_case@plt>
lea    0xd8(%rsp),%rdi
lea    0xdf3(%rip),%rdx
mov    %rbx,%rsi
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0xf0(%rsp),%rdi
lea    0xdd1(%rip),%rdx
mov    %rbx,%rsi
mov    %r14,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x108(%rsp),%rdi
lea    0xdbe(%rip),%r15
mov    %rbx,%rsi
mov    %r15,%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x120(%rsp),%rdi
lea    0xda8(%rip),%r13
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x138(%rsp),%rdi
lea    0xd92(%rip),%rbp
mov    %rbx,%rsi
mov    %rbp,%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x150(%rsp),%rdi
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x168(%rsp),%rdi
lea    0xd69(%rip),%rdx
mov    %rbx,%rsi
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x180(%rsp),%rdi
lea    0xd4e(%rip),%rdx
mov    %rbx,%rsi
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x198(%rsp),%rdi
lea    0xd33(%rip),%rdx
mov    %rbx,%rsi
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x1b0(%rsp),%rdi
lea    0xd1d(%rip),%rsi
lea    0xcdc(%rip),%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x1c8(%rsp),%rdi
lea    0xd13(%rip),%rsi
lea    0xcd1(%rip),%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x1e0(%rsp),%rdi
lea    0xd0a(%rip),%rsi
lea    0xcc1(%rip),%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x1f8(%rsp),%rdi
lea    0xd03(%rip),%rsi
mov    %r15,%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x210(%rsp),%rdi
lea    0xcf5(%rip),%rsi
mov    %r13,%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x228(%rsp),%rdi
lea    0xce9(%rip),%rsi
mov    %rbp,%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x240(%rsp),%rdi
lea    0xcdd(%rip),%rsi
lea    0xce5(%rip),%rbx
mov    %rbx,%rdx
mov    %r12,%rcx
call   1070 <ft_add_test_case@plt>
lea    0x258(%rsp),%rdi
lea    0xcd5(%rip),%rsi
mov    %rbx,%rdx
mov    %r14,%rcx
call   1070 <ft_add_test_case@plt>
xor    %r12d,%r12d
lea    0x10(%rsp),%r13
lea    0xc(%rsp),%rbx
lea    0x8(%rsp),%rbp
lea    0xcbf(%rip),%r14
xchg   %ax,%ax
lea    (%rsp,%r12,1),%rdi
add    $0x30,%rdi
lea    0x20(%rsp),%rsi
lea    0x18(%rsp),%rdx
mov    %r13,%rcx
call   1080 <ft_get_values@plt>
mov    %rbx,%rdi
call   1050 <time@plt>
mov    0x20(%rsp),%rdi
mov    0x18(%rsp),%rsi
call   1060 <match@plt>
mov    %eax,%r15d
mov    %rbp,%rdi
call   1050 <time@plt>
mov    0x8(%rsp),%edi
mov    0xc(%rsp),%esi
call   1040 <difftime@plt>
mov    0x20(%rsp),%rsi
mov    0x18(%rsp),%rdx
mov    0x10(%rsp),%rax
movsbl (%rax),%r8d
add    $0xffffffd0,%r8d
mov    %r14,%rdi
mov    %r15d,%ecx
movsd  %xmm0,0x28(%rsp)
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x10(%rsp),%rax
movsbl (%rax),%eax
add    $0xffffffd0,%eax
cmp    %eax,%r15d
jne    14cd <main+0x36d>
movsd  0x28(%rsp),%xmm0
ucomisd 0xb4f(%rip),%xmm0
jae    14d6 <main+0x376>
add    $0x18,%r12
cmp    $0x240,%r12
jne    1420 <main+0x2c0>
lea    0xc9a(%rip),%rdi
jmp    14dd <main+0x37d>
lea    0xc52(%rip),%rdi
jmp    14dd <main+0x37d>
lea    0xc66(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x278,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [4 x i8] c"abc\00"
@.str.1 = [2 x i8] c"1\00"
@.str.2 = [4 x i8] c"abd\00"
@.str.3 = [2 x i8] c"0\00"
@.str.4 = [5 x i8] c"abcd\00"
@.str.5 = [6 x i8] c"ab*cd\00"
@.str.6 = [6 x i8] c"ab*ce\00"
@.str.7 = [6 x i8] c"ab*ed\00"
@.str.8 = [6 x i8] c"*abcd\00"
@.str.9 = [7 x i8] c"a*abcd\00"
@.str.10 = [6 x i8] c"abcd*\00"
@.str.11 = [7 x i8] c"abcd*d\00"
@.str.12 = [7 x i8] c"*abcd*\00"
@.str.13 = [7 x i8] c"ab**cd\00"
@.str.14 = [8 x i8] c"a*b*c*d\00"
@.str.15 = [2 x i8] c"*\00"
@.str.16 = [3 x i8] c"**\00"
@.str.17 = [4 x i8] c"***\00"
@.str.18 = [20 x i8] c"abilgewbi;wewb;bicd\00"
@.str.19 = [21 x i8] c"qfwyjhbqw fwqgf abcd\00"
@.str.20 = [23 x i8] c"abcdybqwdkqwg qwiulg\00"
@.str.21 = [12 x i8] c"ewg abcdwef\00"
@.str.22 = [14 x i8] c"abfoijqwfijcd\00"
@.str.23 = [14 x i8] c"aasdbqwdcqwdd\00"
@.str.24 = [15 x i8] c"abcdgh abcedgh\00"
@.str.25 = [10 x i8] c"*abc*edgh\00"
@.str.26 = [14 x i8] c"abcdgh abcdgh\00"
@.str.27 = [73 x i8] c"s1: %s, s2: %s, your_result: %i, actual_result: %i, execution time = %f\0A\00"
@.str.28 = [29 x i8] c"\1B[0;31mFAKE AND GAY \E2\9C\97\1B[0m\0A\00"
@.str.29 = [34 x i8] c"\1B[0;33mYOU ARE TOO SLOW! \E2\9C\97\1B[0m\0A\00"
@.str.30 = [21 x i8] c"\1B[0;32mGOES \E2\9C\93\1B[0m\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca double
%5 = alloca [24 x [3 x i8*]]
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i8*
%10 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %10
%11 = load i32, i32* %10
%12 = add nsw i32 %11, 1
store i32 %12, i32* %10
%13 = sext i32 %11 to i64
%14 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %13
%15 = getelementptr inbounds [3 x i8*], [3 x i8*]* %14, i64 0, i64 0
%16 = call i32 @ft_add_test_case(i8** %15, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%17 = load i32, i32* %10
%18 = add nsw i32 %17, 1
store i32 %18, i32* %10
%19 = sext i32 %17 to i64
%20 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %19
%21 = getelementptr inbounds [3 x i8*], [3 x i8*]* %20, i64 0, i64 0
%22 = call i32 @ft_add_test_case(i8** %21, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%23 = load i32, i32* %10
%24 = add nsw i32 %23, 1
store i32 %24, i32* %10
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %25
%27 = getelementptr inbounds [3 x i8*], [3 x i8*]* %26, i64 0, i64 0
%28 = call i32 @ft_add_test_case(i8** %27, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%29 = load i32, i32* %10
%30 = add nsw i32 %29, 1
store i32 %30, i32* %10
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %31
%33 = getelementptr inbounds [3 x i8*], [3 x i8*]* %32, i64 0, i64 0
%34 = call i32 @ft_add_test_case(i8** %33, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%35 = load i32, i32* %10
%36 = add nsw i32 %35, 1
store i32 %36, i32* %10
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %37
%39 = getelementptr inbounds [3 x i8*], [3 x i8*]* %38, i64 0, i64 0
%40 = call i32 @ft_add_test_case(i8** %39, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%41 = load i32, i32* %10
%42 = add nsw i32 %41, 1
store i32 %42, i32* %10
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %43
%45 = getelementptr inbounds [3 x i8*], [3 x i8*]* %44, i64 0, i64 0
%46 = call i32 @ft_add_test_case(i8** %45, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%47 = load i32, i32* %10
%48 = add nsw i32 %47, 1
store i32 %48, i32* %10
%49 = sext i32 %47 to i64
%50 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %49
%51 = getelementptr inbounds [3 x i8*], [3 x i8*]* %50, i64 0, i64 0
%52 = call i32 @ft_add_test_case(i8** %51, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%53 = load i32, i32* %10
%54 = add nsw i32 %53, 1
store i32 %54, i32* %10
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %55
%57 = getelementptr inbounds [3 x i8*], [3 x i8*]* %56, i64 0, i64 0
%58 = call i32 @ft_add_test_case(i8** %57, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%59 = load i32, i32* %10
%60 = add nsw i32 %59, 1
store i32 %60, i32* %10
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %61
%63 = getelementptr inbounds [3 x i8*], [3 x i8*]* %62, i64 0, i64 0
%64 = call i32 @ft_add_test_case(i8** %63, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%65 = load i32, i32* %10
%66 = add nsw i32 %65, 1
store i32 %66, i32* %10
%67 = sext i32 %65 to i64
%68 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %67
%69 = getelementptr inbounds [3 x i8*], [3 x i8*]* %68, i64 0, i64 0
%70 = call i32 @ft_add_test_case(i8** %69, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%71 = load i32, i32* %10
%72 = add nsw i32 %71, 1
store i32 %72, i32* %10
%73 = sext i32 %71 to i64
%74 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %73
%75 = getelementptr inbounds [3 x i8*], [3 x i8*]* %74, i64 0, i64 0
%76 = call i32 @ft_add_test_case(i8** %75, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%77 = load i32, i32* %10
%78 = add nsw i32 %77, 1
store i32 %78, i32* %10
%79 = sext i32 %77 to i64
%80 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %79
%81 = getelementptr inbounds [3 x i8*], [3 x i8*]* %80, i64 0, i64 0
%82 = call i32 @ft_add_test_case(i8** %81, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%83 = load i32, i32* %10
%84 = add nsw i32 %83, 1
store i32 %84, i32* %10
%85 = sext i32 %83 to i64
%86 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %85
%87 = getelementptr inbounds [3 x i8*], [3 x i8*]* %86, i64 0, i64 0
%88 = call i32 @ft_add_test_case(i8** %87, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%89 = load i32, i32* %10
%90 = add nsw i32 %89, 1
store i32 %90, i32* %10
%91 = sext i32 %89 to i64
%92 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %91
%93 = getelementptr inbounds [3 x i8*], [3 x i8*]* %92, i64 0, i64 0
%94 = call i32 @ft_add_test_case(i8** %93, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%95 = load i32, i32* %10
%96 = add nsw i32 %95, 1
store i32 %96, i32* %10
%97 = sext i32 %95 to i64
%98 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %97
%99 = getelementptr inbounds [3 x i8*], [3 x i8*]* %98, i64 0, i64 0
%100 = call i32 @ft_add_test_case(i8** %99, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%101 = load i32, i32* %10
%102 = add nsw i32 %101, 1
store i32 %102, i32* %10
%103 = sext i32 %101 to i64
%104 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %103
%105 = getelementptr inbounds [3 x i8*], [3 x i8*]* %104, i64 0, i64 0
%106 = call i32 @ft_add_test_case(i8** %105, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%107 = load i32, i32* %10
%108 = add nsw i32 %107, 1
store i32 %108, i32* %10
%109 = sext i32 %107 to i64
%110 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %109
%111 = getelementptr inbounds [3 x i8*], [3 x i8*]* %110, i64 0, i64 0
%112 = call i32 @ft_add_test_case(i8** %111, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%113 = load i32, i32* %10
%114 = add nsw i32 %113, 1
store i32 %114, i32* %10
%115 = sext i32 %113 to i64
%116 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %115
%117 = getelementptr inbounds [3 x i8*], [3 x i8*]* %116, i64 0, i64 0
%118 = call i32 @ft_add_test_case(i8** %117, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%119 = load i32, i32* %10
%120 = add nsw i32 %119, 1
store i32 %120, i32* %10
%121 = sext i32 %119 to i64
%122 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %121
%123 = getelementptr inbounds [3 x i8*], [3 x i8*]* %122, i64 0, i64 0
%124 = call i32 @ft_add_test_case(i8** %123, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%125 = load i32, i32* %10
%126 = add nsw i32 %125, 1
store i32 %126, i32* %10
%127 = sext i32 %125 to i64
%128 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %127
%129 = getelementptr inbounds [3 x i8*], [3 x i8*]* %128, i64 0, i64 0
%130 = call i32 @ft_add_test_case(i8** %129, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%131 = load i32, i32* %10
%132 = add nsw i32 %131, 1
store i32 %132, i32* %10
%133 = sext i32 %131 to i64
%134 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %133
%135 = getelementptr inbounds [3 x i8*], [3 x i8*]* %134, i64 0, i64 0
%136 = call i32 @ft_add_test_case(i8** %135, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%137 = load i32, i32* %10
%138 = add nsw i32 %137, 1
store i32 %138, i32* %10
%139 = sext i32 %137 to i64
%140 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %139
%141 = getelementptr inbounds [3 x i8*], [3 x i8*]* %140, i64 0, i64 0
%142 = call i32 @ft_add_test_case(i8** %141, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%143 = load i32, i32* %10
%144 = add nsw i32 %143, 1
store i32 %144, i32* %10
%145 = sext i32 %143 to i64
%146 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %145
%147 = getelementptr inbounds [3 x i8*], [3 x i8*]* %146, i64 0, i64 0
%148 = call i32 @ft_add_test_case(i8** %147, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%149 = load i32, i32* %10
%150 = add nsw i32 %149, 1
store i32 %150, i32* %10
%151 = sext i32 %149 to i64
%152 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %151
%153 = getelementptr inbounds [3 x i8*], [3 x i8*]* %152, i64 0, i64 0
%154 = call i32 @ft_add_test_case(i8** %153, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %10
br label %155
155: ; preds = %196, %0
%156 = load i32, i32* %10
%157 = icmp slt i32 %156, 24
br i1 %157, label %158, label %199
158: ; preds = %155
%159 = load i32, i32* %10
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %5, i64 0, i64 %160
%162 = getelementptr inbounds [3 x i8*], [3 x i8*]* %161, i64 0, i64 0
%163 = call i32 @ft_get_values(i8** %162, i8** %6, i8** %7, i8** %9)
%164 = call i32 @time(i32* %2)
%165 = load i8*, i8** %6
%166 = load i8*, i8** %7
%167 = call i32 @match(i8* %165, i8* %166)
store i32 %167, i32* %8
%168 = call i32 @time(i32* %3)
%169 = load i32, i32* %3
%170 = load i32, i32* %2
%171 = call double @difftime(i32 %169, i32 %170)
store double %171, double* %4
%172 = load i8*, i8** %6
%173 = load i8*, i8** %7
%174 = load i32, i32* %8
%175 = load i8*, i8** %9
%176 = getelementptr inbounds i8, i8* %175, i64 0
%177 = load i8, i8* %176
%178 = sext i8 %177 to i32
%179 = sub nsw i32 %178, 48
%180 = load double, double* %4
%181 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.27, i64 0, i64 0), i8* %172, i8* %173, i32 %174, i32 %179, double %180)
%182 = load i32, i32* %8
%183 = load i8*, i8** %9
%184 = getelementptr inbounds i8, i8* %183, i64 0
%185 = load i8, i8* %184
%186 = sext i8 %185 to i32
%187 = sub nsw i32 %186, 48
%188 = icmp ne i32 %182, %187
br i1 %188, label %189, label %191
189: ; preds = %158
%190 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.28, i64 0, i64 0))
store i32 %190, i32* %1
br label %201
191: ; preds = %158
%192 = load double, double* %4
%193 = fcmp oge double %192, 2.000000e+00
br i1 %193, label %194, label %196
194: ; preds = %191
%195 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.29, i64 0, i64 0))
store i32 %195, i32* %1
br label %201
196: ; preds = %191
%197 = load i32, i32* %10
%198 = add nsw i32 %197, 1
store i32 %198, i32* %10
br label %155
199: ; preds = %155
%200 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.30, i64 0, i64 0))
store i32 %200, i32* %1
br label %201
201: ; preds = %199, %194, %189
%202 = load i32, i32* %1
ret i32 %202
}

LLVM IR (-O2):
@.str = [4 x i8] c"abc\00"
@.str.1 = [2 x i8] c"1\00"
@.str.2 = [4 x i8] c"abd\00"
@.str.3 = [2 x i8] c"0\00"
@.str.4 = [5 x i8] c"abcd\00"
@.str.5 = [6 x i8] c"ab*cd\00"
@.str.6 = [6 x i8] c"ab*ce\00"
@.str.7 = [6 x i8] c"ab*ed\00"
@.str.8 = [6 x i8] c"*abcd\00"
@.str.9 = [7 x i8] c"a*abcd\00"
@.str.10 = [6 x i8] c"abcd*\00"
@.str.11 = [7 x i8] c"abcd*d\00"
@.str.12 = [7 x i8] c"*abcd*\00"
@.str.13 = [7 x i8] c"ab**cd\00"
@.str.14 = [8 x i8] c"a*b*c*d\00"
@.str.15 = [2 x i8] c"*\00"
@.str.16 = [3 x i8] c"**\00"
@.str.17 = [4 x i8] c"***\00"
@.str.18 = [20 x i8] c"abilgewbi;wewb;bicd\00"
@.str.19 = [21 x i8] c"qfwyjhbqw fwqgf abcd\00"
@.str.20 = [23 x i8] c"abcdybqwdkqwg qwiulg\00"
@.str.21 = [12 x i8] c"ewg abcdwef\00"
@.str.22 = [14 x i8] c"abfoijqwfijcd\00"
@.str.23 = [14 x i8] c"aasdbqwdcqwdd\00"
@.str.24 = [15 x i8] c"abcdgh abcedgh\00"
@.str.25 = [10 x i8] c"*abc*edgh\00"
@.str.26 = [14 x i8] c"abcdgh abcdgh\00"
@.str.27 = [73 x i8] c"s1: %s, s2: %s, your_result: %i, actual_result: %i, execution time = %f\0A\00"
@.str.28 = [29 x i8] c"\1B[0;31mFAKE AND GAY \E2\9C\97\1B[0m\0A\00"
@.str.29 = [34 x i8] c"\1B[0;33mYOU ARE TOO SLOW! \E2\9C\97\1B[0m\0A\00"
@.str.30 = [21 x i8] c"\1B[0;32mGOES \E2\9C\93\1B[0m\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [24 x [3 x i8*]]
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
%7 = bitcast i32* %1 to i8*
%8 = bitcast i32* %2 to i8*
%9 = bitcast [24 x [3 x i8*]]* %3 to i8*
%10 = bitcast i8** %4 to i8*
%11 = bitcast i8** %5 to i8*
%12 = bitcast i8** %6 to i8*
%13 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 0, i64 0
%14 = call i32 @ft_add_test_case(i8** %13, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%15 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 1, i64 0
%16 = call i32 @ft_add_test_case(i8** %15, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%17 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 2, i64 0
%18 = call i32 @ft_add_test_case(i8** %17, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%19 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 3, i64 0
%20 = call i32 @ft_add_test_case(i8** %19, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%21 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 4, i64 0
%22 = call i32 @ft_add_test_case(i8** %21, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%23 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 5, i64 0
%24 = call i32 @ft_add_test_case(i8** %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%25 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 6, i64 0
%26 = call i32 @ft_add_test_case(i8** %25, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%27 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 7, i64 0
%28 = call i32 @ft_add_test_case(i8** %27, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%29 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 8, i64 0
%30 = call i32 @ft_add_test_case(i8** %29, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%31 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 9, i64 0
%32 = call i32 @ft_add_test_case(i8** %31, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%33 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 10, i64 0
%34 = call i32 @ft_add_test_case(i8** %33, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%35 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 11, i64 0
%36 = call i32 @ft_add_test_case(i8** %35, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%37 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 12, i64 0
%38 = call i32 @ft_add_test_case(i8** %37, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%39 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 13, i64 0
%40 = call i32 @ft_add_test_case(i8** %39, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%41 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 14, i64 0
%42 = call i32 @ft_add_test_case(i8** %41, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%43 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 15, i64 0
%44 = call i32 @ft_add_test_case(i8** %43, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%45 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 16, i64 0
%46 = call i32 @ft_add_test_case(i8** %45, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%47 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 17, i64 0
%48 = call i32 @ft_add_test_case(i8** %47, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%49 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 18, i64 0
%50 = call i32 @ft_add_test_case(i8** %49, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%51 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 19, i64 0
%52 = call i32 @ft_add_test_case(i8** %51, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%53 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 20, i64 0
%54 = call i32 @ft_add_test_case(i8** %53, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%55 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 21, i64 0
%56 = call i32 @ft_add_test_case(i8** %55, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%57 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 22, i64 0
%58 = call i32 @ft_add_test_case(i8** %57, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%59 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 23, i64 0
%60 = call i32 @ft_add_test_case(i8** %59, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %64
61: ; preds = %88
%62 = add nuw nsw i64 %65, 1
%63 = icmp eq i64 %62, 24
br i1 %63, label %90, label %64
64: ; preds = %0, %61
%65 = phi i64 [ 0, %0 ], [ %62, %61 ]
%66 = getelementptr inbounds [24 x [3 x i8*]], [24 x [3 x i8*]]* %3, i64 0, i64 %65, i64 0
%67 = call i32 @ft_get_values(i8** %66, i8** %4, i8** %5, i8** %6)
%68 = call i32 @time(i32* %1)
%69 = load i8*, i8** %4
%70 = load i8*, i8** %5
%71 = call i32 @match(i8* %69, i8* %70)
%72 = call i32 @time(i32* %2)
%73 = load i32, i32* %2
%74 = load i32, i32* %1
%75 = call double @difftime(i32 %73, i32 %74)
%76 = load i8*, i8** %4
%77 = load i8*, i8** %5
%78 = load i8*, i8** %6
%79 = load i8, i8* %78
%80 = sext i8 %79 to i32
%81 = add nsw i32 %80, -48
%82 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @.str.27, i64 0, i64 0), i8* %76, i8* %77, i32 %71, i32 %81, double %75)
%83 = load i8*, i8** %6
%84 = load i8, i8* %83
%85 = sext i8 %84 to i32
%86 = add nsw i32 %85, -48
%87 = icmp eq i32 %71, %86
br i1 %87, label %88, label %90
88: ; preds = %64
%89 = fcmp ult double %75, 2.000000e+00
br i1 %89, label %61, label %90
90: ; preds = %61, %88, %64
%91 = phi i8* [ getelementptr inbounds ([29 x i8], [29 x i8]* @.str.28, i64 0, i64 0), %64 ], [ getelementptr inbounds ([34 x i8], [34 x i8]* @.str.29, i64 0, i64 0), %88 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.30, i64 0, i64 0), %61 ]
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %91)
ret i32 %92
}