user: 这段汇编代码用C语言表示是什么样的？

```asm
<PrintAlign>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  mov    %rcx,%r14
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  mov    %r9,%r12
  push   %rbx
  mov    %edx,%ebx
  sub    $0x48,%rsp
  mov    0x10(%rbp),%eax
  mov    %r8d,-0x5c(%rbp)
  mov    %r9,-0x68(%rbp)
  mov    0x18(%rbp),%r15
  mov    %edi,-0x50(%rbp)
  mov    %r13d,%edi
  mov    %esi,-0x54(%rbp)
  mov    %r15,%rsi
  mov    %eax,-0x58(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <va_start@plt>
  mov    %r13d,%ecx
  mov    %r14,%rdx
  xor    %esi,%esi
  xor    %edi,%edi
  call   <vsnprintf@plt>
  mov    %r12,%rdx
  mov    %r13d,%ecx
  xor    %esi,%esi
  xor    %edi,%edi
  mov    %eax,-0x44(%rbp)
  call   <vsnprintf@plt>
  mov    %r13d,%ecx
  mov    %r15,%rdx
  xor    %esi,%esi
  xor    %edi,%edi
  mov    %eax,%r12d
  call   <vsnprintf@plt>
  mov    %r13d,%edi
  mov    %eax,-0x48(%rbp)
  call   <va_end@plt>
  mov    %r12d,%edx
  mov    -0x44(%rbp),%ecx
  shr    $0x1f,%edx
  mov    %edx,%eax
  mov    %ebx,%edx
  add    %r12d,%eax
  shr    $0x1f,%edx
  sar    %eax
  add    %ebx,%edx
  sar    %edx
  add    %eax,%ecx
  cmp    %edx,%ecx
  jg     L102
  add    -0x48(%rbp),%eax
  cmp    %eax,%edx
  jge    L49
L102:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L189
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   0x0(%rax,%rax,1)
L49:
  mov    -0x54(%rbp),%esi
  mov    -0x50(%rbp),%edi
  call   <move@plt>
  mov    %r15,%rsi
  mov    %r13d,%edi
  call   <va_start@plt>
  mov    -0x44(%rbp),%ecx
  mov    %rsp,%r8
  lea    0x1(%rcx),%esi
  mov    %rsp,%rcx
  movslq %esi,%rax
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L105
L8:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L8
L105:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L182
L43:
  xor    %ecx,%ecx
  mov    %r14,%rdx
  mov    %rsp,%rdi
  sub    %r12d,%ebx
  mov    %r8,-0x50(%rbp)
  call   <vsnprintf@plt>
  mov    %rsp,%rdi
  call   <addstr@plt>
  mov    %ebx,%eax
  mov    -0x50(%rbp),%rsp
  movsbl -0x5c(%rbp),%r14d
  shr    $0x1f,%eax
  mov    %ebx,-0x50(%rbp)
  add    %ebx,%eax
  sar    %eax
  mov    %eax,-0x54(%rbp)
  sub    -0x44(%rbp),%eax
  mov    %eax,%ebx
  je     L27
L178:
  mov    %r14d,%edi
  call   <addch@plt>
  sub    $0x1,%ebx
  jne    L178
L27:
  lea    0x1(%r12),%esi
  mov    %rsp,%rcx
  mov    %rsp,%rbx
  movslq %esi,%rax
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L208
L94:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L94
L208:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L2
L213:
  mov    -0x68(%rbp),%rdx
  mov    %rsp,%rdi
  xor    %ecx,%ecx
  call   <vsnprintf@plt>
  mov    %rsp,%rdi
  call   <addstr@plt>
  mov    %rbx,%rsp
  mov    -0x54(%rbp),%eax
  sub    -0x48(%rbp),%eax
  testb  $0x1,-0x50(%rbp)
  jne    L125
  lea    -0x1(%rax),%ebx
  mov    %eax,%edx
L73:
  movsbl -0x58(%rbp),%r12d
  test   %edx,%edx
  je     L3
  nopw   0x0(%rax,%rax,1)
L170:
  mov    %r12d,%edi
  call   <addch@plt>
  sub    $0x1,%ebx
  jae    L170
L3:
  mov    -0x48(%rbp),%esi
  mov    %rsp,%rcx
  mov    %rsp,%rbx
  add    $0x1,%esi
  movslq %esi,%rax
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L155
L77:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L77
L155:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L81
L14:
  mov    %rsp,%rdi
  xor    %ecx,%ecx
  mov    %r15,%rdx
  call   <vsnprintf@plt>
  mov    %rsp,%rdi
  call   <addstr@plt>
  mov    %rbx,%rsp
  jmp    L102
  nopl   (%rax)
L125:
  lea    0x1(%rax),%edx
  mov    %eax,%ebx
  jmp    L73
  nopw   0x0(%rax,%rax,1)
L81:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L14
  nopl   0x0(%rax,%rax,1)
L2:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L213
  nopl   0x0(%rax,%rax,1)
L182:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L43
L189:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void PrintAlign(int Row, int Col, int Width, const char *Left, char Pad1, const char *Mid, char Pad2, const char *Right, ...) {
  int lLen, mLen, rLen;
  int times;
  va_list args;
  va_start(args, Right);
  lLen = vsnprintf(NULL, 0, Left, args);
  mLen = vsnprintf(NULL, 0, Mid, args);
  rLen = vsnprintf(NULL, 0, Right, args);
  va_end(args);
  if (lLen + mLen / 2 > Width / 2 || mLen / 2 + rLen > Width / 2) {
    return;
  }
  move(Row, Col);
  va_start(args, Right);
  {
    char tmp[lLen + 1];
    vsnprintf(tmp, lLen + 1, Left, args);
    addstr(tmp);
  }
  times = (Width - mLen) / 2 - lLen;
  while (times--)
    addch(Pad1);
  {
    char tmp[mLen + 1];
    vsnprintf(tmp, mLen + 1, Mid, args);
    addstr(tmp);
  }
  times = (Width - mLen) / 2 - rLen;
  if ((Width - mLen) % 2)
    times++;
  while (times--)
    addch(Pad2);
  {
    char tmp[rLen + 1];
    vsnprintf(tmp, rLen + 1, Right, args);
    addstr(tmp);
  }
}
```