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

```asm
<put_rasterbar>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %edi,%ebx
  mov    %esi,%r12d
  mov    %rdx,%rbp
  lea    0x7(%rsi),%eax
  lea    -0x7(%rdi),%edx
  mov    %rbp,%r8
  mov    %eax,(%rsp)
  mov    %eax,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x6(%r12),%esi
  lea    -0x6(%rbx),%edx
  mov    %rbp,%r8
  mov    %esi,0x4(%rsp)
  mov    %esi,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x5(%r12),%edi
  lea    -0x5(%rbx),%edx
  mov    %rbp,%r8
  mov    %edi,0x8(%rsp)
  mov    %edi,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x4(%r12),%edx
  mov    %edx,%r9d
  lea    -0x4(%rbx),%edx
  mov    %rbp,%r8
  mov    %r9d,0xc(%rsp)
  mov    %r9d,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x3(%r12),%r13d
  lea    -0x3(%rbx),%edx
  mov    %rbp,%r8
  mov    %r13d,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x2(%r12),%r14d
  lea    -0x2(%rbx),%edx
  mov    %rbp,%r8
  mov    %r14d,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x1(%r12),%r15d
  lea    -0x1(%rbx),%edx
  mov    %rbp,%r8
  mov    %r15d,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  mov    %rbp,%r8
  mov    %r12d,%ecx
  mov    %ebx,%edx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x1(%rbx),%edx
  mov    %rbp,%r8
  mov    %r12d,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x2(%rbx),%edx
  mov    %rbp,%r8
  mov    %r15d,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x3(%rbx),%edx
  mov    %rbp,%r8
  mov    %r14d,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x4(%rbx),%edx
  mov    %rbp,%r8
  mov    %r13d,%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x5(%rbx),%edx
  mov    %rbp,%r8
  mov    0xc(%rsp),%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x6(%rbx),%edx
  mov    %rbp,%r8
  mov    0x8(%rsp),%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x7(%rbx),%edx
  mov    %rbp,%r8
  mov    0x4(%rsp),%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  lea    0x8(%rbx),%edx
  mov    %rbp,%r8
  mov    (%rsp),%ecx
  mov    $0x280,%esi
  mov    $0x0,%edi
  call   <vmwHlin@plt>
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void put_rasterbar(int y, int color, unsigned char *buffer) {
  vmwHlin(0, 640, y - 7, color + 7, buffer);
  vmwHlin(0, 640, y - 6, color + 6, buffer);
  vmwHlin(0, 640, y - 5, color + 5, buffer);
  vmwHlin(0, 640, y - 4, color + 4, buffer);
  vmwHlin(0, 640, y - 3, color + 3, buffer);
  vmwHlin(0, 640, y - 2, color + 2, buffer);
  vmwHlin(0, 640, y - 1, color + 1, buffer);
  vmwHlin(0, 640, y, color, buffer);
  vmwHlin(0, 640, y + 1, color, buffer);
  vmwHlin(0, 640, y + 2, color + 1, buffer);
  vmwHlin(0, 640, y + 3, color + 2, buffer);
  vmwHlin(0, 640, y + 4, color + 3, buffer);
  vmwHlin(0, 640, y + 5, color + 4, buffer);
  vmwHlin(0, 640, y + 6, color + 5, buffer);
  vmwHlin(0, 640, y + 7, color + 6, buffer);
  vmwHlin(0, 640, y + 8, color + 7, buffer);
}
```