user: 请从给定的汇编指令推导出C源代码:

```asm
<make_window8>:
  endbr64
  push   %r15
  mov    %r8d,%eax
  push   %r14
  lea    -0x1(%rsi),%r14d
  push   %r13
  mov    %r14d,%r9d
  mov    %esi,%r13d
  push   %r12
  push   %rbp
  mov    %edx,%ebp
  mov    $0x8,%edx
  push   %rbx
  mov    %rdi,%rbx
  lea    -0x2(%rbp),%r15d
  sub    $0x30,%rsp
  neg    %al
  sbb    %r11d,%r11d
  mov    %rcx,0x18(%rsp)
  add    $0x8,%r11d
  cmp    $0x1,%r8b
  mov    %r11d,0x24(%rsp)
  sbb    %r12d,%r12d
  xor    %r8d,%r8d
  xor    %ecx,%ecx
  push   $0x0
  xor    %eax,%eax
  and    $0x3,%r12d
  add    $0xc,%r12d
  call   <boxfill8@plt>
  lea    -0x2(%r13),%r10d
  mov    %rbx,%rdi
  mov    %r13d,%esi
  mov    %r10d,%r9d
  mov    $0x1,%r8d
  mov    $0x1,%ecx
  xor    %eax,%eax
  mov    $0x7,%edx
  mov    %r10d,0x28(%rsp)
  movl   $0x1,(%rsp)
  call   <boxfill8@plt>
  lea    -0x1(%rbp),%eax
  xor    %r9d,%r9d
  xor    %r8d,%r8d
  mov    %eax,(%rsp)
  xor    %ecx,%ecx
  mov    %rbx,%rdi
  mov    $0x8,%edx
  mov    %eax,0x1c(%rsp)
  mov    %r13d,%esi
  xor    %eax,%eax
  sub    $0x3,%ebp
  call   <boxfill8@plt>
  mov    %rbx,%rdi
  mov    $0x1,%r9d
  xor    %eax,%eax
  mov    $0x1,%r8d
  mov    $0x1,%ecx
  mov    $0x7,%edx
  mov    %r13d,%esi
  mov    %r15d,(%rsp)
  call   <boxfill8@plt>
  mov    0x28(%rsp),%r10d
  mov    %rbx,%rdi
  mov    %r13d,%esi
  mov    $0x1,%r8d
  mov    $0xf,%edx
  xor    %eax,%eax
  mov    %r15d,(%rsp)
  mov    %r10d,%r9d
  mov    %r10d,%ecx
  call   <boxfill8@plt>
  mov    0x1c(%rsp),%eax
  xor    %r8d,%r8d
  xor    %edx,%edx
  mov    %rbx,%rdi
  mov    %r14d,%r9d
  mov    %r14d,%ecx
  mov    %r13d,%esi
  mov    %eax,(%rsp)
  xor    %eax,%eax
  call   <boxfill8@plt>
  mov    %rbx,%rdi
  lea    -0x3(%r13),%r9d
  mov    %r13d,%esi
  mov    $0x2,%r8d
  mov    $0x2,%ecx
  xor    %eax,%eax
  mov    %ebp,(%rsp)
  mov    $0x8,%edx
  call   <boxfill8@plt>
  mov    %rbx,%rdi
  lea    -0x4(%r13),%r9d
  mov    %r12d,%edx
  mov    $0x3,%r8d
  mov    $0x3,%ecx
  mov    %r13d,%esi
  xor    %eax,%eax
  movl   $0x14,(%rsp)
  call   <boxfill8@plt>
  mov    0x28(%rsp),%r9d
  mov    %rbx,%rdi
  mov    %r15d,%r8d
  mov    $0x1,%ecx
  mov    $0xf,%edx
  mov    %r13d,%esi
  xor    %eax,%eax
  mov    %r15d,(%rsp)
  call   <boxfill8@plt>
  mov    0x1c(%rsp),%eax
  mov    %rbx,%rdi
  mov    %r14d,%r9d
  xor    %ecx,%ecx
  xor    %edx,%edx
  mov    %r13d,%esi
  mov    %eax,(%rsp)
  mov    %eax,%r8d
  xor    %eax,%eax
  call   <boxfill8@plt>
  mov    0x2c(%rsp),%r8d
  mov    %rbx,%rdi
  mov    %r13d,%esi
  mov    0x20(%rsp),%r9
  mov    $0x4,%ecx
  mov    $0x18,%edx
  xor    %eax,%eax
  call   <putfonts8_asc@plt>
  lea    0x0(%r13,%r13,4),%eax
  movslq %r13d,%r8
  lea    D9(%rip),%rdi
  cltq
  lea    0xe0(%rdi),%rsi
  mov    $0x4f,%ecx
  add    %r8,%rax
  add    %rax,%rbx
  pop    %rax
  pop    %rdx
  nopw   0x0(%rax,%rax,1)
L30:
  xor    %eax,%eax
  jmp    L26
  nopl   0x0(%rax)
L20:
  movzbl (%rdi,%rax,1),%ecx
L26:
  xor    %edx,%edx
  cmp    $0x40,%cl
  je     L45
  mov    $0xf,%edx
  cmp    $0x24,%cl
  je     L45
  cmp    $0x51,%cl
  sete   %dl
  add    $0x7,%edx
L45:
  mov    %dl,-0x15(%rbx,%rax,1)
  add    $0x1,%rax
  cmp    $0x10,%rax
  jne    L20
  add    $0x10,%rdi
  add    %r8,%rbx
  cmp    %rsi,%rdi
  je     L28
  movzbl (%rdi),%ecx
  jmp    L30
L28:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void make_window8(unsigned char *buf, int xsize, int ysize, char *title, char act) {
  static char closebtn[14][16] = {"OOOOOOOOOOOOOOO@", "OQQQQQQQQQQQQQ$@", "OQQQQQQQQQQQQQ$@", "OQQQ@@QQQQ@@QQ$@", "OQQQQ@@QQ@@QQQ$@", "OQQQQQ@@@@QQQQ$@", "OQQQQQQ@@QQQQQ$@", "OQQQQQ@@@@QQQQ$@", "OQQQQ@@QQ@@QQQ$@", "OQQQ@@QQQQ@@QQ$@", "OQQQQQQQQQQQQQ$@", "OQQQQQQQQQQQQQ$@", "O$$$$$$$$$$$$$$@", "@@@@@@@@@@@@@@@@"};
  int x, y;
  char c, tc, tbc;
  if (act != 0) {
    tc = 7;
    tbc = 12;
  } else {
    tc = 8;
    tbc = 15;
  }
  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, tbc, 3, 3, xsize - 4, 20);
  boxfill8(buf, xsize, 15, 1, ysize - 2, xsize - 2, ysize - 2);
  boxfill8(buf, xsize, 0, 0, ysize - 1, xsize - 1, ysize - 1);
  putfonts8_asc(buf, xsize, 24, 4, tc, title);
  for (y = 0; y < 14; y++) {
    for (x = 0; x < 16; x++) {
      c = closebtn[y][x];
      if (c == '@') {
        c = 0;
      } else if (c == '$') {
        c = 15;
      } else if (c == 'Q') {
        c = 8;
      } else {
        c = 7;
      }
      buf[(5 + y) * xsize + (xsize - 21 + x)] = c;
    }
  }
  return;
}
```