user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  add    $0xffffffffffffff80,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  lea    D135(%rip),%rax
  mov    %rax,0x20(%rsp)
  lea    D50(%rip),%rax
  mov    %rax,0x28(%rsp)
  lea    D161(%rip),%rax
  mov    %rax,0x30(%rsp)
  movq   $0x0,0x38(%rsp)
  lea    D122(%rip),%rdx
  mov    %rdx,(%rsp)
  mov    %rax,0x8(%rsp)
  movq   $0x0,0x10(%rsp)
  lea    D120(%rip),%rcx
  mov    %rcx,0x40(%rsp)
  lea    D131(%rip),%rdx
  mov    %rdx,0x48(%rsp)
  lea    D159(%rip),%rcx
  mov    %rcx,0x50(%rsp)
  mov    %rax,0x58(%rsp)
  lea    D111(%rip),%rax
  mov    %rax,0x60(%rsp)
  movq   $0x0,0x68(%rsp)
  lea    0x20(%rsp),%rbx
  mov    %rbx,%rdi
  call   <strv_length@plt>
  cmp    $0xb,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    %rsp,%rbp
  mov    %rbp,%rdi
  call   <strv_length@plt>
  cmp    $0xc,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    %rbx,%rsi
  lea    D91(%rip),%rdi
  call   <strjoinv@plt>
  mov    %rax,%r12
  lea    D13(%rip),%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    %r12,%rdi
  call   <free@plt>
  mov    %rbx,%rsi
  lea    D52(%rip),%rdi
  call   <strjoinv@plt>
  mov    %rax,%r12
  lea    D11(%rip),%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    %r12,%rdi
  call   <free@plt>
  mov    %rbx,%rsi
  lea    D123(%rip),%r12
  mov    %r12,%rdi
  call   <strjoinv@plt>
  mov    %rax,%rbx
  lea    D144(%rip),%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  lea    0x40(%rsp),%rsi
  lea    D151(%rip),%rdi
  call   <strjoinv@plt>
  mov    %rax,%rbx
  lea    D58(%rip),%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <strjoinv@plt>
  mov    %rax,%rbx
  lea    D141(%rip),%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  mov    %rbp,%rdi
  call   <strv_copy@plt>
  mov    %rax,%rbx
  mov    %rax,%rdi
  call   <strv_length@plt>
  cmp    $0xc,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <strfreev@plt>
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  mov    $0x0,%eax
  sub    $0xffffffffffffff80,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L0:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D135
data_type: string
name: unpack_data
arguments: data_label: D50
data_type: string
name: unpack_data
arguments: data_label: D161
data_type: string
name: unpack_data
arguments: data_label: D122
data_type: string
name: unpack_data
arguments: data_label: D120
data_type: string
name: unpack_data
arguments: data_label: D131
data_type: string
name: unpack_data
arguments: data_label: D159
data_type: string
name: unpack_data
arguments: data_label: D111
data_type: string
name: unpack_data
arguments: data_label: D91
data_type: string
name: unpack_data
arguments: data_label: D13
data_type: string
name: unpack_data
arguments: data_label: D52
data_type: string
name: unpack_data
arguments: data_label: D11
data_type: string
name: unpack_data
arguments: data_label: D123
data_type: string
name: unpack_data
arguments: data_label: D144
data_type: string
name: unpack_data
arguments: data_label: D151
data_type: string
name: unpack_data
arguments: data_label: D58
data_type: string
name: unpack_data
arguments: data_label: D141
data_type: string

tool: D135: a

tool: D50: simple

tool: D161: test

tool: D122: another


tool: D120: one

tool: D131: more

tool: D159: long

tool: D111: array

tool: 

tool: D13: asimpletest

tool: D52:  

tool: D11: a simple test

tool: D123: 


tool: D144: a
simple
test

tool: D151: -->

tool: D58: one-->more-->long-->test-->array

tool: D141: another

test

assistant: ```c
int main() {
  char *test0[] = {"a", "simple", "test", NULL};
  char *test1[] = {"another\n", "test", NULL};
  char *test2[] = {"one", "more", "long", "test", "array", NULL};
  char **p_test0 = (char **)&test0;
  char **p_test1 = (char **)&test1;
  assert(11 == strv_length(p_test0));
  assert(12 == strv_length(p_test1));
  char *res = strjoinv("", test0);
  assert(0 == strcmp(res, "asimpletest"));
  free(res);
  res = strjoinv(" ", test0);
  assert(0 == strcmp(res, "a simple test"));
  free(res);
  res = strjoinv("\n", test0);
  assert(0 == strcmp(res, "a\nsimple\ntest"));
  free(res);
  res = strjoinv("-->", test2);
  assert(0 == strcmp(res, "one-->more-->long-->test-->array"));
  free(res);
  res = strjoinv("\n", test1);
  assert(0 == strcmp(res, "another\n\ntest"));
  free(res);
  char **cp = NULL;
  cp = strv_copy(p_test1);
  assert(12 == strv_length(cp));
  strfreev(cp);
  return 0;
}
```