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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  push   %rbp
  xor    %ebp,%ebp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x78,%rsp
  mov    D4(%rip),%r12
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x8(%rsp)
  lea    0x40(%rsp),%r15
  lea    0x10(%rsp),%r14
  nopw   0x0(%rax,%rax,1)
L130:
  xor    %eax,%eax
  call   <getchar@plt>
  cmp    %al,(%r12)
  je     L21
L72:
  cmp    $0xa,%al
  je     L93
  cmp    $0x20,%al
  je     L7
  cmp    $0x9,%al
  je     L7
  movslq %r13d,%r8
  add    $0x1,%ebx
  lea    0x1(%r13),%r9d
  mov    %al,0x10(%rsp,%r8,1)
  cmp    $0x27,%ebx
  jle    L19
  cmp    $0x27,%r9d
  jg     L4
  mov    0x8(%rsp),%eax
  mov    %r9d,%r13d
  xor    %ebp,%ebp
  test   %eax,%eax
  jne    L130
  mov    $0xa,%edi
  mov    %r13d,%ebx
  call   <putchar@plt>
  jmp    L130
  nopw   0x0(%rax,%rax,1)
L7:
  lea    0x1(%rbx),%edx
  and    $0xfffffff8,%ebx
  add    $0x8,%ebx
  cmp    $0x20,%al
  cmove  %edx,%ebx
  cmp    $0x27,%ebp
  jg     L13
  movslq %ebp,%rdx
  add    $0x1,%ebp
  mov    %al,0x40(%rsp,%rdx,1)
L13:
  mov    %r13d,%esi
  mov    %r14,%rdi
  xor    %r13d,%r13d
  call   <print_array@plt>
  xor    %eax,%eax
  movl   $0x0,0x8(%rsp)
  call   <getchar@plt>
  cmp    %al,(%r12)
  jne    L72
L21:
  mov    %ebp,%esi
  mov    %r15,%rdi
  call   <print_array@plt>
  mov    %r13d,%esi
  mov    %r14,%rdi
  call   <print_array@plt>
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L90
  add    $0x78,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L93:
  mov    %ebp,%esi
  mov    %r15,%rdi
  xor    %ebx,%ebx
  xor    %ebp,%ebp
  call   <print_array@plt>
  mov    %r13d,%esi
  mov    %r14,%rdi
  xor    %r13d,%r13d
  call   <print_array@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  movl   $0x0,0x8(%rsp)
  jmp    L130
  nopl   0x0(%rax,%rax,1)
L19:
  mov    %ebp,%esi
  mov    %r15,%rdi
  mov    %r9d,0xc(%rsp)
  xor    %ebp,%ebp
  call   <print_array@plt>
  mov    0xc(%rsp),%r13d
  jmp    L130
  nopl   0x0(%rax,%rax,1)
L4:
  mov    %r9d,%esi
  mov    %r14,%rdi
  xor    %ebp,%ebp
  xor    %r13d,%r13d
  call   <print_array@plt>
  movl   $0x1,0x8(%rsp)
  jmp    L130
L90:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int main(void) {
  char c;
  char word[40];
  char blanks[40];
  int word_len, blanks_len;
  int column;
  int long_word;
  column = 0;
  word_len = 0;
  blanks_len = 0;
  long_word = 0;
  while ((c = getchar()) != EOF) {
    if (c == '\n') {
      print_array(blanks, blanks_len);
      print_array(word, word_len);
      putchar(c);
      column = 0;
      word_len = 0;
      blanks_len = 0;
      long_word = 0;
    } else if (c == ' ' || c == '\t') {
      if (c == ' ')
        ++column;
      else
        column += 8 - column % 8;
      if (blanks_len < 40)
        blanks[blanks_len++] = c;
      print_array(word, word_len);
      word_len = 0;
      long_word = 0;
    } else {
      ++column;
      word[word_len++] = c;
      if (column < 40) {
        print_array(blanks, blanks_len);
        blanks_len = 0;
      } else {
        if (word_len < 40) {
          if (!long_word) {
            putchar('\n');
            column = word_len;
          }
        } else {
          print_array(word, word_len);
          word_len = 0;
          long_word = 1;
        }
        blanks_len = 0;
      }
    }
  }
  print_array(blanks, blanks_len);
  print_array(word, word_len);
  return 0;
}
```