user: Converte this assembly snippet into its equivalent C code:

```asm
<make_window8>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x8(%rbp)
  mov    %esi,-0xc(%rbp)
  mov    %edx,-0x10(%rbp)
  mov    %rcx,-0x18(%rbp)
  mov    %r8d,%eax
  mov    %al,-0x1c(%rbp)
  mov    -0xc(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0xc(%rbp),%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x0
  mov    %edx,%r9d
  mov    $0x0,%r8d
  mov    $0x0,%ecx
  mov    $0x8,%edx
  mov    %rax,%rdi
  call   <boxfill8@plt>
  add    $0x10,%rsp
  mov    -0xc(%rbp),%eax
  lea    -0x2(%rax),%edx
  mov    -0xc(%rbp),%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x1
  mov    %edx,%r9d
  mov    $0x1,%r8d
  mov    $0x1,%ecx
  mov    $0x7,%edx
  mov    %rax,%rdi
  call   <boxfill8@plt>
  add    $0x10,%rsp
  mov    -0x10(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0xc(%rbp),%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   %rdx
  mov    $0x0,%r9d
  mov    $0x0,%r8d
  mov    $0x0,%ecx
  mov    $0x8,%edx
  mov    %rax,%rdi
  call   <boxfill8@plt>
  add    $0x10,%rsp
  mov    -0x10(%rbp),%eax
  lea    -0x2(%rax),%edx
  mov    -0xc(%rbp),%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   %rdx
  mov    $0x1,%r9d
  mov    $0x1,%r8d
  mov    $0x1,%ecx
  mov    $0x7,%edx
  mov    %rax,%rdi
  call   <boxfill8@plt>
  add    $0x10,%rsp
  mov    -0x10(%rbp),%eax
  lea    -0x2(%rax),%ecx
  mov    -0xc(%rbp),%eax
  lea    -0x2(%rax),%edi
  mov    -0xc(%rbp),%eax
  lea    -0x2(%rax),%edx
  mov    -0xc(%rbp),%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   %rcx
  mov    %edi,%r9d
  mov    $0x1,%r8d
  mov    %edx,%ecx
  mov    $0xf,%edx
  mov    %rax,%rdi
  call   <boxfill8@plt>
  add    $0x10,%rsp
  mov    -0x10(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0xc(%rbp),%eax
  lea    -0x1(%rax),%edi
  mov    -0xc(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0xc(%rbp),%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   %rcx
  mov    %edi,%r9d
  mov    $0x0,%r8d
  mov    %edx,%ecx
  mov    $0x0,%edx
  mov    %rax,%rdi
  call   <boxfill8@plt>
  add    $0x10,%rsp
  mov    -0x10(%rbp),%eax
  lea    -0x3(%rax),%edx
  mov    -0xc(%rbp),%eax
  lea    -0x3(%rax),%ecx
  mov    -0xc(%rbp),%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   %rdx
  mov    %ecx,%r9d
  mov    $0x2,%r8d
  mov    $0x2,%ecx
  mov    $0x8,%edx
  mov    %rax,%rdi
  call   <boxfill8@plt>
  add    $0x10,%rsp
  mov    -0x10(%rbp),%eax
  lea    -0x2(%rax),%edx
  mov    -0xc(%rbp),%eax
  lea    -0x2(%rax),%edi
  mov    -0x10(%rbp),%eax
  lea    -0x2(%rax),%ecx
  mov    -0xc(%rbp),%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   %rdx
  mov    %edi,%r9d
  mov    %ecx,%r8d
  mov    $0x1,%ecx
  mov    $0xf,%edx
  mov    %rax,%rdi
  call   <boxfill8@plt>
  add    $0x10,%rsp
  mov    -0x10(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0xc(%rbp),%eax
  lea    -0x1(%rax),%edi
  mov    -0x10(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0xc(%rbp),%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   %rdx
  mov    %edi,%r9d
  mov    %ecx,%r8d
  mov    $0x0,%ecx
  mov    $0x0,%edx
  mov    %rax,%rdi
  call   <boxfill8@plt>
  add    $0x10,%rsp
  movsbl -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0xc(%rbp),%esi
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <make_wtitle8@plt>
  nop
  leave
  ret
```

assistant: ```c
void make_window8(unsigned char *buf, int xsize, int ysize, char *title, char act) {
  boxfill8(buf, xsize, 8, 0, 0, xsize - 1, 0);
  boxfill8(buf, xsize, 7, 1, 1, xsize - 2, 1);
  boxfill8(buf, xsize, 8, 0, 0, 0, ysize - 1);
  boxfill8(buf, xsize, 7, 1, 1, 1, ysize - 2);
  boxfill8(buf, xsize, 15, xsize - 2, 1, xsize - 2, ysize - 2);
  boxfill8(buf, xsize, 0, xsize - 1, 0, xsize - 1, ysize - 1);
  boxfill8(buf, xsize, 8, 2, 2, xsize - 3, ysize - 3);
  boxfill8(buf, xsize, 15, 1, ysize - 2, xsize - 2, ysize - 2);
  boxfill8(buf, xsize, 0, 0, ysize - 1, xsize - 1, ysize - 1);
  make_wtitle8(buf, xsize, title, act);
  return;
}
```