user: 请从给定的汇编指令推导出C源代码：

```asm
<solve_model>:
  endbr64
  push   %r14
  pxor   %xmm5,%xmm5
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  sub    $0x220,%rsp
  movss  (%rdi),%xmm0
  movss  0x4(%rdi),%xmm1
  mov    %fs:0x28,%rax
  mov    %rax,0x218(%rsp)
  xor    %eax,%eax
  movss  0x8(%rdi),%xmm2
  movss  0xc(%rdi),%xmm3
  comiss %xmm5,%xmm0
  movss  0x10(%rdi),%xmm4
  jbe    L4
  comiss %xmm5,%xmm1
  jbe    L4
  movss  D92(%rip),%xmm6
  comiss %xmm1,%xmm6
  ja     L106
L4:
  movss  D82(%rip),%xmm5
  lea    D78(%rip),%rsi
  mov    %rbp,%rdi
  movss  %xmm5,0xc(%rsp)
  call   <fprintf@plt>
L3:
  mov    %rbp,%rdi
  call   <fflush@plt>
  movss  0xc(%rsp),%xmm0
  mov    0x218(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L65
  add    $0x220,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  xchg   %ax,%ax
L106:
  comiss %xmm5,%xmm2
  jbe    L4
  comiss %xmm2,%xmm6
  jbe    L4
  movsd  D46(%rip),%xmm6
  pxor   %xmm5,%xmm5
  cvtss2sd %xmm3,%xmm5
  comisd %xmm6,%xmm5
  jbe    L4
  pxor   %xmm5,%xmm5
  cvtss2sd %xmm4,%xmm5
  comisd %xmm6,%xmm5
  jbe    L4
  mov    %rdi,%rbx
  mov    %rsi,%r12
  mov    $0x200,%edi
  mov    $0x1,%esi
  call   <calloc@plt>
  lea    0x10(%rsp),%r14
  mov    %r12,%rdx
  lea    D77(%rip),%rsi
  mov    %rax,%r13
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <sprintf@plt>
  mov    %r12,%rdx
  mov    %r14,%rcx
  mov    %r13,%rdi
  lea    D68(%rip),%rsi
  pxor   %xmm0,%xmm0
  pxor   %xmm4,%xmm4
  mov    $0x5,%eax
  pxor   %xmm3,%xmm3
  pxor   %xmm2,%xmm2
  pxor   %xmm1,%xmm1
  cvtss2sd (%rbx),%xmm0
  cvtss2sd 0x10(%rbx),%xmm4
  cvtss2sd 0xc(%rbx),%xmm3
  cvtss2sd 0x8(%rbx),%xmm2
  cvtss2sd 0x4(%rbx),%xmm1
  call   <sprintf@plt>
  mov    %r13,%rdi
  call   <system@plt>
  lea    D15(%rip),%rsi
  mov    %r14,%rdi
  call   <fopen@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L16
L26:
  lea    0xc(%rsp),%rdx
  lea    D44(%rip),%rsi
  mov    %r12,%rdi
  call   <fscanf@plt>
  mov    %r12,%rdi
  call   <fclose@plt>
  movss  0xc(%rsp),%xmm5
  movss  0x10(%rbx),%xmm4
  mov    %rbp,%rdi
  movss  0xc(%rbx),%xmm3
  movss  0x8(%rbx),%xmm2
  lea    D84(%rip),%rsi
  movss  0x4(%rbx),%xmm1
  movss  (%rbx),%xmm0
  call   <fprintf@plt>
  mov    %r13,%rdi
  call   <free@plt>
  jmp    L3
L16:
  lea    D43(%rip),%rdi
  call   <nrerror@plt>
  jmp    L26
L65:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D92
data_type: byte[4]
name: extract_symbolic_data
arguments: tag: D82
data_type: byte[4]
name: extract_symbolic_data
arguments: tag: D78
data_type: string
name: extract_symbolic_data
arguments: tag: D46
data_type: f64
name: extract_symbolic_data
arguments: tag: D77
data_type: string
name: extract_symbolic_data
arguments: tag: D68
data_type: string
name: extract_symbolic_data
arguments: tag: D15
data_type: string
name: extract_symbolic_data
arguments: tag: D44
data_type: string
name: extract_symbolic_data
arguments: tag: D84
data_type: string
name: extract_symbolic_data
arguments: tag: D43
data_type: string

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

tool: {"D82": [0x00,0x00,0x20,0x41]}

tool: D78: Invalid Parameter Set (%f,%f,%f,%f,%f) -> returning %f


tool: D46: 0.1

tool: D77: R2.simp.%s.txt

tool: D68: %s %f %f %f %f %f %s

tool: D15: r

tool: D44: %f

tool: D84: Rsquared (%f,%f,%f,%f,%f) = %f


tool: D43: Unable to open Rsquared file

assistant: ```c
float solve_model(float *p, char *runstr, FILE *fopti) {
  FILE *fin;
  char *cmdstr;
  char filename[512];
  float Rsqr;
  int i, j;
  if ((p[0] > 0) && (p[1] > 0 && p[1] < 1) && (p[2] > 0 && p[2] < 1) && (p[3] > 0.10) && (p[4] > 0.10)) {
    cmdstr = (char *)calloc(512, sizeof(char));
    sprintf(filename, "R2.simp.%s.txt", runstr);
    sprintf(cmdstr, "%s %f %f %f %f %f %s", runstr, p[0], p[1], p[2], p[3], p[4], filename);
    system(cmdstr);
    if ((fin = fopen(filename, "r")) == NULL) {
      nrerror("Unable to open Rsquared file");
    }
    fscanf(fin, "%f", &Rsqr);
    fclose(fin);
    fprintf(fopti, "Rsquared (%f,%f,%f,%f,%f) = %f\n", p[0], p[1], p[2], p[3], p[4], Rsqr);
    free((char *)cmdstr);
  } else {
    Rsqr = (float)10;
    fprintf(fopti, "Invalid Parameter Set (%f,%f,%f,%f,%f) -> returning %f\n", p[0], p[1], p[2], p[3], p[4], Rsqr);
  }
  fflush(fopti);
  return (Rsqr);
}
```