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

```asm
<First_Pass>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %rsi,0x10(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x4c(%rsp)
  movl   $0x4,0x50(%rsp)
  movl   $0x3,0x54(%rsp)
  movslq %edi,%rax
  movb   $0x43,(%rdx,%rax,1)
  movb   $0x43,0x1(%rdx)
  test   %edi,%edi
  jle    L158
  mov    %edi,%r14d
  mov    %rdx,%r15
  mov    $0x1,%ebx
  mov    $0x0,%r13d
  lea    0x8(%rsi),%rax
  mov    %rax,0x18(%rsp)
  jmp    L78
L51:
  test   %r13d,%r13d
  jne    L140
L84:
  add    $0x1,%rbx
  cmp    %ebx,%r14d
  jl     L158
L78:
  mov    %ebx,0x8(%rsp)
  cmpb   $0x43,(%r15,%rbx,1)
  je     L51
  test   %r13d,%r13d
  jne    L84
  mov    %ebx,0xc(%rsp)
  mov    $0x1,%r13d
  jmp    L84
L140:
  mov    0xc(%rsp),%ebp
  movslq %ebp,%r12
  mov    %r12,0x20(%rsp)
  lea    (%r15,%r12,1),%rax
  mov    %rax,0x28(%rsp)
  movsbl (%rax),%edi
  call   <obs_indx@plt>
  mov    %eax,%edi
  movl   $0x0,0x48(%rsp)
  movl   $0x1,0x44(%rsp)
  mov    %ebp,%ecx
  lea    0x1(%rbp),%ebp
  mov    0x8(%rsp),%esi
  lea    -0x1(%rsi),%eax
  mov    %eax,0x3c(%rsp)
  cmp    %eax,%ebp
  jg     L17
  movslq %ebp,%rbp
  add    %r15,%rbp
  lea    0x2(%r15,%r12,1),%rax
  sub    %ecx,%esi
  lea    -0x2(%rsi),%edx
  add    %rdx,%rax
  mov    %rbx,0x30(%rsp)
  mov    %edi,%ebx
  mov    %r14d,0x38(%rsp)
  mov    %rax,%r14
  jmp    L46
L179:
  movsbl (%r12),%edi
  call   <obs_indx@plt>
  mov    %eax,%ebx
  add    $0x1,%rbp
  cmp    %r14,%rbp
  je     L189
L46:
  mov    %rbp,%r12
  movsbl 0x0(%rbp),%edi
  call   <obs_indx@plt>
  movslq %ebx,%rbx
  cmp    %rbx,%rax
  setne  %al
  movzbl %al,%eax
  add    %eax,%r13d
  cmp    $0x2,%r13d
  jg     L179
  movslq %r13d,%rax
  addl   $0x1,0x40(%rsp,%rax,4)
  jmp    L179
L189:
  mov    0x30(%rsp),%rbx
  mov    0x38(%rsp),%r14d
  cmp    $0x2,%r13d
  jg     L168
L17:
  mov    0x44(%rsp),%ebp
  mov    0x28(%rsp),%rax
  movsbl (%rax),%edi
  call   <obs_indx@plt>
  cmp    0x4c(%rsp,%rax,4),%ebp
  jl     L168
  mov    0x48(%rsp),%ebp
  movsbl -0x1(%r15,%rbx,1),%edi
  call   <obs_indx@plt>
  mov    $0x0,%r13d
  cmp    0x4c(%rsp,%rax,4),%ebp
  jge    L84
L168:
  mov    0x3c(%rsp),%ecx
  mov    $0x0,%r13d
  cmp    %ecx,0xc(%rsp)
  jg     L84
  mov    0x10(%rsp),%rax
  mov    0x20(%rsp),%rcx
  lea    (%rax,%rcx,8),%rax
  mov    0x8(%rsp),%edx
  sub    0xc(%rsp),%edx
  lea    -0x1(%rdx),%esi
  lea    (%rcx,%rsi,1),%rdx
  mov    0x18(%rsp),%rcx
  lea    (%rcx,%rdx,8),%rcx
  movsd  D3(%rip),%xmm0
  movapd %xmm0,%xmm1
L0:
  mov    (%rax),%rdx
  pxor   %xmm2,%xmm2
  cvtss2sd 0x4(%rdx),%xmm2
  mulsd  %xmm2,%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd 0x8(%rdx),%xmm2
  mulsd  %xmm2,%xmm0
  add    $0x8,%rax
  cmp    %rcx,%rax
  jne    L0
  comisd %xmm0,%xmm1
  ja     L177
  mov    0x28(%rsp),%rdx
  mov    0x8(%rsp),%eax
  sub    0xc(%rsp),%eax
  lea    -0x1(%rax),%eax
  mov    0x20(%rsp),%rcx
  lea    0x1(%r15,%rcx,1),%rcx
  add    %rcx,%rax
L151:
  movb   $0x45,(%rdx)
  add    $0x1,%rdx
  cmp    %rdx,%rax
  jne    L151
  mov    $0x0,%r13d
  jmp    L84
L177:
  mov    0x28(%rsp),%rax
  mov    0x20(%rsp),%rcx
  lea    0x1(%r15,%rcx,1),%rdx
  add    %rsi,%rdx
L125:
  movb   $0x48,(%rax)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L125
  mov    $0x0,%r13d
  jmp    L84
L158:
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L72
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L72:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D3
type_guessed: f64

tool: D3: 1

assistant: ```c
void First_Pass(int nres, float **proba, char *pred) {
  int ires;
  int lim1, lim2;
  int open;
  int kk;
  int type;
  int block[3];
  int nseg;
  int size[3] = {0, 4, 3};
  double ptot[3];
  pred[1] = pred[nres] = 'C';
  open = 0;
  for (ires = 1; ires <= nres; ires++) {
    if (pred[ires] != 'C') {
      if (!open) {
        open = 1;
        lim1 = ires;
      }
    } else {
      if (open) {
        open = 0;
        lim2 = ires - 1;
        type = obs_indx(pred[lim1]);
        block[1] = block[2] = 0;
        nseg = 1;
        block[nseg]++;
        for (kk = lim1 + 1; kk <= lim2; kk++) {
          if (obs_indx(pred[kk]) != type)
            nseg++;
          if (nseg <= 2)
            block[nseg]++;
          type = obs_indx(pred[kk]);
        }
        if (nseg > 2 || block[1] < size[obs_indx(pred[lim1])] || block[2] < size[obs_indx(pred[lim2])]) {
          ptot[1] = ptot[2] = 1.0;
          for (kk = lim1; kk <= lim2; kk++) {
            ptot[1] = ptot[1] * proba[kk][1];
            ptot[2] = ptot[2] * proba[kk][2];
          }
          if (ptot[1] > ptot[2]) {
            for (kk = lim1; kk <= lim2; kk++)
              pred[kk] = 'H';
          } else {
            for (kk = lim1; kk <= lim2; kk++)
              pred[kk] = 'E';
          }
        }
      }
    }
  }
}
```