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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x1c0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movb   $0x46,-0x1b5(%rbp)
  movabs $0x79732f2e2e2f2e2e,%rax
  mov    %rax,-0x16(%rbp)
  movl   $0x6d657473,-0xe(%rbp)
  movw   $0x31,-0xa(%rbp)
  lea    -0x16(%rbp),%rax
  lea    D41(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <fopen@plt>
  mov    %rax,-0x180(%rbp)
  lea    -0x1a8(%rbp),%rcx
  lea    -0x1ac(%rbp),%rdx
  mov    -0x180(%rbp),%rax
  lea    D177(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  mov    %eax,-0x184(%rbp)
  mov    -0x1a8(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x178(%rbp)
  mov    -0x1a8(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x170(%rbp)
  mov    -0x1ac(%rbp),%eax
  add    $0x1,%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x168(%rbp)
  mov    -0x1a8(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x160(%rbp)
  movl   $0x0,-0x1a4(%rbp)
  jmp    L32
L25:
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x168(%rbp),%rax
  add    %rdx,%rax
  movl   $0x0,(%rax)
  mov    -0x1a4(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x1a4(%rbp)
L32:
  mov    -0x1a4(%rbp),%edx
  mov    -0x1ac(%rbp),%eax
  cmp    %eax,%edx
  jle    L25
  mov    -0x168(%rbp),%rax
  movl   $0x1,(%rax)
  movl   $0x0,-0x18c(%rbp)
  jmp    L108
L26:
  mov    -0x18c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x170(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x18c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x178(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x18c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x160(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  lea    -0x1a4(%rbp),%rdx
  mov    -0x180(%rbp),%rax
  mov    %rdi,%r9
  mov    %rsi,%r8
  lea    D142(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  mov    %eax,-0x184(%rbp)
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x168(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x168(%rbp),%rax
  add    %rcx,%rax
  add    $0x1,%edx
  mov    %edx,(%rax)
  addl   $0x1,-0x18c(%rbp)
L108:
  mov    -0x1a8(%rbp),%eax
  cmp    %eax,-0x18c(%rbp)
  jl     L26
  mov    -0x180(%rbp),%rax
  mov    %rax,%rdi
  call   <fclose@plt>
  movl   $0x1,-0x1a4(%rbp)
  jmp    L36
L39:
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x168(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x1a4(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x168(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rsi
  mov    -0x168(%rbp),%rax
  add    %rsi,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x1a4(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x1a4(%rbp)
L36:
  mov    -0x1a4(%rbp),%edx
  mov    -0x1ac(%rbp),%eax
  cmp    %eax,%edx
  jle    L39
  mov    -0x1ac(%rbp),%eax
  mov    %eax,%esi
  lea    D42(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x1a8(%rbp),%eax
  mov    %eax,%esi
  lea    D103(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x140(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <gettimeofday@plt>
  movss  D187(%rip),%xmm0
  movss  %xmm0,-0x194(%rbp)
  movss  D4(%rip),%xmm0
  movss  %xmm0,-0x190(%rbp)
  movl   $0x19,-0x1a0(%rbp)
  mov    -0x1a0(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x158(%rbp)
  mov    -0x1a0(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x150(%rbp)
  mov    -0x1ac(%rbp),%edx
  mov    -0x1a0(%rbp),%eax
  imul   %edx,%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x148(%rbp)
  lea    -0x120(%rbp),%rax
  mov    %rax,%rdi
  call   <feastinit@plt>
  movl   $0x1,-0x120(%rbp)
  mov    -0x170(%rbp),%r9
  mov    -0x160(%rbp),%r8
  mov    -0x168(%rbp),%rcx
  mov    -0x178(%rbp),%rdx
  lea    -0x1ac(%rbp),%rsi
  lea    -0x1b5(%rbp),%rax
  sub    $0x8,%rsp
  lea    -0x198(%rbp),%rdi
  push   %rdi
  push   -0x150(%rbp)
  lea    -0x19c(%rbp),%rdi
  push   %rdi
  push   -0x148(%rbp)
  push   -0x158(%rbp)
  lea    -0x1a0(%rbp),%rdi
  push   %rdi
  lea    -0x190(%rbp),%rdi
  push   %rdi
  lea    -0x194(%rbp),%rdi
  push   %rdi
  lea    -0x1b0(%rbp),%rdi
  push   %rdi
  lea    -0x1b4(%rbp),%rdi
  push   %rdi
  lea    -0x120(%rbp),%rdi
  push   %rdi
  push   -0x160(%rbp)
  push   -0x168(%rbp)
  mov    %rax,%rdi
  call   <sfeast_scsrgv@plt>
  add    $0x70,%rsp
  lea    -0x130(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <gettimeofday@plt>
  mov    -0x198(%rbp),%eax
  mov    %eax,%esi
  lea    D155(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x198(%rbp),%eax
  test   %eax,%eax
  jne    L50
  lea    D92(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D40(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D92(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movsd  -0x130(%rbp),%xmm0
  movsd  -0x140(%rbp),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  -0x128(%rbp),%xmm0
  movsd  -0x138(%rbp),%xmm3
  movapd %xmm0,%xmm2
  subsd  %xmm3,%xmm2
  movsd  D181(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  lea    D70(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movss  -0x190(%rbp),%xmm0
  cvtss2sd %xmm0,%xmm0
  movss  -0x194(%rbp),%xmm1
  pxor   %xmm4,%xmm4
  cvtss2sd %xmm1,%xmm4
  movq   %xmm4,%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D176(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  mov    -0x1a0(%rbp),%edx
  mov    -0x19c(%rbp),%eax
  mov    %eax,%esi
  lea    D46(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x1b0(%rbp),%eax
  mov    %eax,%esi
  lea    D29(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x188(%rbp)
  movl   $0x0,-0x1a4(%rbp)
  jmp    L92
L10:
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x158(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  -0x188(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x188(%rbp)
  mov    -0x1a4(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x1a4(%rbp)
L92:
  mov    -0x19c(%rbp),%edx
  mov    -0x1a4(%rbp),%eax
  cmp    %eax,%edx
  jg     L10
  pxor   %xmm5,%xmm5
  cvtss2sd -0x188(%rbp),%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  lea    D154(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movss  -0x1b4(%rbp),%xmm0
  pxor   %xmm6,%xmm6
  cvtss2sd %xmm0,%xmm6
  movq   %xmm6,%rax
  movq   %rax,%xmm0
  lea    D27(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    D129(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x1a4(%rbp)
  jmp    L40
L43:
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x150(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  cvtss2sd %xmm0,%xmm0
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x158(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  pxor   %xmm7,%xmm7
  cvtss2sd %xmm1,%xmm7
  movq   %xmm7,%rdx
  mov    -0x1a4(%rbp),%eax
  movapd %xmm0,%xmm1
  movq   %rdx,%xmm0
  mov    %eax,%esi
  lea    D186(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  mov    -0x1a4(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x1a4(%rbp)
L40:
  mov    -0x19c(%rbp),%edx
  mov    -0x1a4(%rbp),%eax
  cmp    %eax,%edx
  jg     L43
L50:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L67
  call   <__stack_chk_fail@plt>
L67:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D41
type: string
name: extract_symbolic_data
arguments: label: D177
type: string
name: extract_symbolic_data
arguments: label: D142
type: string
name: extract_symbolic_data
arguments: label: D42
type: string
name: extract_symbolic_data
arguments: label: D103
type: string
name: extract_symbolic_data
arguments: label: D187
type: f32
name: extract_symbolic_data
arguments: label: D4
type: f32
name: extract_symbolic_data
arguments: label: D155
type: string
name: extract_symbolic_data
arguments: label: D92
type: string
name: extract_symbolic_data
arguments: label: D40
type: string
name: extract_symbolic_data
arguments: label: D181
type: f64
name: extract_symbolic_data
arguments: label: D70
type: string
name: extract_symbolic_data
arguments: label: D176
type: string
name: extract_symbolic_data
arguments: label: D46
type: string
name: extract_symbolic_data
arguments: label: D29
type: string
name: extract_symbolic_data
arguments: label: D154
type: string
name: extract_symbolic_data
arguments: label: D27
type: string
name: extract_symbolic_data
arguments: label: D129
type: string
name: extract_symbolic_data
arguments: label: D186
type: string

tool: D41: r

tool: D177: %d%d


tool: D142: %d%d%f%f


tool: D42: sparse matrix -system1- size %.d


tool: D103: nnz %d 


tool: D187: 0.18

tool: D4: 1

tool: D155: FEAST OUTPUT INFO %d


tool: D92: *************************************************

tool: D40: ************** REPORT ***************************

tool: D181: 1e-06

tool: D70: SIMULATION TIME %f


tool: D176: # Search interval [Emin,Emax] %f %f


tool: D46: # mode found/subspace %d %d 


tool: D29: # iterations %d 


tool: D154: TRACE %f


tool: D27: Relative error on the Trace %f


tool: D129: Eigenvalues/Residuals

tool: D186:    %d %f %f


assistant: ```c
int main() {
  int feastparam[64];
  float epsout;
  int loop;
  char UPLO = 'F';
  FILE *fp;
  char name[] = "../../system1";
  int N, nnz;
  float *sa, *sb;
  int *isa, *jsa;
  struct timeval t1, t2;
  int i, k, err;
  int M0, M, info;
  float Emin, Emax, trace;
  float *X;
  float *E, *res;
  fp = fopen(name, "r");
  err = fscanf(fp, "%d%d\n", &N, &nnz);
  sa = calloc(nnz, sizeof(float));
  sb = calloc(nnz, sizeof(float));
  isa = calloc(N + 1, sizeof(int));
  jsa = calloc(nnz, sizeof(int));
  for (i = 0; i <= N; i++) {
    *(isa + i) = 0;
  };
  *(isa) = 1;
  for (k = 0; k <= nnz - 1; k++) {
    err = fscanf(fp, "%d%d%f%f\n", &i, jsa + k, sa + k, sb + k);
    *(isa + i) = *(isa + i) + 1;
  };
  fclose(fp);
  for (i = 1; i <= N; i++) {
    *(isa + i) = *(isa + i) + *(isa + i - 1);
  };
  printf("sparse matrix -system1- size %.d\n", N);
  printf("nnz %d \n", nnz);
  gettimeofday(&t1, NULL);
  Emin = (float)0.18;
  Emax = (float)1.0;
  M0 = 25;
  E = calloc(M0, sizeof(float));
  res = calloc(M0, sizeof(float));
  X = calloc(N * M0, sizeof(float));
  feastinit(feastparam);
  feastparam[0] = 1;
  sfeast_scsrgv(&UPLO, &N, sa, isa, jsa, sb, isa, jsa, feastparam, &epsout, &loop, &Emin, &Emax, &M0, E, X, &M, res, &info);
  gettimeofday(&t2, NULL);
  printf("FEAST OUTPUT INFO %d\n", info);
  if (info == 0) {
    printf("*************************************************\n");
    printf("************** REPORT ***************************\n");
    printf("*************************************************\n");
    printf("SIMULATION TIME %f\n", (t2.tv_sec - t1.tv_sec) * 1.0 + (t2.tv_usec - t1.tv_usec) * 0.000001);
    printf("# Search interval [Emin,Emax] %f %f\n", Emin, Emax);
    printf("# mode found/subspace %d %d \n", M, M0);
    printf("# iterations %d \n", loop);
    trace = (float)0.0;
    for (i = 0; i <= M - 1; i = i + 1) {
      trace = trace + *(E + i);
    }
    printf("TRACE %f\n", trace);
    printf("Relative error on the Trace %f\n", epsout);
    printf("Eigenvalues/Residuals\n");
    for (i = 0; i <= M - 1; i = i + 1) {
      printf("   %d %f %f\n", i, *(E + i), *(res + i));
    }
  }
  return 0;
}
```