user: Translate the below assembly code into C programming language:

```asm
<mm_vprintf_box>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x98,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %esi,-0x6c(%rbp)
  mov    %edx,-0x70(%rbp)
  mov    %rcx,-0x78(%rbp)
  mov    %r8,-0x80(%rbp)
  mov    %r9,-0x88(%rbp)
  mov    0x10(%rbp),%rax
  mov    %rax,-0x90(%rbp)
  mov    0x18(%rbp),%rax
  mov    %rax,-0x98(%rbp)
  mov    0x20(%rbp),%rax
  mov    %rax,-0xa0(%rbp)
  mov    0x28(%rbp),%rax
  mov    %rax,-0xa8(%rbp)
  mov    0x30(%rbp),%rax
  mov    %rax,-0xb0(%rbp)
  mov    0x38(%rbp),%rax
  mov    %rax,-0xb8(%rbp)
  mov    0x40(%rbp),%rax
  mov    %rax,-0xc0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  mov    -0x70(%rbp),%edi
  mov    -0x90(%rbp),%rcx
  mov    -0x88(%rbp),%rdx
  mov    -0x80(%rbp),%rsi
  mov    -0x78(%rbp),%rax
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <mm_print_break@plt>
  mov    -0x6c(%rbp),%edx
  mov    -0x60(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <va_copy@plt>
  mov    -0x60(%rbp),%edx
  mov    -0x68(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <mm_vstrlenf@plt>
  mov    %eax,-0x5c(%rbp)
  cmpl   $0x0,-0x5c(%rbp)
  jns    L82
  mov    -0x60(%rbp),%eax
  mov    %eax,%edi
  call   <va_end@plt>
  mov    -0x70(%rbp),%edi
  mov    -0xc0(%rbp),%rcx
  mov    -0xb8(%rbp),%rdx
  mov    -0xb0(%rbp),%rsi
  mov    -0xa8(%rbp),%rax
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <mm_print_break@plt>
  mov    %rbx,%rsp
  jmp    L84
L82:
  mov    -0x5c(%rbp),%eax
  add    $0x1,%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x50(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  cltq
  mov    $0x10,%edx
  sub    $0x1,%rdx
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L15:
  cmp    %rdx,%rsp
  je     L7
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L15
L7:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L66
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L66:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x48(%rbp)
  mov    -0x60(%rbp),%edx
  mov    -0x68(%rbp),%rcx
  mov    -0x48(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <vsprintf@plt>
  mov    -0x60(%rbp),%eax
  mov    %eax,%edi
  call   <va_end@plt>
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x58(%rbp)
  movq   $0x0,-0x40(%rbp)
L12:
  mov    -0x58(%rbp),%rax
  mov    $0xa,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0x40(%rbp)
  cmpq   $0x0,-0x40(%rbp)
  je     L81
  mov    -0x40(%rbp),%rax
  movb   $0x0,(%rax)
L81:
  mov    -0x70(%rbp),%ecx
  mov    -0xa0(%rbp),%rdx
  mov    -0x98(%rbp),%rsi
  mov    -0x58(%rbp),%rax
  mov    %rax,%rdi
  call   <mm_print_centered@plt>
  cmpq   $0x0,-0x40(%rbp)
  je     L2
  mov    -0x40(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x58(%rbp)
  jmp    L12
L2:
  nop
  mov    -0x70(%rbp),%edi
  mov    -0xc0(%rbp),%rcx
  mov    -0xb8(%rbp),%rdx
  mov    -0xb0(%rbp),%rsi
  mov    -0xa8(%rbp),%rax
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <mm_print_break@plt>
  mov    %rbx,%rsp
L84:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L47
  call   <__stack_chk_fail@plt>
L47:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

assistant: ```c
void mm_vprintf_box(const char *format, va_list ap, unsigned int pad, const char *tl, const char *tv, const char *tm, const char *tr, const char *ml, const char *mr, const char *bl, const char *bv, const char *bm, const char *br) {
  int len;
  va_list aq;
  mm_print_break(tl, tv, tm, tr, pad);
  va_copy(aq, ap);
  len = mm_vstrlenf(format, aq);
  if (len < 0) {
    va_end(aq);
    mm_print_break(bl, bv, bm, br, pad);
    return;
  }
  char str[len + 1];
  vsprintf(str, format, aq);
  va_end(aq);
  for (char *line = str, *lb = NULL;; line = lb + 1) {
    lb = strchr(line, '\n');
    if (lb != NULL)
      *lb = '\0';
    mm_print_centered(line, ml, mr, pad);
    if (lb == NULL)
      break;
  }
  mm_print_break(bl, bv, bm, br, pad);
}
```