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

```asm
<mkSetfragRequest>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0xf78,%rsp
  mov    %r8,0x10(%rsp)
  mov    %rsi,%rbp
  mov    $0x1a,%esi
  mov    %rdi,%r12
  mov    %rcx,0x8(%rsp)
  lea    0xfc0(%rsp),%r14
  mov    %rdx,0x18(%rsp)
  mov    $0x2,%edx
  mov    %fs:0x28,%rax
  mov    %rax,0x2f68(%rsp)
  xor    %eax,%eax
  call   <ccnl_ccnb_mkHeader@plt>
  mov    $0x2,%edx
  mov    $0xe,%esi
  movslq %eax,%rdi
  mov    %rdi,%rbx
  add    %r12,%rdi
  call   <ccnl_ccnb_mkHeader@plt>
  lea    D5(%rip),%rcx
  mov    $0x2,%edx
  mov    %r14,%rdi
  mov    $0xf,%esi
  add    %eax,%ebx
  call   <ccnl_ccnb_mkStrBlob@plt>
  mov    $0x2,%edx
  mov    $0xf,%esi
  lea    D2(%rip),%rcx
  movslq %eax,%rdi
  mov    %rax,%r13
  add    %r14,%rdi
  call   <ccnl_ccnb_mkStrBlob@plt>
  mov    $0x2,%edx
  mov    $0xf,%esi
  lea    D15(%rip),%rcx
  add    %eax,%r13d
  movslq %r13d,%rdi
  add    %r14,%rdi
  call   <ccnl_ccnb_mkStrBlob@plt>
  mov    $0x2,%edx
  mov    $0x50,%esi
  lea    0x0(%r13,%rax,1),%r15d
  mov    %r15d,0x4(%rsp)
  lea    0x7f0(%rsp),%r15
  mov    %r15,%rdi
  call   <ccnl_ccnb_mkHeader@plt>
  mov    $0x2,%edx
  mov    $0x49,%esi
  lea    D15(%rip),%rcx
  movslq %eax,%rdi
  mov    %rdi,%r13
  add    %r15,%rdi
  call   <ccnl_ccnb_mkStrBlob@plt>
  mov    %rbp,%rcx
  mov    $0x2,%edx
  mov    $0x4a,%esi
  add    %eax,%r13d
  movslq %r13d,%rdi
  add    %r15,%rdi
  call   <ccnl_ccnb_mkStrBlob@plt>
  mov    0x18(%rsp),%rcx
  mov    $0x2,%edx
  mov    $0x182bd,%esi
  lea    0x0(%r13,%rax,1),%ebp
  lea    0x20(%rsp),%r13
  movslq %ebp,%rdi
  add    %r15,%rdi
  call   <ccnl_ccnb_mkStrBlob@plt>
  mov    0x8(%rsp),%rcx
  mov    $0x2,%edx
  mov    $0x182c2,%esi
  add    %eax,%ebp
  movslq %ebp,%rdi
  add    %r15,%rdi
  call   <ccnl_ccnb_mkStrBlob@plt>
  mov    %r13,%rdi
  mov    $0x2,%edx
  mov    $0x40,%esi
  add    %eax,%ebp
  movslq %ebp,%rax
  movb   $0x0,0x7f0(%rsp,%rax,1)
  call   <ccnl_ccnb_mkHeader@plt>
  mov    %r15,%rcx
  lea    0x1(%rbp),%r8d
  mov    $0x2,%edx
  movslq %eax,%rdi
  mov    $0x13,%esi
  mov    %edi,0x8(%rsp)
  add    %r13,%rdi
  call   <ccnl_ccnb_mkBlob@plt>
  mov    0x8(%rsp),%r11d
  movslq 0x4(%rsp),%rdi
  mov    %r13,%rcx
  mov    $0xf,%esi
  add    %r11d,%eax
  mov    %rdi,%r15
  add    %r14,%rdi
  movslq %eax,%rdx
  lea    0x1(%rax),%r8d
  movb   $0x0,0x20(%rsp,%rdx,1)
  mov    $0x2,%edx
  call   <ccnl_ccnb_mkBlob@plt>
  mov    0x10(%rsp),%r9
  lea    (%r15,%rax,1),%r13d
  test   %r9,%r9
  je     L14
  movslq %ebx,%rdi
  mov    %r13d,%ecx
  mov    %r14,%rdx
  mov    %r9,%rsi
  add    %r12,%rdi
  call   <add_signature@plt>
  add    %eax,%ebx
L14:
  movslq %ebx,%rdi
  mov    %r13d,%edx
  add    %r13d,%ebx
  mov    %r14,%rsi
  add    %r12,%rdi
  call   <memcpy@plt>
  movslq %ebx,%rax
  movb   $0x0,(%r12,%rax,1)
  lea    0x1(%rbx),%eax
  cltq
  movb   $0x0,(%r12,%rax,1)
  lea    0x2(%rbx),%eax
  mov    0x2f68(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L8
  add    $0x2f78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L8:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D5
type_guessed: string
name: disassemble_data
arguments: data_label: D2
type_guessed: string
name: disassemble_data
arguments: data_label: D15
type_guessed: string

tool: D5: ccnx

tool: 

tool: D15: setfrag

assistant: ```c
int mkSetfragRequest(unsigned char *out, char *faceid, char *frag, char *mtu, char *private_key_path) {
  int len = 0, len1 = 0, len2 = 0, len3 = 0;
  unsigned char out1[8096];
  unsigned char contentobj[2000];
  unsigned char faceinst[2000];
  len = ccnl_ccnb_mkHeader(out, 26, 2);
  len += ccnl_ccnb_mkHeader(out + len, 14, 2);
  len1 += ccnl_ccnb_mkStrBlob(out1 + len1, 15, 2, "ccnx");
  len1 += ccnl_ccnb_mkStrBlob(out1 + len1, 15, 2, "");
  len1 += ccnl_ccnb_mkStrBlob(out1 + len1, 15, 2, "setfrag");
  len3 = ccnl_ccnb_mkHeader(faceinst, 80, 2);
  len3 += ccnl_ccnb_mkStrBlob(faceinst + len3, 73, 2, "setfrag");
  len3 += ccnl_ccnb_mkStrBlob(faceinst + len3, 74, 2, faceid);
  len3 += ccnl_ccnb_mkStrBlob(faceinst + len3, 99005, 2, frag);
  len3 += ccnl_ccnb_mkStrBlob(faceinst + len3, 99010, 2, mtu);
  faceinst[len3++] = 0;
  len2 = ccnl_ccnb_mkHeader(contentobj, 64, 2);
  len2 += ccnl_ccnb_mkBlob(contentobj + len2, 19, 2, (char *)faceinst, len3);
  contentobj[len2++] = 0;
  len1 += ccnl_ccnb_mkBlob(out1 + len1, 15, 2, (char *)contentobj, len2);
  if (private_key_path)
    len += add_signature(out + len, private_key_path, out1, len1);
  memcpy(out + len, out1, len1);
  len += len1;
  out[len++] = 0;
  out[len++] = 0;
  return len;
}
```