user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<mk_re_parse>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  mov    %esi,%ebp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movzbl (%rdi),%eax
  mov    %rdi,0x10(%rsp)
  test   %al,%al
  je     L93
  mov    %rdi,%r14
  mov    %rdi,%rdx
  xor    %r15d,%r15d
  xor    %r13d,%r13d
  lea    0x10(%rsp),%rbx
  jmp    L9
  nopw   0x0(%rax,%rax,1)
L163:
  test   $0x1,%r15b
  jne    L80
  cmp    $0x2f,%al
  je     L4
L80:
  cmp    $0x5b,%al
  je     L162
  cmp    $0x5d,%al
  cmove  %r13d,%r15d
L41:
  lea    0x1(%rdx),%rax
  add    $0x1,%r14
  mov    %rax,0x10(%rsp)
  movzbl (%rdx),%edx
  mov    %dl,-0x1(%r14)
  mov    %rax,%rdx
L78:
  movzbl (%rdx),%eax
  test   %al,%al
  je     L4
L9:
  cmp    $0x5c,%al
  jne    L163
  lea    0x1(%rdx),%rax
  mov    %rax,0x10(%rsp)
  movzbl 0x1(%rdx),%eax
  cmp    $0x37,%al
  jle    L13
  lea    -0x61(%rax),%esi
  cmp    $0x17,%sil
  ja     L174
  mov    $0xaa2023,%edi
  bt     %rsi,%rdi
  jb     L164
L174:
  add    $0x2,%rdx
  movb   $0x5c,(%r14)
  add    $0x2,%r14
  mov    %al,-0x1(%r14)
  mov    %rdx,0x10(%rsp)
  movzbl (%rdx),%eax
  test   %al,%al
  jne    L9
  nopl   0x0(%rax,%rax,1)
L4:
  mov    %r14,%rsi
  sub    %r12,%rsi
L110:
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <tmp_string@plt>
  mov    %ebp,%esi
  mov    %eax,%edi
  xor    %eax,%eax
  call   <make_regexp@plt>
  cltq
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L27
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L13:
  cmp    $0x2e,%al
  jle    L174
  nopl   0x0(%rax)
L164:
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <parse_escape@plt>
  mov    %eax,%r9d
  test   %eax,%eax
  js     L61
L123:
  mov    %r9b,(%r14)
  mov    0x10(%rsp),%rdx
  add    $0x1,%r14
  jmp    L78
  nopw   0x0(%rax,%rax,1)
L162:
  mov    $0x1,%r15d
  jmp    L41
  nopl   0x0(%rax,%rax,1)
L61:
  mov    %eax,0xc(%rsp)
  lea    D18(%rip),%rdx
  mov    $0x18b,%esi
  xor    %eax,%eax
  lea    D11(%rip),%rdi
  call   <fatal@plt>
  mov    0xc(%rsp),%r9d
  jmp    L123
L93:
  xor    %esi,%esi
  jmp    L110
L27:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D18
type_guessed: string
name: parse_data
arguments: tag: D11
type_guessed: string

tool: D18: /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ensemblr/llvm-project-boilerplate/refs/heads/main/MultiSource/Benchmarks/MallocBench/gawk/main.c

tool: D11: line %d, file: %s; bailing out

assistant: ```c
struct re_pattern_buffer *mk_re_parse(s, ignorecase)
char *s;
int ignorecase;
{
  char *src;
  register char *dest;
  register int c;
  int in_brack = 0;
  for (dest = src = s; *src != '\0';) {
    if (*src == '\\') {
      c = *++src;
      switch (c) {
      case '/':
      case 'a':
      case 'b':
      case 'f':
      case 'n':
      case 'r':
      case 't':
      case 'v':
      case 'x':
      case '0':
      case '1':
      case '2':
      case '3':
      case '4':
      case '5':
      case '6':
      case '7':
        c = parse_escape(&src);
        if (c < 0)
          fatal("line %d, file: %s; bailing out", 395, "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ensemblr/llvm-project-boilerplate/refs/heads/main/MultiSource/Benchmarks/MallocBench/gawk/main.c");
        ;
        *dest++ = (char)c;
        break;
      default:
        *dest++ = '\\';
        *dest++ = (char)c;
        src++;
        break;
      }
    } else if (*src == '/' && !in_brack)
      break;
    else {
      if (*src == '[')
        in_brack = 1;
      else if (*src == ']')
        in_brack = 0;
      *dest++ = *src++;
    }
  }
  return make_regexp(tmp_string(s, dest - s), ignorecase);
}
```