ylfeng/ReF-Decompile-dataset huggingface dataset:
user: 请将以下的汇编代码转换成C语言代码：

```asm
<qtime_gmt_strf>:
  endbr64
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  mov    %esi,%ebp
  sub    $0x10,%rsp
  mov    %rdx,0x8(%rsp)
  test   %rdx,%rdx
  je     L5
L6:
  lea    0x8(%rsp),%rdi
  call   <gmtime@plt>
  mov    %r13,%rdx
  mov    %ebp,%esi
  mov    %r12,%rdi
  mov    %rax,%rcx
  call   <strftime@plt>
  add    $0x10,%rsp
  mov    %r12,%rax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  cs nopw 0x0(%rax,%rax,1)
L5:
  xor    %edi,%edi
  call   <time@plt>
  mov    %rax,0x8(%rsp)
  jmp    L6
```

assistant: ```c
char *qtime_gmt_strf(char *buf, int size, time_t utctime, const char *format) {
  if (utctime == 0)
    utctime = time(NULL);
  struct tm *gmtm = gmtime(&utctime);
  strftime(buf, size, format, gmtm);
  return buf;
}
```
user: 这段汇编代码用C语言表示是什么样的:

```asm
<qtime_gmt_strf>:
  endbr64
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  mov    %esi,%ebp
  sub    $0x10,%rsp
  mov    %rdx,0x8(%rsp)
  test   %rdx,%rdx
  je     L11
L12:
  lea    0x8(%rsp),%rdi
  call   <gmtime@plt>
  mov    %r13,%rdx
  mov    %ebp,%esi
  mov    %r12,%rdi
  mov    %rax,%rcx
  call   <strftime@plt>
  add    $0x10,%rsp
  mov    %r12,%rax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  cs nopw 0x0(%rax,%rax,1)
L11:
  xor    %edi,%edi
  call   <time@plt>
  mov    %rax,0x8(%rsp)
  jmp    L12
```

assistant: ```c
char *qtime_gmt_strf(char *buf, int size, time_t utctime, const char *format) {
  if (utctime == 0)
    utctime = time(NULL);
  struct tm *gmtm = gmtime(&utctime);
  strftime(buf, size, format, gmtm);
  return buf;
}
```
user: 请从给定的汇编指令推导出C源代码:

```asm
<xunshare>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %edi,-0x14(%rbp)
  mov    D9(%rip),%rax
  mov    (%rax),%eax
  mov    -0x14(%rbp),%edx
  mov    %edx,%esi
  mov    %eax,%edi
  call   <syscall@plt>
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  leave
  ret
```

assistant: ```c
int xunshare(int flags) {
  int ret = (int)syscall(__NR_unshare, flags);
  if (ret == -1) {
    ;
  }
  return ret;
}
```
user: Translate the below assembly code into C programming language:

```asm
<xunshare>:
  endbr64
  sub    $0x8,%rsp
  mov    %edi,%esi
  mov    D1(%rip),%rax
  mov    (%rax),%edi
  call   <syscall@plt>
  add    $0x8,%rsp
  ret
```

assistant: ```c
int xunshare(int flags) {
  int ret = (int)syscall(__NR_unshare, flags);
  if (ret == -1) {
    ;
  }
  return ret;
}
```
user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<xunshare>:
  endbr64
  sub    $0x8,%rsp
  mov    D9(%rip),%rax
  mov    %edi,%esi
  mov    (%rax),%edi
  call   <syscall@plt>
  add    $0x8,%rsp
  ret
```

assistant: ```c
int xunshare(int flags) {
  int ret = (int)syscall(__NR_unshare, flags);
  if (ret == -1) {
    ;
  }
  return ret;
}
```
user: Converte this assembly snippet into its equivalent C code:

```asm
<xunshare>:
  endbr64
  sub    $0x8,%rsp
  mov    D6(%rip),%rax
  mov    %edi,%esi
  mov    (%rax),%edi
  call   <syscall@plt>
  add    $0x8,%rsp
  ret
```

assistant: ```c
int xunshare(int flags) {
  int ret = (int)syscall(__NR_unshare, flags);
  if (ret == -1) {
    ;
  }
  return ret;
}
```
user: 下面的汇编指令对应的C源代码是什么：

```asm
<file_type>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  mov    $0x2e,%esi
  mov    %rax,%rdi
  call   <strrchr@plt>
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L6
  mov    -0x8(%rbp),%rax
  add    $0x1,%rax
  jmp    L8
L6:
  lea    D1(%rip),%rax
L8:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: tag: D1
datatype: string

tool: 

assistant: ```c
extern char *file_type(char *f) {
  char *cp;
  if ((cp = strrchr(f, '.')) != NULL)
    return cp + 1;
  return "";
}
```
user: Please show me the C implementation that matches the assembly code listed below:

```asm
<file_type>:
  endbr64
  sub    $0x8,%rsp
  mov    $0x2e,%esi
  call   <strrchr@plt>
  lea    0x1(%rax),%rdx
  test   %rax,%rax
  lea    D0(%rip),%rax
  cmovne %rdx,%rax
  add    $0x8,%rsp
  ret
```

tool_calls: name: parse_data
arguments: tag: D0
datatype: string

tool: 

assistant: ```c
extern char *file_type(char *f) {
  char *cp;
  if ((cp = strrchr(f, '.')) != NULL)
    return cp + 1;
  return "";
}
```
user: 这段汇编代码用C语言表示是什么样的？

```asm
<file_type>:
  endbr64
  sub    $0x8,%rsp
  mov    $0x2e,%esi
  call   <strrchr@plt>
  test   %rax,%rax
  lea    0x1(%rax),%rdx
  lea    D4(%rip),%rax
  cmovne %rdx,%rax
  add    $0x8,%rsp
  ret
```

tool_calls: name: read_data
arguments: tag: D4
datatype: string

tool: 

assistant: ```c
extern char *file_type(char *f) {
  char *cp;
  if ((cp = strrchr(f, '.')) != NULL)
    return cp + 1;
  return "";
}
```
user: Translate the below assembly code into C programming language:

```asm
<file_type>:
  endbr64
  sub    $0x8,%rsp
  mov    $0x2e,%esi
  call   <strrchr@plt>
  test   %rax,%rax
  lea    0x1(%rax),%rdx
  lea    D9(%rip),%rax
  cmovne %rdx,%rax
  add    $0x8,%rsp
  ret
```

tool_calls: name: disassemble_data
arguments: label: D9
type: string

tool: 

assistant: ```c
extern char *file_type(char *f) {
  char *cp;
  if ((cp = strrchr(f, '.')) != NULL)
    return cp + 1;
  return "";
}
```
user: Translate the below assembly code into C programming language:

```asm
<_stat_error_421>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movabs $0x7672655320313234,%rax
  movabs $0x20746f6e20656369,%rdx
  mov    %rax,-0x50(%rbp)
  mov    %rdx,-0x48(%rbp)
  movabs $0x6c62616c69617661,%rax
  movabs $0x69736f6c63202c65,%rdx
  mov    %rax,-0x40(%rbp)
  mov    %rdx,-0x38(%rbp)
  movabs $0x72746e6f6320676e,%rax
  movabs $0x656e6e6f63206c6f,%rdx
  mov    %rax,-0x30(%rbp)
  mov    %rdx,-0x28(%rbp)
  movabs $0xa0d2e6e6f697463,%rax
  mov    %rax,-0x20(%rbp)
  movb   $0x0,-0x18(%rbp)
  lea    -0x50(%rbp),%rax
  mov    %rax,%rdi
  call   <_response@plt>
  mov    $0x0,%eax
  call   <do_quit@plt>
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L3
  call   <__stack_chk_fail@plt>
L3:
  leave
  ret
```

assistant: ```c
void _stat_error_421(void) {
  const char msg[] = "421 Service not available, closing control connection.\r\n";
  _response(msg);
  do_quit();
}
```
user: What is the c source code of the assembly code below?

```asm
<_stat_error_421>:
  endbr64
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  movabs $0x7672655320313234,%rax
  movabs $0x20746f6e20656369,%rdx
  mov    %rax,(%rsp)
  mov    %rdx,0x8(%rsp)
  movabs $0x6c62616c69617661,%rax
  movabs $0x69736f6c63202c65,%rdx
  mov    %rax,0x10(%rsp)
  mov    %rdx,0x18(%rsp)
  movabs $0x72746e6f6320676e,%rax
  movabs $0x656e6e6f63206c6f,%rdx
  mov    %rax,0x20(%rsp)
  mov    %rdx,0x28(%rsp)
  movabs $0xa0d2e6e6f697463,%rax
  mov    %rax,0x30(%rsp)
  movb   $0x0,0x38(%rsp)
  mov    %rsp,%rdi
  call   <_response@plt>
  mov    $0x0,%eax
  call   <do_quit@plt>
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L1
  add    $0x58,%rsp
  ret
L1:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void _stat_error_421(void) {
  const char msg[] = "421 Service not available, closing control connection.\r\n";
  _response(msg);
  do_quit();
}
```
user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<_stat_error_421>:
  endbr64
  sub    $0x58,%rsp
  movdqa D5(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rdi
  movb   $0x0,0x38(%rsp)
  movabs $0xa0d2e6e6f697463,%rax
  movaps %xmm0,(%rsp)
  movdqa D3(%rip),%xmm0
  mov    %rax,0x30(%rsp)
  movaps %xmm0,0x10(%rsp)
  movdqa D12(%rip),%xmm0
  movaps %xmm0,0x20(%rsp)
  call   <_response@plt>
  xor    %eax,%eax
  call   <do_quit@plt>
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L3
  add    $0x58,%rsp
  ret
L3:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D5
datatype: byte[16]
name: extract_symbolic_data
arguments: label: D3
datatype: byte[16]
name: extract_symbolic_data
arguments: label: D12
datatype: byte[16]

tool: {"D5": [0x34,0x32,0x31,0x20,0x53,0x65,0x72,0x76,0x69,0x63,0x65,0x20,0x6e,0x6f,0x74,0x20]}

tool: {"D3": [0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x2c,0x20,0x63,0x6c,0x6f,0x73,0x69]}

tool: {"D12": [0x6e,0x67,0x20,0x63,0x6f,0x6e,0x74,0x72,0x6f,0x6c,0x20,0x63,0x6f,0x6e,0x6e,0x65]}

assistant: ```c
void _stat_error_421(void) {
  const char msg[] = "421 Service not available, closing control connection.\r\n";
  _response(msg);
  do_quit();
}
```
user: Translate the below assembly code into C programming language:

```asm
<_stat_error_421>:
  endbr64
  sub    $0x58,%rsp
  movdqa D22(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rdi
  movb   $0x0,0x38(%rsp)
  movabs $0xa0d2e6e6f697463,%rax
  movaps %xmm0,(%rsp)
  movdqa D13(%rip),%xmm0
  mov    %rax,0x30(%rsp)
  movaps %xmm0,0x10(%rsp)
  movdqa D11(%rip),%xmm0
  movaps %xmm0,0x20(%rsp)
  call   <_response@plt>
  xor    %eax,%eax
  call   <do_quit@plt>
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L1
  add    $0x58,%rsp
  ret
L1:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D22
data_type: byte[16]
name: unpack_data
arguments: data_label: D13
data_type: byte[16]
name: unpack_data
arguments: data_label: D11
data_type: byte[16]

tool: {"D22": [0x34,0x32,0x31,0x20,0x53,0x65,0x72,0x76,0x69,0x63,0x65,0x20,0x6e,0x6f,0x74,0x20]}

tool: {"D13": [0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x2c,0x20,0x63,0x6c,0x6f,0x73,0x69]}

tool: {"D11": [0x6e,0x67,0x20,0x63,0x6f,0x6e,0x74,0x72,0x6f,0x6c,0x20,0x63,0x6f,0x6e,0x6e,0x65]}

assistant: ```c
void _stat_error_421(void) {
  const char msg[] = "421 Service not available, closing control connection.\r\n";
  _response(msg);
  do_quit();
}
```
user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    D6(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  pop    %rbp
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D6
data_type: string

tool: D6: Hello world !


assistant: ```c
int main() {
  printf("Hello world !\n");
  return 0;
}
```
user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<main>:
  endbr64
  sub    $0x8,%rsp
  lea    D4(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  add    $0x8,%rsp
  ret
```

tool_calls: name: unpack_data
arguments: label: D4
data_type: string

tool: D4: Hello world !


assistant: ```c
int main() {
  printf("Hello world !\n");
  return 0;
}
```
user: Demonstrate the C code that generates the assembly output below:

```asm
<main>:
  endbr64
  sub    $0x8,%rsp
  lea    D2(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  add    $0x8,%rsp
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D2
type: string

tool: D2: Hello world !


assistant: ```c
int main() {
  printf("Hello world !\n");
  return 0;
}
```
user: 这段汇编代码用C语言表示是什么样的：

```asm
<main>:
  endbr64
  sub    $0x8,%rsp
  lea    D2(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  add    $0x8,%rsp
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D2
type_guessed: string

tool: D2: Hello world !


assistant: ```c
int main() {
  printf("Hello world !\n");
  return 0;
}
```
user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<print_help>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  mov    %rdi,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    %rax,%rsi
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  nop
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D3
type: string

tool: D3: DLN (DeltaFS) 0.1.0
by Patrick Stetter <chipmaster32@gmail.com>
Corey McClymonds <galeru@gmail.com>

Usage %s [options] SrcFile InFile

general options:
    -h   --help            print help
    -V   --version         print version

DLN options:
    -v   --verbose         verbose mode
    -s   --silent          silent mode
    -S   --safe            safe mode
    -o   --output          specify a different output file
    -a   --windowabs       specify a delta window absolute size
    -r   --windowrel       specify a delta window relative size


assistant: ```c
void print_help(const char *program_name) {
  printf("DLN (DeltaFS) "
         "0.1.0"
         "\n"
         "by Patrick Stetter <chipmaster32@gmail.com>\n"
         "Corey McClymonds <galeru@gmail.com>\n"
         "\n"
         "Usage %s [options] SrcFile InFile\n"
         "\n"
         "general options:\n"
         "    -h   --help            print help\n"
         "    -V   --version         print version\n"
         "\n"
         "DLN options:\n"
         "    -v   --verbose         verbose mode\n"
         "    -s   --silent          silent mode\n"
         "    -S   --safe            safe mode\n"
         "    -o   --output          specify a different output file\n"
         "    -a   --windowabs       specify a delta window absolute size\n"
         "    -r   --windowrel       specify a delta window relative size\n",
         program_name);
}
```
user: 这段汇编代码用C语言表示是什么样的:

```asm
<print_help>:
  endbr64
  sub    $0x8,%rsp
  mov    %rdi,%rsi
  lea    D1(%rip),%rdi
  call   <printf@plt>
  add    $0x8,%rsp
  ret
```

tool_calls: name: disassemble_data
arguments: label: D1
type: string

tool: D1: DLN (DeltaFS) 0.1.0
by Patrick Stetter <chipmaster32@gmail.com>
Corey McClymonds <galeru@gmail.com>

Usage %s [options] SrcFile InFile

general options:
    -h   --help            print help
    -V   --version         print version

DLN options:
    -v   --verbose         verbose mode
    -s   --silent          silent mode
    -S   --safe            safe mode
    -o   --output          specify a different output file
    -a   --windowabs       specify a delta window absolute size
    -r   --windowrel       specify a delta window relative size


assistant: ```c
void print_help(const char *program_name) {
  printf("DLN (DeltaFS) "
         "0.1.0"
         "\n"
         "by Patrick Stetter <chipmaster32@gmail.com>\n"
         "Corey McClymonds <galeru@gmail.com>\n"
         "\n"
         "Usage %s [options] SrcFile InFile\n"
         "\n"
         "general options:\n"
         "    -h   --help            print help\n"
         "    -V   --version         print version\n"
         "\n"
         "DLN options:\n"
         "    -v   --verbose         verbose mode\n"
         "    -s   --silent          silent mode\n"
         "    -S   --safe            safe mode\n"
         "    -o   --output          specify a different output file\n"
         "    -a   --windowabs       specify a delta window absolute size\n"
         "    -r   --windowrel       specify a delta window relative size\n",
         program_name);
}
```
user: Demonstrate the C code that generates the assembly output below:

```asm
<print_help>:
  endbr64
  mov    %rdi,%rsi
  lea    D2(%rip),%rdi
  jmp    1050 <printf@plt>
```

tool_calls: name: retrieve_data
arguments: data_label: D2
type_infered: string

tool: D2: DLN (DeltaFS) 0.1.0
by Patrick Stetter <chipmaster32@gmail.com>
Corey McClymonds <galeru@gmail.com>

Usage %s [options] SrcFile InFile

general options:
    -h   --help            print help
    -V   --version         print version

DLN options:
    -v   --verbose         verbose mode
    -s   --silent          silent mode
    -S   --safe            safe mode
    -o   --output          specify a different output file
    -a   --windowabs       specify a delta window absolute size
    -r   --windowrel       specify a delta window relative size


assistant: ```c
void print_help(const char *program_name) {
  printf("DLN (DeltaFS) "
         "0.1.0"
         "\n"
         "by Patrick Stetter <chipmaster32@gmail.com>\n"
         "Corey McClymonds <galeru@gmail.com>\n"
         "\n"
         "Usage %s [options] SrcFile InFile\n"
         "\n"
         "general options:\n"
         "    -h   --help            print help\n"
         "    -V   --version         print version\n"
         "\n"
         "DLN options:\n"
         "    -v   --verbose         verbose mode\n"
         "    -s   --silent          silent mode\n"
         "    -S   --safe            safe mode\n"
         "    -o   --output          specify a different output file\n"
         "    -a   --windowabs       specify a delta window absolute size\n"
         "    -r   --windowrel       specify a delta window relative size\n",
         program_name);
}
```
user: Converte this assembly snippet into its equivalent C code:

```asm
<print_help>:
  endbr64
  mov    %rdi,%rsi
  lea    D4(%rip),%rdi
  jmp    1050 <printf@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D4
type: string

tool: D4: DLN (DeltaFS) 0.1.0
by Patrick Stetter <chipmaster32@gmail.com>
Corey McClymonds <galeru@gmail.com>

Usage %s [options] SrcFile InFile

general options:
    -h   --help            print help
    -V   --version         print version

DLN options:
    -v   --verbose         verbose mode
    -s   --silent          silent mode
    -S   --safe            safe mode
    -o   --output          specify a different output file
    -a   --windowabs       specify a delta window absolute size
    -r   --windowrel       specify a delta window relative size


assistant: ```c
void print_help(const char *program_name) {
  printf("DLN (DeltaFS) "
         "0.1.0"
         "\n"
         "by Patrick Stetter <chipmaster32@gmail.com>\n"
         "Corey McClymonds <galeru@gmail.com>\n"
         "\n"
         "Usage %s [options] SrcFile InFile\n"
         "\n"
         "general options:\n"
         "    -h   --help            print help\n"
         "    -V   --version         print version\n"
         "\n"
         "DLN options:\n"
         "    -v   --verbose         verbose mode\n"
         "    -s   --silent          silent mode\n"
         "    -S   --safe            safe mode\n"
         "    -o   --output          specify a different output file\n"
         "    -a   --windowabs       specify a delta window absolute size\n"
         "    -r   --windowrel       specify a delta window relative size\n",
         program_name);
}
```
user: What is the c source code of the assembly code below:

```asm
<tokenize>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  movq   $0x0,-0x18(%rbp)
  movl   $0x0,-0x1c(%rbp)
  cmpq   $0x0,-0x38(%rbp)
  je     L88
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L19
L88:
  mov    -0x28(%rbp),%rax
  jmp    L127
L19:
  mov    $0x1,%esi
  mov    $0x100,%edi
  call   <calloc@plt>
  mov    %rax,-0x10(%rbp)
L118:
  mov    -0x30(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbq %al,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x18(%rbp),%rax
  cmp    -0x38(%rbp),%rax
  ja     L4
  cmpq   $0xfe,-0x18(%rbp)
  jbe    L48
L4:
  movl   $0x1,-0x1c(%rbp)
  jmp    L26
L48:
  cmpq   $0x20,-0x8(%rbp)
  je     L83
  cmpq   $0x9,-0x8(%rbp)
  je     L83
  cmpq   $0xa,-0x8(%rbp)
  sete   %dl
  cmpq   $0xd,-0x8(%rbp)
  sete   %al
  or     %edx,%eax
  test   %al,%al
  je     L94
L83:
  addq   $0x1,-0x18(%rbp)
  movl   $0x1,-0x1c(%rbp)
  jmp    L26
L94:
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%rdx
  mov    %dl,(%rax)
  addq   $0x1,-0x18(%rbp)
L26:
  cmpl   $0x0,-0x1c(%rbp)
  je     L118
  cmpq   $0x1,-0x18(%rbp)
  jbe    L112
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <make_sym@plt>
  mov    %eax,%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <append_Cell@plt>
  mov    %rax,-0x28(%rbp)
  jmp    L68
L112:
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
L68:
  mov    -0x38(%rbp),%rax
  sub    -0x18(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x30(%rbp),%rcx
  mov    -0x18(%rbp),%rax
  add    %rax,%rcx
  mov    -0x28(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <tokenize>
  mov    %rax,-0x28(%rbp)
  mov    -0x28(%rbp),%rax
L127:
  leave
  ret
```

assistant: ```c
struct cell *tokenize(struct cell *head, char *fullstring, int32_t size) {
  int32_t c;
  int32_t i = 0;
  bool done = false;
  if ((0 >= size) || (0 == fullstring[0])) {
    return head;
  }
  char *store = calloc(255 + 1, sizeof(char));
  do {
    c = fullstring[i];
    if ((i > size) || (255 <= i)) {
      done = true;
    } else {
      if ((' ' == c) || ('\t' == c) || ('\n' == c) | ('\r' == c)) {
        i = i + 1;
        done = true;
      } else {
        store[i] = c;
        i = i + 1;
      }
    }
  } while (!done);
  if (i > 1) {
    head = append_Cell(head, make_sym(store));
  } else {
    free(store);
  }
  head = tokenize(head, (fullstring + i), (size - i));
  return head;
}
```
user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<tokenize>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%rbp
  test   %rdx,%rdx
  je     L21
  mov    %rsi,%rbx
  mov    %rdx,%r12
  cmpb   $0x0,(%rsi)
  jne    L40
L21:
  mov    %rbp,%rax
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L40:
  mov    $0x1,%esi
  mov    $0x100,%edi
  call   <calloc@plt>
  mov    %rax,%rdi
  movzbl (%rbx),%esi
  mov    $0xfe,%r8d
  cmp    %r8,%r12
  cmovbe %r12,%r8
  lea    0x1(%r8),%r13
  mov    $0x0,%ecx
  movabs $0x100002600,%rax
  jmp    L3
L22:
  mov    %sil,(%rdi,%rcx,1)
  lea    0x1(%rcx),%rdx
  movzbl 0x1(%rbx,%rcx,1),%esi
  cmp    %rcx,%r8
  je     L54
  mov    %rdx,%rcx
L3:
  cmp    $0x20,%sil
  ja     L22
  bt     %rsi,%rax
  jae    L22
  lea    0x1(%rcx),%r13
  cmp    $0x1,%r13
  ja     L54
  call   <free@plt>
  jmp    L51
L54:
  call   <make_sym@plt>
  mov    %eax,%esi
  mov    %rbp,%rdi
  call   <append_Cell@plt>
  mov    %rax,%rbp
L51:
  mov    %r12,%rdx
  sub    %r13,%rdx
  lea    (%rbx,%r13,1),%rsi
  mov    %rbp,%rdi
  call   <tokenize>
  mov    %rax,%rbp
  jmp    L21
```

assistant: ```c
struct cell *tokenize(struct cell *head, char *fullstring, int32_t size) {
  int32_t c;
  int32_t i = 0;
  bool done = false;
  if ((0 >= size) || (0 == fullstring[0])) {
    return head;
  }
  char *store = calloc(255 + 1, sizeof(char));
  do {
    c = fullstring[i];
    if ((i > size) || (255 <= i)) {
      done = true;
    } else {
      if ((' ' == c) || ('\t' == c) || ('\n' == c) | ('\r' == c)) {
        i = i + 1;
        done = true;
      } else {
        store[i] = c;
        i = i + 1;
      }
    }
  } while (!done);
  if (i > 1) {
    head = append_Cell(head, make_sym(store));
  } else {
    free(store);
  }
  head = tokenize(head, (fullstring + i), (size - i));
  return head;
}
```