user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x1d0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movb   $0x46,-0x1c1(%rbp)
  movabs $0x79732f2e2e2f2e2e,%rax
  mov    %rax,-0x16(%rbp)
  movl   $0x6d657473,-0xe(%rbp)
  movw   $0x31,-0xa(%rbp)
  movl   $0x0,-0x1a8(%rbp)
  lea    -0x16(%rbp),%rax
  lea    D133(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <fopen@plt>
  mov    %rax,-0x170(%rbp)
  lea    -0x1ac(%rbp),%rcx
  lea    -0x1b0(%rbp),%rdx
  mov    -0x170(%rbp),%rax
  lea    D211(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  mov    %eax,-0x17c(%rbp)
  movl   $0x0,-0x184(%rbp)
  jmp    L107
L17:
  lea    -0x188(%rbp),%rdi
  lea    -0x188(%rbp),%rsi
  lea    -0x1a0(%rbp),%rcx
  lea    -0x1a4(%rbp),%rdx
  mov    -0x170(%rbp),%rax
  mov    %rdi,%r9
  mov    %rsi,%r8
  lea    D105(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  mov    %eax,-0x17c(%rbp)
  mov    -0x1a4(%rbp),%eax
  mov    -0x1a0(%rbp),%edx
  sub    %edx,%eax
  mov    %eax,%edx
  neg    %edx
  cmovs  %eax,%edx
  mov    -0x1a8(%rbp),%eax
  cmp    %eax,%edx
  jle    L112
  mov    -0x1a4(%rbp),%eax
  mov    -0x1a0(%rbp),%edx
  sub    %edx,%eax
  mov    %eax,%edx
  neg    %edx
  cmovns %edx,%eax
  mov    %eax,-0x1a8(%rbp)
L112:
  addl   $0x1,-0x184(%rbp)
L107:
  mov    -0x1ac(%rbp),%eax
  cmp    %eax,-0x184(%rbp)
  jl     L17
  mov    -0x170(%rbp),%rax
  mov    %rax,%rdi
  call   <fclose@plt>
  mov    -0x1a8(%rbp),%eax
  mov    %eax,-0x178(%rbp)
  mov    -0x1a8(%rbp),%edx
  mov    -0x178(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  mov    %eax,-0x1b8(%rbp)
  mov    -0x1b8(%rbp),%eax
  mov    %eax,-0x1b4(%rbp)
  mov    -0x1a8(%rbp),%edx
  mov    -0x178(%rbp),%eax
  add    %edx,%eax
  lea    0x1(%rax),%edx
  mov    -0x1b0(%rbp),%eax
  imul   %edx,%eax
  mov    %eax,-0x174(%rbp)
  mov    -0x174(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x168(%rbp)
  mov    -0x174(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x160(%rbp)
  movl   $0x0,-0x1a4(%rbp)
  jmp    L110
L59:
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x168(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x160(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x1a4(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x1a4(%rbp)
L110:
  mov    -0x1a4(%rbp),%eax
  cmp    %eax,-0x174(%rbp)
  jg     L59
  lea    -0x16(%rbp),%rax
  lea    D133(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <fopen@plt>
  mov    %rax,-0x170(%rbp)
  lea    -0x1ac(%rbp),%rcx
  lea    -0x1b0(%rbp),%rdx
  mov    -0x170(%rbp),%rax
  lea    D211(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  mov    %eax,-0x17c(%rbp)
  movl   $0x0,-0x184(%rbp)
  jmp    L97
L16:
  lea    -0x1a0(%rbp),%rcx
  lea    -0x1a4(%rbp),%rdx
  mov    -0x170(%rbp),%rax
  lea    D129(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  mov    %eax,-0x17c(%rbp)
  mov    -0x1a0(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x1b4(%rbp),%eax
  imul   %edx,%eax
  movslq %eax,%rdx
  mov    -0x178(%rbp),%eax
  cltq
  lea    (%rdx,%rax,1),%rcx
  mov    -0x1a4(%rbp),%eax
  mov    -0x1a0(%rbp),%edx
  sub    %edx,%eax
  cltq
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x160(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x1a0(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x1b8(%rbp),%eax
  imul   %edx,%eax
  movslq %eax,%rdx
  mov    -0x178(%rbp),%eax
  cltq
  lea    (%rdx,%rax,1),%rsi
  mov    -0x1a4(%rbp),%eax
  mov    -0x1a0(%rbp),%edx
  sub    %edx,%eax
  cltq
  add    %rsi,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x168(%rbp),%rax
  add    %rax,%rdx
  mov    -0x170(%rbp),%rax
  lea    D72(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  mov    %eax,-0x17c(%rbp)
  addl   $0x1,-0x184(%rbp)
L97:
  mov    -0x1ac(%rbp),%eax
  cmp    %eax,-0x184(%rbp)
  jl     L16
  mov    -0x170(%rbp),%rax
  mov    %rax,%rdi
  call   <fclose@plt>
  mov    -0x1b0(%rbp),%eax
  mov    %eax,%esi
  lea    D99(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x1a8(%rbp),%edx
  mov    -0x178(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  mov    %eax,%esi
  lea    D51(%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  D151(%rip),%xmm0
  movss  %xmm0,-0x190(%rbp)
  movss  D217(%rip),%xmm0
  movss  %xmm0,-0x18c(%rbp)
  movl   $0x19,-0x19c(%rbp)
  mov    -0x19c(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x158(%rbp)
  mov    -0x19c(%rbp),%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x150(%rbp)
  mov    -0x1b0(%rbp),%edx
  mov    -0x19c(%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)
  lea    -0x1a8(%rbp),%r9
  lea    -0x1b8(%rbp),%r8
  mov    -0x168(%rbp),%rcx
  lea    -0x1a8(%rbp),%rdx
  lea    -0x1b0(%rbp),%rsi
  lea    -0x1c1(%rbp),%rax
  sub    $0x8,%rsp
  lea    -0x194(%rbp),%rdi
  push   %rdi
  push   -0x150(%rbp)
  lea    -0x198(%rbp),%rdi
  push   %rdi
  push   -0x148(%rbp)
  push   -0x158(%rbp)
  lea    -0x19c(%rbp),%rdi
  push   %rdi
  lea    -0x18c(%rbp),%rdi
  push   %rdi
  lea    -0x190(%rbp),%rdi
  push   %rdi
  lea    -0x1bc(%rbp),%rdi
  push   %rdi
  lea    -0x1c0(%rbp),%rdi
  push   %rdi
  lea    -0x120(%rbp),%rdi
  push   %rdi
  lea    -0x1b4(%rbp),%rdi
  push   %rdi
  push   -0x160(%rbp)
  mov    %rax,%rdi
  call   <sfeast_sbgv@plt>
  add    $0x70,%rsp
  lea    -0x130(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <gettimeofday@plt>
  mov    -0x194(%rbp),%eax
  mov    %eax,%esi
  lea    D52(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x194(%rbp),%eax
  test   %eax,%eax
  jne    L32
  lea    D35(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D166(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D35(%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  D77(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  lea    D198(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movss  -0x18c(%rbp),%xmm0
  cvtss2sd %xmm0,%xmm0
  movss  -0x190(%rbp),%xmm1
  pxor   %xmm4,%xmm4
  cvtss2sd %xmm1,%xmm4
  movq   %xmm4,%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D48(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  mov    -0x19c(%rbp),%edx
  mov    -0x198(%rbp),%eax
  mov    %eax,%esi
  lea    D8(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x1bc(%rbp),%eax
  mov    %eax,%esi
  lea    D17(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x180(%rbp)
  movl   $0x0,-0x1a4(%rbp)
  jmp    L58
L103:
  mov    -0x1a4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x158(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  -0x180(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x180(%rbp)
  mov    -0x1a4(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x1a4(%rbp)
L58:
  mov    -0x198(%rbp),%edx
  mov    -0x1a4(%rbp),%eax
  cmp    %eax,%edx
  jg     L103
  pxor   %xmm5,%xmm5
  cvtss2sd -0x180(%rbp),%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  lea    D76(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movss  -0x1c0(%rbp),%xmm0
  pxor   %xmm6,%xmm6
  cvtss2sd %xmm0,%xmm6
  movq   %xmm6,%rax
  movq   %rax,%xmm0
  lea    D165(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    D160(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x1a4(%rbp)
  jmp    L63
L4:
  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    D177(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  mov    -0x1a4(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x1a4(%rbp)
L63:
  mov    -0x198(%rbp),%edx
  mov    -0x1a4(%rbp),%eax
  cmp    %eax,%edx
  jg     L4
L32:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L111
  call   <__stack_chk_fail@plt>
L111:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D133
type_guessed: string
name: extract_symbolic_data
arguments: label: D211
type_guessed: string
name: extract_symbolic_data
arguments: label: D105
type_guessed: string
name: extract_symbolic_data
arguments: label: D129
type_guessed: string
name: extract_symbolic_data
arguments: label: D72
type_guessed: string
name: extract_symbolic_data
arguments: label: D99
type_guessed: string
name: extract_symbolic_data
arguments: label: D51
type_guessed: string
name: extract_symbolic_data
arguments: label: D151
type_guessed: f32
name: extract_symbolic_data
arguments: label: D217
type_guessed: f32
name: extract_symbolic_data
arguments: label: D52
type_guessed: string
name: extract_symbolic_data
arguments: label: D35
type_guessed: string
name: extract_symbolic_data
arguments: label: D166
type_guessed: string
name: extract_symbolic_data
arguments: label: D77
type_guessed: f64
name: extract_symbolic_data
arguments: label: D198
type_guessed: string
name: extract_symbolic_data
arguments: label: D48
type_guessed: string
name: extract_symbolic_data
arguments: label: D8
type_guessed: string
name: extract_symbolic_data
arguments: label: D17
type_guessed: string
name: extract_symbolic_data
arguments: label: D76
type_guessed: string
name: extract_symbolic_data
arguments: label: D165
type_guessed: string
name: extract_symbolic_data
arguments: label: D160
type_guessed: string
name: extract_symbolic_data
arguments: label: D177
type_guessed: string

tool: D133: r

tool: D211: %d%d


tool: D105: %d%d%f%f


tool: D129: %d%d

tool: D72: %f%f


tool: D99: dense matrix -system1- size %.d


tool: D51: bandwidth %d 


tool: D151: 0.18

tool: D217: 1

tool: D52: FEAST OUTPUT INFO %d


tool: D35: *************************************************

tool: D166: ************** REPORT ***************************

tool: D77: 1e-06

tool: D198: SIMULATION TIME %f


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


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


tool: D17: # iterations %d 


tool: D76: TRACE %f


tool: D165: Relative error on the Trace %f


tool: D160: Eigenvalues/Residuals

tool: D177:    %d %f %f


assistant: ```c
int main() {
  int feastparam[64];
  float epsout;
  int loop, LDA, LDB;
  char UPLO = 'F';
  FILE *fp;
  char name[] = "../../system1";
  int N, nnz, kl, ku;
  float *A, *B;
  struct timeval t1, t2;
  int i, j, k, n2, err;
  int M0, M, info;
  float Emin, Emax, trace, dum;
  float *X;
  float *E, *res;
  kl = 0;
  fp = fopen(name, "r");
  err = fscanf(fp, "%d%d\n", &N, &nnz);
  for (k = 0; k <= nnz - 1; k++) {
    err = fscanf(fp, "%d%d%f%f\n", &i, &j, &dum, &dum);
    if (abs(i - j) > kl) {
      kl = abs(i - j);
    }
  }
  fclose(fp);
  ku = kl;
  LDA = (kl + ku + 1);
  LDB = LDA;
  n2 = N * (kl + ku + 1);
  A = calloc(n2, sizeof(float));
  B = calloc(n2, sizeof(float));
  for (i = 0; i <= n2 - 1; i++) {
    *(A + i) = (float)0.0;
    *(B + i) = (float)0.0;
  };
  fp = fopen(name, "r");
  err = fscanf(fp, "%d%d\n", &N, &nnz);
  for (k = 0; k <= nnz - 1; k++) {
    err = fscanf(fp, "%d%d", &i, &j);
    err = fscanf(fp, "%f%f\n", A + (j - 1) * LDA + ku + (i - j), B + (j - 1) * LDB + ku + (i - j));
  };
  fclose(fp);
  printf("dense matrix -system1- size %.d\n", N);
  printf("bandwidth %d \n", kl + ku + 1);
  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_sbgv(&UPLO, &N, &kl, A, &LDA, &kl, B, &LDB, 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;
}
```