user: 下面的汇编指令对应的C源代码是什么:

```asm
<light_curve_base>:
  endbr64
  push   %r15
  movaps %xmm0,%xmm1
  mov    %rsi,%r15
  push   %r14
  mov    %rdi,%r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %r8,%r12
  push   %rbp
  mov    %edx,%ebp
  push   %rbx
  mov    %r9d,%ebx
  sub    $0x18,%rsp
  test   %r9d,%r9d
  jle    L101
  movslq %r9d,%rcx
  lea    0x0(,%rcx,4),%rdx
  lea    (%r8,%rdx,1),%rax
  cmp    %rax,%r13
  jae    L85
  lea    0x0(%r13,%rdx,1),%rax
  cmp    %rax,%r8
  jb     L71
L85:
  xor    %esi,%esi
  mov    %r13,%rdi
  movss  %xmm1,0xc(%rsp)
  mov    %rdx,(%rsp)
  call   <memset@plt>
  mov    (%rsp),%rdx
  xor    %esi,%esi
  mov    %r12,%rdi
  call   <memset@plt>
  movss  0xc(%rsp),%xmm1
L112:
  test   %ebp,%ebp
  jle    L47
L36:
  lea    -0x1(%rbp),%eax
  lea    0x4(%r14,%rax,4),%rbp
  nopl   (%rax)
L116:
  movss  (%r14),%xmm0
  movss  %xmm1,(%rsp)
  add    $0x4,%r14
  add    $0x4,%r15
  divss  D16(%rip),%xmm0
  call   <fmod@plt>
  pxor   %xmm0,%xmm0
  movss  (%rsp),%xmm1
  imul   %ebx,%eax
  cvtsi2ss %eax,%xmm0
  divss  %xmm1,%xmm0
  cvttss2si %xmm0,%eax
  cltq
  shl    $0x2,%rax
  lea    0x0(%r13,%rax,1),%rdx
  add    %r12,%rax
  movss  (%rdx),%xmm0
  addss  -0x4(%r15),%xmm0
  movss  %xmm0,(%rdx)
  movss  D9(%rip),%xmm0
  addss  (%rax),%xmm0
  movss  %xmm0,(%rax)
  cmp    %rbp,%r14
  jne    L116
  test   %ebx,%ebx
  jle    L58
L47:
  pxor   %xmm3,%xmm3
  lea    -0x1(%rbx),%edx
  xor    %eax,%eax
  mov    %ebx,%ebx
  movaps %xmm3,%xmm1
  nopw   0x0(%rax,%rax,1)
L88:
  movss  (%r12,%rax,4),%xmm0
  comiss %xmm3,%xmm0
  jbe    L80
  movss  0x0(%r13,%rax,4),%xmm2
  divss  %xmm0,%xmm2
  movss  %xmm2,0x0(%r13,%rax,4)
  movss  (%r12,%rax,4),%xmm0
L80:
  maxss  %xmm1,%xmm0
  add    $0x1,%rax
  movaps %xmm0,%xmm1
  cmp    %rbx,%rax
  jne    L88
  mov    %r12,%r8
  lea    0x4(%r12,%rdx,4),%rax
  nopl   0x0(%rax,%rax,1)
L98:
  movss  (%r8),%xmm0
  add    $0x4,%r8
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x4(%r8)
  cmp    %rax,%r8
  jne    L98
L58:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L71:
  xor    %eax,%eax
  nopl   0x0(%rax)
L6:
  movl   $0x0,0x0(%r13,%rax,4)
  movl   $0x0,(%r12,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%rcx
  jne    L6
  jmp    L112
  nopw   0x0(%rax,%rax,1)
L101:
  test   %edx,%edx
  jg     L36
  jmp    L58
```

tool_calls: name: disassemble_data
arguments: label: D16
type_guessed: byte[4]
name: disassemble_data
arguments: label: D9
type_guessed: byte[4]

tool: {"D16": [0x00,0xc0,0xa8,0x47]}

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

assistant: ```c
void light_curve_base(float timestamp[], float series[], int series_length, float period_days, float curve[], float density[], int curve_length) {
  int i, index;
  float days, max_samples = 0;
  for (i = 0; i < curve_length; i++) {
    curve[i] = 0;
    density[i] = 0;
  }
  for (i = 0; i < series_length; i++) {
    days = timestamp[i] / (60.0f * 60.0f * 24.0f);
    index = (int)(fmod(days, period_days) * curve_length / period_days);
    curve[index] += series[i];
    density[index]++;
  }
  for (i = 0; i < curve_length; i++) {
    if (density[i] > 0) {
      curve[i] /= density[i];
    }
    if (density[i] > max_samples) {
      max_samples = density[i];
    }
  }
  for (i = 0; i < curve_length; i++) {
    density[i] /= max_samples;
  }
}
```