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

```asm
<HSL2RGB>:
  endbr64
  sub    $0x28,%rsp
  pxor   %xmm5,%xmm5
  movaps %xmm0,%xmm3
  mov    %rdi,%rcx
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  ucomiss %xmm5,%xmm1
  jp     L75
  je     L77
L75:
  movss  D87(%rip),%xmm4
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm0
  comiss %xmm2,%xmm4
  ja     L112
  movaps %xmm1,%xmm9
  movsd  D51(%rip),%xmm4
  mulss  %xmm2,%xmm1
  addss  %xmm2,%xmm9
  subss  %xmm1,%xmm9
L19:
  addsd  %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  pxor   %xmm2,%xmm2
  movsd  D46(%rip),%xmm6
  cvtss2sd %xmm9,%xmm1
  movss  %xmm3,0x10(%rsp)
  lea    0xc(%rsp),%rax
  movsd  D10(%rip),%xmm7
  lea    0x18(%rsp),%rdi
  subsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm3,%xmm1
  movss  D3(%rip),%xmm3
  cvtsd2ss %xmm0,%xmm2
  movapd %xmm1,%xmm0
  subsd  %xmm6,%xmm1
  addsd  %xmm6,%xmm0
  movsd  D63(%rip),%xmm6
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x14(%rsp)
  cvtsd2ss %xmm0,%xmm0
  comiss %xmm0,%xmm5
  movss  %xmm0,0xc(%rsp)
  jbe    L56
L160:
  addss  %xmm3,%xmm0
  movss  %xmm0,(%rax)
L56:
  comiss %xmm3,%xmm0
  jbe    L64
  subss  %xmm3,%xmm0
  movss  %xmm0,(%rax)
L64:
  cvtss2sd %xmm0,%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm6,%xmm1
  comisd %xmm1,%xmm4
  movaps %xmm9,%xmm1
  ja     L58
  movapd %xmm0,%xmm8
  addsd  %xmm0,%xmm8
  comisd %xmm8,%xmm4
  ja     L171
  movsd  D70(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  comisd %xmm1,%xmm7
  jbe    L172
  movsd  D81(%rip),%xmm8
  movaps %xmm9,%xmm1
  subss  %xmm2,%xmm1
  subsd  %xmm0,%xmm8
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm0
  cvtss2sd %xmm1,%xmm1
  mulsd  %xmm8,%xmm1
  mulsd  %xmm6,%xmm1
  addsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
L171:
  movss  %xmm1,(%rax)
  add    $0x4,%rax
  cmp    %rax,%rdi
  je     L126
L6:
  movss  (%rax),%xmm0
  comiss %xmm0,%xmm5
  jbe    L56
  jmp    L160
  xchg   %ax,%ax
L112:
  movsd  D51(%rip),%xmm4
  cvtss2sd %xmm1,%xmm1
  pxor   %xmm9,%xmm9
  addsd  %xmm4,%xmm1
  mulsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm9
  jmp    L19
  nopl   0x0(%rax,%rax,1)
L58:
  subss  %xmm2,%xmm1
  add    $0x4,%rax
  cvtss2sd %xmm1,%xmm1
  mulsd  %xmm6,%xmm1
  mulsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,-0x4(%rax)
  cmp    %rax,%rdi
  jne    L6
L126:
  test   %rcx,%rcx
  je     L207
  movss  0xc(%rsp),%xmm0
  movss  %xmm0,(%rcx)
L207:
  test   %rsi,%rsi
  je     L16
  movss  0x10(%rsp),%xmm0
  movss  %xmm0,(%rsi)
L16:
  test   %rdx,%rdx
  je     L197
  movss  0x14(%rsp),%xmm0
  movss  %xmm0,(%rdx)
L197:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L165
  add    $0x28,%rsp
  ret
  nopl   0x0(%rax,%rax,1)
L172:
  movaps %xmm2,%xmm1
  jmp    L171
  nopl   0x0(%rax,%rax,1)
L77:
  test   %rdi,%rdi
  je     L37
  movss  %xmm2,(%rdi)
L37:
  test   %rsi,%rsi
  je     L26
  movss  %xmm2,(%rsi)
L26:
  test   %rdx,%rdx
  je     L197
  movss  %xmm2,(%rdx)
  jmp    L197
L165:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D87
type: f32
name: extract_symbolic_data
arguments: data_tag: D51
type: f64
name: extract_symbolic_data
arguments: data_tag: D46
type: byte[8]
name: extract_symbolic_data
arguments: data_tag: D10
type: f64
name: extract_symbolic_data
arguments: data_tag: D3
type: byte[4]
name: extract_symbolic_data
arguments: data_tag: D63
type: f64
name: extract_symbolic_data
arguments: data_tag: D70
type: f64
name: extract_symbolic_data
arguments: data_tag: D81
type: byte[8]

tool: D87: 0.5

tool: D51: 1

tool: {"D46": [0x55,0x55,0x55,0x55,0x55,0x55,0xd5,0x3f]}

tool: D10: 2

tool: {"D3": [0x00,0x00,0x80,0x3f]}

tool: D63: 6

tool: D70: 3

tool: {"D81": [0x55,0x55,0x55,0x55,0x55,0x55,0xe5,0x3f]}

assistant: ```c
void HSL2RGB(float h, float s, float l, float *outR, float *outG, float *outB) {
  float temp1, temp2;
  float temp[3];
  int i;
  if (s == 0.0) {
    if (outR)
      *outR = l;
    if (outG)
      *outG = l;
    if (outB)
      *outB = l;
    return;
  }
  if (l < 0.5)
    temp2 = l * (1.0 + s);
  else
    temp2 = l + s - l * s;
  temp1 = 2.0 * l - temp2;
  temp[0] = h + 1.0 / 3.0;
  temp[1] = h;
  temp[2] = h - 1.0 / 3.0;
  for (i = 0; i < 3; ++i) {
    if (temp[i] < 0.0)
      temp[i] += 1.0;
    if (temp[i] > 1.0)
      temp[i] -= 1.0;
    if (6.0 * temp[i] < 1.0)
      temp[i] = temp1 + (temp2 - temp1) * 6.0 * temp[i];
    else {
      if (2.0 * temp[i] < 1.0)
        temp[i] = temp2;
      else {
        if (3.0 * temp[i] < 2.0)
          temp[i] = temp1 + (temp2 - temp1) * ((2.0 / 3.0) - temp[i]) * 6.0;
        else
          temp[i] = temp1;
      }
    }
  }
  if (outR)
    *outR = temp[0];
  if (outG)
    *outG = temp[1];
  if (outB)
    *outB = temp[2];
}
```