user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<hsv>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %ecx,-0x3c(%rbp)
  mov    %r8d,-0x40(%rbp)
  mov    %r9d,-0x44(%rbp)
  mov    -0x3c(%rbp),%eax
  movslq %eax,%rdx
  imul   $0xffffffff88888889,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  sar    $0x5,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x3c(%rbp),%eax
  movslq %eax,%rdx
  imul   $0xffffffff88888889,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  sar    $0x5,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x3c,%edx,%edx
  sub    %edx,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x44(%rbp),%eax
  imul   -0x40(%rbp),%eax
  movslq %eax,%rdx
  imul   $0xffffffff80808081,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  mov    %edx,%ecx
  sar    $0x7,%ecx
  sar    $0x1f,%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x44(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x44(%rbp),%eax
  imul   -0x40(%rbp),%eax
  imul   -0x10(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x22d915d5,%rdx,%rdx
  shr    $0x20,%rdx
  mov    %edx,%ecx
  sar    $0xb,%ecx
  sar    $0x1f,%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x44(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x44(%rbp),%eax
  imul   -0x40(%rbp),%eax
  mov    %eax,%edx
  mov    $0x3b,%eax
  sub    -0x10(%rbp),%eax
  imul   %edx,%eax
  movslq %eax,%rdx
  imul   $0x22d915d5,%rdx,%rdx
  shr    $0x20,%rdx
  mov    %edx,%ecx
  sar    $0xb,%ecx
  sar    $0x1f,%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x44(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%ecx
  movslq %ecx,%rax
  imul   $0x2aaaaaab,%rax,%rax
  shr    $0x20,%rax
  mov    %ecx,%esi
  sar    $0x1f,%esi
  mov    %eax,%edx
  sub    %esi,%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    %eax,%eax
  sub    %eax,%ecx
  mov    %ecx,%edx
  cmp    $0x5,%edx
  ja     L22
  mov    %edx,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D19(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D19(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    -0x28(%rbp),%rax
  mov    -0x44(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x30(%rbp),%rax
  mov    -0x4(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x38(%rbp),%rax
  mov    -0xc(%rbp),%edx
  mov    %edx,(%rax)
  jmp    L22
  mov    -0x28(%rbp),%rax
  mov    -0x8(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x30(%rbp),%rax
  mov    -0x44(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x38(%rbp),%rax
  mov    -0xc(%rbp),%edx
  mov    %edx,(%rax)
  jmp    L22
  mov    -0x28(%rbp),%rax
  mov    -0xc(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x30(%rbp),%rax
  mov    -0x44(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x38(%rbp),%rax
  mov    -0x4(%rbp),%edx
  mov    %edx,(%rax)
  jmp    L22
  mov    -0x28(%rbp),%rax
  mov    -0xc(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x30(%rbp),%rax
  mov    -0x8(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x38(%rbp),%rax
  mov    -0x44(%rbp),%edx
  mov    %edx,(%rax)
  jmp    L22
  mov    -0x28(%rbp),%rax
  mov    -0x4(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x30(%rbp),%rax
  mov    -0xc(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x38(%rbp),%rax
  mov    -0x44(%rbp),%edx
  mov    %edx,(%rax)
  jmp    L22
  mov    -0x28(%rbp),%rax
  mov    -0x44(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x30(%rbp),%rax
  mov    -0xc(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x38(%rbp),%rax
  mov    -0x8(%rbp),%edx
  mov    %edx,(%rax)
  nop
L22:
  nop
  pop    %rbp
  ret
```

assistant: ```c
void hsv(uint8_t *r, uint8_t *g, uint8_t *b, uint16_t h, uint8_t s, uint8_t v) {
  uint8_t i, f, p, q, t;
  i = h / 60;
  f = h % 60;
  p = v - ((uint16_t)v * s) / 255;
  q = v - ((uint32_t)v * s * f) / (255 * 59);
  t = v - ((uint32_t)v * s * (59 - f)) / (255 * 59);
  switch (i % 6) {
  case 0:
    *r = v;
    *g = t;
    *b = p;
    break;
  case 1:
    *r = q;
    *g = v;
    *b = p;
    break;
  case 2:
    *r = p;
    *g = v;
    *b = t;
    break;
  case 3:
    *r = p;
    *g = q;
    *b = v;
    break;
  case 4:
    *r = t;
    *g = p;
    *b = v;
    break;
  case 5:
    *r = v;
    *g = p;
    *b = q;
    break;
  }
}
```