user: Please show me the C implementation that matches the assembly code listed below:

```asm
<proc_fake1>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x14(%rbp)
  jmp    L88
L121:
  mov    -0x10(%rbp),%rax
  lea    D140(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  jne    L33
  lea    D140(%rip),%rax
  mov    %rax,%rsi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L73
L33:
  lea    D140(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cltq
  add    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  sub    -0x10(%rbp),%rax
  mov    %eax,-0x14(%rbp)
  mov    -0x14(%rbp),%edx
  mov    -0x10(%rbp),%rax
  mov    $0x20,%esi
  mov    %rax,%rdi
  call   <memset@plt>
L88:
  mov    -0x28(%rbp),%rax
  lea    D7(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  jne    L121
  jmp    L130
L94:
  mov    -0x10(%rbp),%rax
  lea    D23(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  jne    L37
  lea    D23(%rip),%rax
  mov    %rax,%rsi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L73
L37:
  lea    D23(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cltq
  add    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  sub    -0x10(%rbp),%rax
  mov    %eax,-0x14(%rbp)
  mov    -0x14(%rbp),%edx
  mov    -0x10(%rbp),%rax
  mov    $0x20,%esi
  mov    %rax,%rdi
  call   <memset@plt>
L130:
  mov    -0x28(%rbp),%rax
  lea    D54(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  jne    L94
  jmp    L4
L123:
  lea    D72(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  mov    -0x10(%rbp),%rax
  mov    $0x20,%esi
  mov    %rax,%rdi
  call   <memset@plt>
L4:
  mov    -0x28(%rbp),%rax
  lea    D72(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  jne    L123
  jmp    L146
L109:
  lea    D156(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  mov    -0x10(%rbp),%rax
  mov    $0x20,%esi
  mov    %rax,%rdi
  call   <memset@plt>
L146:
  mov    -0x28(%rbp),%rax
  lea    D156(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  jne    L109
  jmp    L34
L124:
  lea    D100(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  mov    -0x10(%rbp),%rax
  mov    $0x20,%esi
  mov    %rax,%rdi
  call   <memset@plt>
L34:
  mov    -0x28(%rbp),%rax
  lea    D100(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  jne    L124
  jmp    L91
L97:
  lea    D155(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  mov    -0x10(%rbp),%rax
  mov    $0x20,%esi
  mov    %rax,%rdi
  call   <memset@plt>
L91:
  mov    -0x28(%rbp),%rax
  lea    D155(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  jne    L97
L73:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: tag: D140
type_infered: string
name: extract_symbolic_data
arguments: tag: D26
type_infered: string
name: extract_symbolic_data
arguments: tag: D7
type_infered: string
name: extract_symbolic_data
arguments: tag: D23
type_infered: string
name: extract_symbolic_data
arguments: tag: D54
type_infered: string
name: extract_symbolic_data
arguments: tag: D72
type_infered: string
name: extract_symbolic_data
arguments: tag: D156
type_infered: string
name: extract_symbolic_data
arguments: tag: D100
type_infered: string
name: extract_symbolic_data
arguments: tag: D155
type_infered: string

tool: D140: /*END_DEMO*/

tool: D26: can not find %s


tool: D7: /*DEMO*/

tool: D23: <!--END_DEMO-->

tool: D54: <!--DEMO-->

tool: D72: /*REAL

tool: D156: REAL*/

tool: D100: <!--REAL

tool: D155: REAL-->

assistant: ```c
void proc_fake1(char *inblk, int *len) {
  char *startp, *endp;
  int outlen;
  outlen = *len;
  while ((startp = strstr(inblk, "/*DEMO*/")) != NULL) {
    if ((endp = strstr(startp, "/*END_DEMO*/")) == NULL) {
      printf("can not find %s\n", "/*END_DEMO*/");
      return;
    }
    endp += strlen("/*END_DEMO*/");
    outlen = endp - startp;
    memset(startp, 0x20, outlen);
  }
  while ((startp = strstr(inblk, "<!--DEMO-->")) != NULL) {
    if ((endp = strstr(startp, "<!--END_DEMO-->")) == NULL) {
      printf("can not find %s\n", "<!--END_DEMO-->");
      return;
    }
    endp += strlen("<!--END_DEMO-->");
    outlen = endp - startp;
    memset(startp, 0x20, outlen);
  }
  while ((startp = strstr(inblk, "/*REAL")) != NULL) {
    memset(startp, 0x20, strlen("/*REAL"));
  }
  while ((startp = strstr(inblk, "REAL*/")) != NULL) {
    memset(startp, 0x20, strlen("REAL*/"));
  }
  while ((startp = strstr(inblk, "<!--REAL")) != NULL) {
    memset(startp, 0x20, strlen("<!--REAL"));
  }
  while ((startp = strstr(inblk, "REAL-->")) != NULL) {
    memset(startp, 0x20, strlen("REAL-->"));
  }
}
```