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

```asm
<dscf_line>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x358,%rsp
  mov    %rdi,%r12
  mov    %rsi,%r13
  mov    %rdx,%r14
  mov    %ecx,0x18(%rsp)
  mov    %r8,0x10(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x348(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x20(%rsp)
  call   *%r8
  movss  %xmm0,0x8(%rsp)
  movss  %xmm0,0x1b0(%rsp)
  movl   $0x8,0x1c(%rsp)
  mov    $0x1,%r15d
  movss  D27(%rip),%xmm6
  movss  %xmm6,0x4(%rsp)
  pxor   %xmm7,%xmm7
  movss  %xmm7,0xc(%rsp)
  lea    0x20(%rsp),%rbp
  jmp    L123
L122:
  movslq %eax,%rdx
  movss  0x1b0(%rsp,%rdx,4),%xmm0
L55:
  comiss 0x8(%rsp),%xmm0
  ja     L76
  sub    $0x1,%ebx
  je     L95
  movss  %xmm0,0x8(%rsp)
  movss  0x4(%rsp),%xmm3
  movss  %xmm3,0xc(%rsp)
L160:
  mov    %r15d,%ecx
  mov    $0x0,%eax
  test   %r15d,%r15d
  jle    L35
L37:
  movss  0x4(%rsp),%xmm1
  ucomiss 0x0(%rbp,%rax,4),%xmm1
  jp     L42
  je     L122
L42:
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L37
L35:
  mov    0x18(%rsp),%eax
  test   %eax,%eax
  jle    L117
  mov    %eax,%ecx
  mov    $0x0,%eax
L16:
  mov    0x0(%r13,%rax,8),%rdx
  movss  0x4(%rsp),%xmm0
  mulss  (%r12,%rax,4),%xmm0
  addss  (%r14,%rax,4),%xmm0
  movss  %xmm0,(%rdx)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L16
L117:
  mov    $0x0,%eax
  mov    0x10(%rsp),%rsi
  call   *%rsi
  cmp    $0x63,%r15d
  jg     L55
  movslq %r15d,%rax
  movss  %xmm0,0x1b0(%rsp,%rax,4)
  movss  0x4(%rsp),%xmm4
  movss  %xmm4,0x20(%rsp,%rax,4)
  lea    0x1(%r15),%r15d
  jmp    L55
L76:
  movss  0x4(%rsp),%xmm0
  xorps  D14(%rip),%xmm0
  mulss  D9(%rip),%xmm0
  movss  %xmm0,0x4(%rsp)
L158:
  subl   $0x1,0x1c(%rsp)
  je     L86
L123:
  mov    $0x64,%ebx
  jmp    L160
L95:
  movss  %xmm0,0x8(%rsp)
  movss  0x4(%rsp),%xmm6
  movss  %xmm6,0xc(%rsp)
  jmp    L158
L86:
  mov    0x18(%rsp),%eax
  test   %eax,%eax
  jle    L20
  mov    %eax,%eax
  mov    $0x0,%edx
L27:
  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    %rdx,%rax
  jne    L27
L20:
  mov    0x348(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L52
  movss  0xc(%rsp),%xmm0
  add    $0x358,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L52:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D27
type_infered: f32
name: unpack_data
arguments: data_tag: D14
type_infered: byte[16]
name: unpack_data
arguments: data_tag: D9
type_infered: byte[4]

tool: D27: 1

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

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

assistant: ```c
float dscf_line(search, where, params, n, what)
int n;
float search[], params[], *where[];
float (*what)();
{
  float step, dstep, myval, bestval;
  float steps[100], vals[100];
  int inbuf;
  int i, irun, itry;
  ;
  inbuf = 1;
  steps[0] = 0.;
  vals[0] = (*what)();
  bestval = vals[0];
  step = 0.;
  dstep = 1.;
  for (itry = 0; itry < 8; itry++) {
    for (irun = 0; irun < 100; irun++) {
      for (i = 0; i < inbuf; i++) {
        if (dstep == steps[i]) {
          myval = vals[i];
          goto STEP_FOUND;
        }
      }
      for (i = 0; i < n; i++) {
        *where[i] = params[i] + search[i] * dstep;
      }
      myval = (*what)();
      if (inbuf < 100) {
        vals[inbuf] = myval;
        steps[inbuf++] = dstep;
      }
    STEP_FOUND:
      if (myval > bestval) {
        dstep = -dstep * .5;
        break;
      } else {
        bestval = myval;
        step = dstep;
      }
    }
  }
  for (i = 0; i < n; i++) {
    *where[i] = params[i] + search[i] * step;
  }
  return step;
}
```