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

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

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);
}
```