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

```asm
<dscf_line>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x368,%rsp
  mov    %rdi,%r12
  mov    %rsi,%r13
  mov    %rdx,%r14
  mov    %ecx,0x28(%rsp)
  mov    %r8,0x18(%rsp)
  mov    %r9,%rdi
  mov    %r9,0x20(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x358(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x30(%rsp)
  call   *%r8
  movss  %xmm0,0x4(%rsp)
  movss  %xmm0,0x1c0(%rsp)
  movl   $0xa,0x2c(%rsp)
  movl   $0x1,0x14(%rsp)
  mov    $0x1,%ebp
  movss  D0(%rip),%xmm6
  movss  %xmm6,0x10(%rsp)
  movl   $0x0,(%rsp)
  movl   $0x0,0xc(%rsp)
  lea    0x30(%rsp),%rbx
  jmp    L11
L176:
  movslq %eax,%rdx
  movss  0x1c0(%rsp,%rdx,4),%xmm7
  movss  %xmm7,0x4(%rsp)
L57:
  movss  0x4(%rsp),%xmm4
  comiss 0x8(%rsp),%xmm4
  jae    L146
  sub    $0x1,%r15d
  je     L21
  movss  0x4(%rsp),%xmm6
  movss  %xmm6,0x8(%rsp)
  movss  (%rsp),%xmm0
L126:
  movss  (%rsp),%xmm2
  movss  %xmm2,0xc(%rsp)
  addss  0x10(%rsp),%xmm0
  movss  %xmm0,(%rsp)
  test   %ebp,%ebp
  jle    L64
  mov    %ebp,%ecx
  mov    $0x0,%eax
L32:
  movss  (%rsp),%xmm1
  ucomiss (%rbx,%rax,4),%xmm1
  jp     L105
  je     L176
L105:
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L32
L64:
  mov    0x28(%rsp),%eax
  test   %eax,%eax
  jle    L104
  mov    %eax,%ecx
  mov    $0x0,%eax
L66:
  mov    0x0(%r13,%rax,8),%rdx
  movss  (%rsp),%xmm0
  mulss  (%r12,%rax,4),%xmm0
  addss  (%r14,%rax,4),%xmm0
  movss  %xmm0,(%rdx)
  add    $0x1,%rax
  cmp    %rax,%rcx
  jne    L66
L104:
  mov    0x20(%rsp),%rdi
  mov    $0x0,%eax
  mov    0x18(%rsp),%rsi
  call   *%rsi
  movss  %xmm0,0x4(%rsp)
  addl   $0x1,0x14(%rsp)
  cmp    $0x64,%ebp
  je     L77
  cmp    $0x63,%ebp
  setle  %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmp    $0x63,%ebp
  jg     L88
  movslq %ebp,%rax
  movss  0x4(%rsp),%xmm7
  movss  %xmm7,0x1c0(%rsp,%rax,4)
  movss  (%rsp),%xmm7
  movss  %xmm7,0x30(%rsp,%rax,4)
  lea    0x1(%rbp),%ebp
  jmp    L57
L88:
  sub    $0xa,%ebp
  jmp    L57
L146:
  movss  (%rsp),%xmm2
  movss  0x10(%rsp),%xmm5
  subss  %xmm5,%xmm2
  movss  %xmm2,(%rsp)
  xorps  D35(%rip),%xmm5
  movaps %xmm5,%xmm0
  mulss  D22(%rip),%xmm0
  movss  %xmm0,0x10(%rsp)
  movss  0x8(%rsp),%xmm3
  movss  %xmm3,0x4(%rsp)
  jmp    L22
L21:
  movss  (%rsp),%xmm4
  movss  %xmm4,0xc(%rsp)
L22:
  subl   $0x1,0x2c(%rsp)
  je     L48
L11:
  movss  0x4(%rsp),%xmm6
  movss  %xmm6,0x8(%rsp)
  movss  (%rsp),%xmm0
  movss  0xc(%rsp),%xmm7
  movss  %xmm7,(%rsp)
  mov    $0xa,%r15d
  jmp    L126
L48:
  mov    0x28(%rsp),%eax
  test   %eax,%eax
  jle    L134
  mov    %eax,%eax
  mov    $0x0,%edx
L121:
  mov    0x0(%r13,%rdx,8),%rcx
  movss  0xc(%rsp),%xmm0
  mulss  (%r12,%rdx,4),%xmm0
  addss  (%r14,%rdx,4),%xmm0
  movss  %xmm0,(%rcx)
  add    $0x1,%rdx
  cmp    %rax,%rdx
  jne    L121
L134:
  mov    0x14(%rsp),%esi
  lea    D8(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L77:
  mov    0x358(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L54
  movss  0xc(%rsp),%xmm0
  add    $0x368,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L54:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D0
data_type: byte[4]
name: read_data
arguments: label: D35
data_type: byte[16]
name: read_data
arguments: label: D22
data_type: byte[4]
name: read_data
arguments: label: D8
data_type: string

tool: {"D0": [0xcd,0xcc,0xcc,0x3d]}

tool: {"D35": [0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: {"D22": [0x00,0x00,0x00,0x3f]}

tool: D8: %d function calls 


assistant: ```c
float dscf_line(search, where, params, n, what, whom)
int n;
float search[], params[], *where[];
float (*what)();
void *whom;
{
  float beststep, step, dstep, myval, bestval;
  float steps[100], vals[100];
  int inbuf;
  int nfunc;
  int i, irun, itry;
  inbuf = 1;
  steps[0] = 0.;
  vals[0] = (*what)(whom);
  bestval = vals[0];
  nfunc = 1;
  step = 0.;
  beststep = step;
  dstep = 1.;
  dstep = .1;
  for (itry = 0; itry < 10; itry++) {
    for (irun = 0; irun < 10; irun++) {
      step += dstep;
      for (i = 0; i < inbuf; i++) {
        if (step == steps[i]) {
          myval = vals[i];
          goto STEP_FOUND;
        }
      }
      for (i = 0; i < n; i++) {
        *where[i] = params[i] + search[i] * step;
      }
      myval = (*what)(whom);
      nfunc++;
      if (inbuf == 100)
        return beststep;
      assert(inbuf < 100);
      if (inbuf < 100) {
        vals[inbuf] = myval;
        steps[inbuf++] = step;
      } else {
        inbuf -= 10;
      }
    STEP_FOUND:
      if (myval >= bestval) {
        step -= dstep;
        dstep = -dstep * .5;
        break;
      } else {
        bestval = myval;
        beststep = step;
      }
    }
  }
  for (i = 0; i < n; i++) {
    *where[i] = params[i] + search[i] * beststep;
  }
  printf("%d function calls \n", nfunc);
  return beststep;
}
```