user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x370,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x368(%rsp)
  xor    %eax,%eax
  movabs $0x7325203a54584554,%rax
  movabs $0x5245545441506325,%rdx
  mov    %rax,0x340(%rsp)
  mov    %rdx,0x348(%rsp)
  movabs $0x4163257325203a4e,%rax
  movabs $0x203a524557534e,%rdx
  mov    %rax,0x350(%rsp)
  mov    %rdx,0x358(%rsp)
  movl   $0x206425,0x326(%rsp)
  movw   $0x6325,0x323(%rsp)
  movb   $0x0,0x325(%rsp)
  movl   $0x656e6f6e,0x32e(%rsp)
  movb   $0x0,0x332(%rsp)
  movabs $0x6167666564636261,%rax
  mov    %rax,0x333(%rsp)
  movl   $0x66656462,0x33b(%rsp)
  movb   $0x0,0x33f(%rsp)
  movl   $0x666564,0x32a(%rsp)
  lea    0x333(%rsp),%rdi
  call   <strlen@plt>
  mov    %eax,%ebx
  lea    0x32a(%rsp),%rdi
  call   <strlen@plt>
  mov    %eax,%edi
  movl   $0xffffffff,0x190(%rsp)
  mov    $0x1,%esi
  mov    $0xffffffff,%eax
  test   %edi,%edi
  jg     L97
  jmp    L191
L249:
  cmp    %ecx,%edi
  jne    L242
  cmp    %eax,%ebx
  jne    L242
  cltq
  mov    0x190(%rsp,%rax,4),%eax
  movslq %edx,%rdx
  mov    %eax,0x190(%rsp,%rdx,4)
L191:
  test   %ebx,%ebx
  jle    L243
  mov    %ebx,%r9d
  mov    $0x0,%esi
  mov    $0x0,%edx
  mov    $0x0,%ebx
  jmp    L73
L242:
  mov    %eax,%r8d
L110:
  mov    %r8d,0x190(%rsp,%rsi,4)
  cmp    %ecx,%edi
  jle    L191
  test   %eax,%eax
  js     L9
  movzbl 0x32a(%rsp,%rsi,1),%ecx
L194:
  movslq %eax,%rdx
  cmp    0x32a(%rsp,%rdx,1),%cl
  je     L9
  cltq
  mov    0x190(%rsp,%rax,4),%eax
  test   %eax,%eax
  jns    L194
L9:
  add    $0x1,%rsi
L97:
  mov    %esi,%edx
  add    $0x1,%eax
  mov    %esi,%ecx
  cmp    %esi,%edi
  je     L249
  cmp    %eax,%ebx
  je     L249
  movslq %eax,%rdx
  mov    %eax,%r8d
  movzbl 0x32a(%rsp,%rdx,1),%edx
  cmp    %dl,0x32a(%rsp,%rsi,1)
  jne    L110
  movslq %eax,%rdx
  mov    0x190(%rsp,%rdx,4),%r8d
  jmp    L110
L188:
  mov    %edx,%eax
L65:
  lea    0x1(%rax),%edx
  cmp    %edx,%edi
  jg     L32
  movslq %ebx,%rcx
  sub    %eax,%r8d
  mov    %r8d,(%rsp,%rcx,4)
  add    $0x1,%ebx
  movslq %edx,%rdx
  mov    0x190(%rsp,%rdx,4),%edx
L32:
  add    $0x1,%rsi
  cmp    %rsi,%r9
  je     L63
L73:
  mov    %esi,%r8d
  test   %edx,%edx
  js     L188
  movzbl 0x333(%rsp,%rsi,1),%ecx
  mov    %edx,%eax
L36:
  movslq %eax,%rdx
  cmp    0x32a(%rsp,%rdx,1),%cl
  je     L65
  cltq
  mov    0x190(%rsp,%rax,4),%eax
  test   %eax,%eax
  jns    L36
  jmp    L65
L63:
  lea    0x32a(%rsp),%rcx
  lea    0x333(%rsp),%rsi
  lea    0x340(%rsp),%rdi
  mov    $0xa,%r8d
  mov    $0xa,%edx
  mov    $0x0,%eax
  call   <printf@plt>
  test   %ebx,%ebx
  je     L204
  jle    L229
  mov    %rsp,%rbp
  lea    -0x1(%rbx),%eax
  lea    0x4(%rsp,%rax,4),%r12
  lea    0x326(%rsp),%rbx
L24:
  mov    0x0(%rbp),%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x4,%rbp
  cmp    %r12,%rbp
  jne    L24
L229:
  lea    0x323(%rsp),%rdi
  mov    $0xa,%esi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x368(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L213
  mov    $0x0,%eax
  add    $0x370,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L243:
  lea    0x32a(%rsp),%rcx
  lea    0x333(%rsp),%rsi
  lea    0x340(%rsp),%rdi
  mov    $0xa,%r8d
  mov    $0xa,%edx
  mov    $0x0,%eax
  call   <printf@plt>
L204:
  lea    0x32e(%rsp),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L229
L213:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int main() {
  char TIPS[] = "TEXT: %s%cPATTERN: %s%cANSWER: ";
  char number[] = "%d ";
  char charactor[] = "%c";
  char NO_ANSWER[] = "none";
  char text[] = "abcdefgabdef";
  char pattern[] = "def";
  int answer[100];
  int a = 0;
  int m = strlen(text);
  int n = strlen(pattern);
  int i = 0;
  int j = -1;
  int next[100];
  int x;
  int y;
  int z;
  next[0] = -1;
  while (i < n) {
    while (j > -1 && pattern[i] != pattern[j]) {
      j = next[j];
    }
    i += 1;
    j += 1;
    if ((i != n) && (j != m) && (pattern[i] == pattern[j]))
      next[i] = next[j];
    else if ((i == n) && (j == m))
      next[i] = next[j];
    else
      next[i] = j;
  }
  i = 0;
  j = 0;
  while (j < m) {
    while (i > -1 && text[j] != pattern[i])
      i = next[i];
    i += 1;
    j += 1;
    if (i >= n) {
      answer[a] = j - i;
      a += 1;
      i = next[i];
    }
  }
  printf(TIPS, text, 10, pattern, 10);
  if (a == 0)
    printf(NO_ANSWER);
  else {
    for (i = 0; i < a; i += 1) {
      printf(number, answer[i]);
    }
  }
  printf(charactor, 10);
  return 0;
}
```