user: 下面的汇编指令对应的C源代码是什么：

```asm
<parse_gamess_out>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xb8,%rsp
  mov    %edi,%r15d
  mov    %esi,%r13d
  mov    %esi,0x14(%rsp)
  mov    %rdx,0x48(%rsp)
  mov    %rcx,0x38(%rsp)
  mov    %r8,0x40(%rsp)
  mov    %r9,0x20(%rsp)
  mov    0xf0(%rsp),%rbx
  mov    %rbx,0x28(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0xa8(%rsp)
  xor    %eax,%eax
  lea    0x6(%rdi),%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  sar    $0x21,%rax
  sar    $0x1f,%edx
  sub    %edx,%eax
  mov    %eax,0x10(%rsp)
  lea    0x1(%rax),%r14d
  mov    %r14d,0xc(%rsp)
  lea    D57(%rip),%rsi
  lea    D0(%rip),%rdi
  call   <fopen@plt>
  test   %rax,%rax
  je     L258
  mov    %rax,%rbp
  lea    -0x1(%r13),%eax
  lea    (%rax,%rax,2),%rax
  shl    $0x4,%rax
  lea    0x30(%rbx,%rax,1),%rax
  mov    %rax,0x18(%rsp)
  mov    %r14d,0x8(%rsp)
  movl   $0x0,0x30(%rsp)
  jmp    L436
L19:
  subl   $0x1,0x8(%rsp)
L282:
  lea    0x50(%rsp),%rdi
  lea    D42(%rip),%rsi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L166
L197:
  lea    0x50(%rsp),%rdi
  lea    D46(%rip),%rsi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L45
L343:
  lea    0x50(%rsp),%rdi
  lea    D77(%rip),%rsi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L134
L436:
  lea    0x50(%rsp),%rdi
  mov    %rbp,%rdx
  mov    $0x50,%esi
  call   <fgets@plt>
  test   %rax,%rax
  je     L287
  lea    0x50(%rsp),%rdi
  lea    D2(%rip),%rsi
  call   <strstr@plt>
  test   %rax,%rax
  je     L282
  mov    0xc(%rsp),%ecx
  cmp    %ecx,0x8(%rsp)
  je     L19
  mov    0x8(%rsp),%ecx
  cmp    %ecx,0x10(%rsp)
  je     L406
  cmpl   $0x0,0x8(%rsp)
  jle    L282
  lea    0x62(%rsp),%rbx
  lea    0x9e(%rsp),%r12
  mov    0x30(%rsp),%r13d
  jmp    L132
L406:
  lea    0x6e(%rsp),%rbx
  lea    0x9e(%rsp),%r12
  mov    0x30(%rsp),%r13d
  jmp    L120
L33:
  add    $0xc,%rbx
  cmp    %r12,%rbx
  je     L352
L120:
  cmp    %r13d,%r15d
  jle    L33
  movslq %r13d,%rax
  mov    0x48(%rsp),%rcx
  lea    (%rcx,%rax,8),%r14
  mov    %rbx,%rdi
  call   <atof@plt>
  movsd  %xmm0,(%r14)
  add    $0x1,%r13d
  jmp    L33
L352:
  mov    %r13d,0x30(%rsp)
  subl   $0x1,0x8(%rsp)
  jmp    L282
L11:
  add    $0xc,%rbx
  cmp    %r12,%rbx
  je     L110
L132:
  cmp    %r13d,%r15d
  jle    L11
  movslq %r13d,%rax
  mov    0x48(%rsp),%rcx
  lea    (%rcx,%rax,8),%r14
  mov    %rbx,%rdi
  call   <atof@plt>
  movsd  %xmm0,(%r14)
  add    $0x1,%r13d
  jmp    L11
L110:
  mov    %r13d,0x30(%rsp)
  subl   $0x1,0x8(%rsp)
  jmp    L282
L166:
  lea    0x64(%rsp),%rdi
  call   <atof@plt>
  mov    0x38(%rsp),%r14
  movsd  %xmm0,(%r14)
  lea    0x7b(%rsp),%rdi
  call   <atof@plt>
  mov    0x40(%rsp),%rax
  movsd  %xmm0,(%rax)
  cmp    $0x1,%r15d
  jle    L197
  mov    %r15d,%r13d
  mov    $0x1,%ebx
  lea    0x50(%rsp),%r12
  mov    %r15d,0x34(%rsp)
  mov    %r14,%r15
  mov    %rax,%r14
  jmp    L365
L28:
  add    $0x1,%rbx
  cmp    %r13,%rbx
  je     L26
L365:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L28
  lea    0x64(%rsp),%rdi
  call   <atof@plt>
  movsd  %xmm0,(%r15,%rbx,8)
  lea    0x7b(%rsp),%rdi
  call   <atof@plt>
  movsd  %xmm0,(%r14,%rbx,8)
  jmp    L28
L45:
  test   %r15d,%r15d
  jle    L343
L451:
  mov    0x20(%rsp),%r13
  mov    $0x0,%r14d
  lea    0x50(%rsp),%r12
  jmp    L21
L279:
  mov    $0xf,%ebx
L66:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  sub    $0x1,%ebx
  jne    L66
  add    $0x1,%r14d
  add    $0x20,%r13
  cmp    %r14d,%r15d
  jle    L343
L21:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L321
  lea    0x5f(%rsp),%rdi
  call   <atof@plt>
  movsd  %xmm0,0x0(%r13)
  lea    0x6c(%rsp),%rdi
  call   <atoi@plt>
  mov    %eax,%esi
  mov    $0xa,%edi
  call   <pow@plt>
  mulsd  0x0(%r13),%xmm0
  movsd  %xmm0,0x0(%r13)
L321:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L46
  lea    0x5f(%rsp),%rdi
  call   <atof@plt>
  movsd  %xmm0,0x8(%r13)
  lea    0x6c(%rsp),%rdi
  call   <atoi@plt>
  mov    %eax,%esi
  mov    $0xa,%edi
  call   <pow@plt>
  mulsd  0x8(%r13),%xmm0
  movsd  %xmm0,0x8(%r13)
L46:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L279
  lea    0x5f(%rsp),%rdi
  call   <atof@plt>
  movsd  %xmm0,0x10(%r13)
  lea    0x6c(%rsp),%rdi
  call   <atoi@plt>
  mov    %eax,%esi
  mov    $0xa,%edi
  call   <pow@plt>
  mulsd  0x10(%r13),%xmm0
  movsd  %xmm0,0x10(%r13)
  jmp    L279
L134:
  cmpl   $0x0,0x14(%rsp)
  jle    L436
  mov    0x28(%rsp),%rbx
  lea    0x50(%rsp),%r12
  mov    0x18(%rsp),%r13
  jmp    L308
L428:
  add    $0x30,%rbx
  cmp    %rbx,%r13
  je     L436
L308:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L298
  lea    0x5f(%rsp),%rdi
  call   <atof@plt>
  movsd  %xmm0,(%rbx)
  lea    0x6c(%rsp),%rdi
  call   <atoi@plt>
  mov    %eax,%esi
  mov    $0xa,%edi
  call   <pow@plt>
  mulsd  (%rbx),%xmm0
  movsd  %xmm0,(%rbx)
L298:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L301
  lea    0x5f(%rsp),%rdi
  call   <atof@plt>
  movsd  %xmm0,0x8(%rbx)
  lea    0x6c(%rsp),%rdi
  call   <atoi@plt>
  mov    %eax,%esi
  mov    $0xa,%edi
  call   <pow@plt>
  mulsd  0x8(%rbx),%xmm0
  movsd  %xmm0,0x8(%rbx)
L301:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L8
  lea    0x5f(%rsp),%rdi
  call   <atof@plt>
  movsd  %xmm0,0x10(%rbx)
  lea    0x6c(%rsp),%rdi
  call   <atoi@plt>
  mov    %eax,%esi
  mov    $0xa,%edi
  call   <pow@plt>
  mulsd  0x10(%rbx),%xmm0
  movsd  %xmm0,0x10(%rbx)
L8:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L289
  lea    0x5f(%rsp),%rdi
  call   <atof@plt>
  movsd  %xmm0,0x18(%rbx)
  lea    0x6c(%rsp),%rdi
  call   <atoi@plt>
  mov    %eax,%esi
  mov    $0xa,%edi
  call   <pow@plt>
  mulsd  0x18(%rbx),%xmm0
  movsd  %xmm0,0x18(%rbx)
L289:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L224
  lea    0x5f(%rsp),%rdi
  call   <atof@plt>
  movsd  %xmm0,0x20(%rbx)
  lea    0x6c(%rsp),%rdi
  call   <atoi@plt>
  mov    %eax,%esi
  mov    $0xa,%edi
  call   <pow@plt>
  mulsd  0x20(%rbx),%xmm0
  movsd  %xmm0,0x20(%rbx)
L224:
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L428
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  jmp    L428
L287:
  mov    %rbp,%rdi
  call   <fclose@plt>
L349:
  mov    0xa8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L375
  mov    $0x0,%eax
  add    $0xb8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L258:
  lea    D38(%rip),%rdi
  call   <printf@plt>
  jmp    L349
L26:
  mov    0x34(%rsp),%r15d
  lea    0x50(%rsp),%rdi
  lea    D46(%rip),%rsi
  call   <strstr@plt>
  test   %rax,%rax
  je     L343
  jmp    L451
L375:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D57
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D0
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D42
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D46
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D77
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D2
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D38
type_guessed: string

tool: D57: r

tool: D0: output

tool: D42: MODE # 1   QRANGE=

tool: D46: QFF>  MODE=

tool: D77: QFF>  MODE (I,J)

tool: D2: FREQUENCY:

tool: D38: Can not open 'output' GAMESS output file, data should be provided in the input file 


assistant: ```c
int parse_gamess_out(const int nmodes, const int npairs, double harmonic[nmodes], double xrange[nmodes], double deltax[nmodes], double fdiag[nmodes][4], double foffdiag[npairs][6]) {
  char line[82], *pos;
  FILE *fp;
  int ex;
  int freq_line_count, freq_line_max;
  int harmonic_count = 0, i, j;
  freq_line_count = freq_line_max = (nmodes + 6) / 5 + 1;
  if ((fp = fopen("output", "r")) != NULL) {
    while (fgets(line, 80, fp) != NULL) {
      if ((pos = strstr(line, "FREQUENCY:")) != NULL) {
        if (freq_line_count == freq_line_max) {
          freq_line_count--;
        } else if (freq_line_count == (freq_line_max - 1)) {
          for (i = 1; i < 5; i++)
            if (harmonic_count < nmodes) {
              harmonic[harmonic_count] = atof(&line[18 + 12 * i]);
              harmonic_count++;
            }
          freq_line_count--;
        } else if (freq_line_count > 0) {
          for (i = 0; i < 5; i++)
            if (harmonic_count < nmodes) {
              harmonic[harmonic_count] = atof(&line[18 + 12 * i]);
              harmonic_count++;
            }
          freq_line_count--;
        }
      }
      if (strstr(line, "MODE # 1   QRANGE=") != NULL) {
        xrange[0] = atof(&line[20]);
        deltax[0] = atof(&line[43]);
        for (i = 1; i < nmodes; i++) {
          if (fgets(line, 80, fp) != NULL) {
            xrange[i] = atof(&line[20]);
            deltax[i] = atof(&line[43]);
          }
        }
      }
      if (strstr(line, "QFF>  MODE=") != NULL) {
        for (i = 0; i < nmodes; i++) {
          if (fgets(line, 80, fp) != NULL) {
            fdiag[i][0] = atof(&line[15]);
            ex = atoi(&line[28]);
            fdiag[i][0] *= pow(10, ex);
          }
          if (fgets(line, 80, fp) != NULL) {
            fdiag[i][1] = atof(&line[15]);
            ex = atoi(&line[28]);
            fdiag[i][1] *= pow(10, ex);
          }
          if (fgets(line, 80, fp) != NULL) {
            fdiag[i][2] = atof(&line[15]);
            ex = atoi(&line[28]);
            fdiag[i][2] *= pow(10, ex);
          }
          for (j = 0; j < 15; j++)
            if (fgets(line, 80, fp) != NULL)
              ;
        }
      }
      if (strstr(line, "QFF>  MODE (I,J)") != NULL) {
        for (i = 0; i < npairs; i++) {
          if (fgets(line, 80, fp) != NULL) {
            foffdiag[i][0] = atof(&line[15]);
            ex = atoi(&line[28]);
            foffdiag[i][0] *= pow(10, ex);
          }
          if (fgets(line, 80, fp) != NULL) {
            foffdiag[i][1] = atof(&line[15]);
            ex = atoi(&line[28]);
            foffdiag[i][1] *= pow(10, ex);
          }
          if (fgets(line, 80, fp) != NULL) {
            foffdiag[i][2] = atof(&line[15]);
            ex = atoi(&line[28]);
            foffdiag[i][2] *= pow(10, ex);
          }
          if (fgets(line, 80, fp) != NULL) {
            foffdiag[i][3] = atof(&line[15]);
            ex = atoi(&line[28]);
            foffdiag[i][3] *= pow(10, ex);
          }
          if (fgets(line, 80, fp) != NULL) {
            foffdiag[i][4] = atof(&line[15]);
            ex = atoi(&line[28]);
            foffdiag[i][4] *= pow(10, ex);
          }
          if (fgets(line, 80, fp) != NULL)
            if (fgets(line, 80, fp) != NULL)
              ;
        }
      }
    }
    fclose(fp);
  } else {
    printf("Can not open \'output\' GAMESS output file, data should be provided in the input file \n");
  }
  return 0;
}
```