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

```asm
<_tram_discrete_log_likelihood_lower_bound>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %rcx,0x58(%rsp)
  mov    %r8d,0x4c(%rsp)
  mov    %r9d,0x14(%rsp)
  test   %r8d,%r8d
  jle    L57
  mov    %rdx,%rax
  mov    %r9d,%edx
  movslq %r9d,%r12
  mov    %rdi,0x20(%rsp)
  imul   %r9d,%edx
  mov    %rax,0x30(%rsp)
  lea    0x0(,%r12,8),%rbx
  lea    0x0(,%r12,4),%rax
  mov    %rbx,0x38(%rsp)
  mov    %rsi,0x50(%rsp)
  movslq %edx,%rdx
  mov    %rax,0x18(%rsp)
  lea    0x0(,%rdx,4),%rdi
  mov    %rsi,0x28(%rsp)
  mov    %rdi,0x40(%rsp)
  movl   $0x0,0x48(%rsp)
  movq   $0x0,0x8(%rsp)
  cs nopw 0x0(%rax,%rax,1)
L148:
  mov    0x14(%rsp),%r14d
  mov    0x30(%rsp),%rbx
  mov    0xa8(%rsp),%r9
  mov    0xa0(%rsp),%r8
  mov    0x28(%rsp),%rsi
  mov    0x20(%rsp),%rdi
  mov    %r14d,%ecx
  mov    %rbx,%rdx
  call   <_tram_estimate_transition_matrix@plt>
  test   %r14d,%r14d
  jle    L113
  xor    %r13d,%r13d
  xor    %ebp,%ebp
  nopl   (%rax)
L72:
  xor    %r15d,%r15d
  jmp    L4
  nopl   (%rax)
L128:
  call   <log@plt>
  pxor   %xmm0,%xmm0
  imul   %r14d,%eax
  cvtsi2sd %eax,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
L159:
  add    $0x1,%r15
  cmp    %r15,%r12
  je     L73
L4:
  mov    (%rbx,%r15,4),%r14d
  test   %r14d,%r14d
  je     L159
  mov    0xa8(%rsp),%rax
  lea    0x0(%r13,%r15,1),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  cmp    %r15d,%ebp
  jne    L128
  call   <log@plt>
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  pxor   %xmm3,%xmm3
  cvtsi2sd %r14d,%xmm0
  add    $0x1,%r15
  cvtsi2sd %eax,%xmm1
  addsd  %xmm3,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  cmp    %r15,%r12
  jne    L4
  nopl   0x0(%rax,%rax,1)
L73:
  mov    0x14(%rsp),%eax
  add    $0x1,%ebp
  add    0x18(%rsp),%rbx
  add    %eax,%r13d
  cmp    %ebp,%eax
  jne    L72
L113:
  mov    0x48(%rsp),%eax
  mov    0x38(%rsp),%rsi
  mov    0x40(%rsp),%rcx
  add    %rsi,0x20(%rsp)
  add    %rsi,0x28(%rsp)
  add    $0x1,%eax
  add    %rcx,0x30(%rsp)
  cmp    %eax,0x4c(%rsp)
  je     L102
  mov    %eax,0x48(%rsp)
  jmp    L148
L102:
  mov    0x14(%rsp),%ebx
  mov    0x58(%rsp),%rcx
  mov    %rsi,%r11
  xor    %edi,%edi
  mov    0x18(%rsp),%r9
  mov    0x50(%rsp),%r8
  pxor   %xmm0,%xmm0
  mov    0x48(%rsp),%r10d
  lea    -0x1(%rbx),%esi
  nopw   0x0(%rax,%rax,1)
L93:
  test   %ebx,%ebx
  jle    L31
  xor    %eax,%eax
  jmp    L119
  nopl   0x0(%rax,%rax,1)
L78:
  mov    %rdx,%rax
L119:
  mov    (%rcx,%rax,4),%edx
  test   %edx,%edx
  jle    L120
  pxor   %xmm1,%xmm1
  cvtsi2sd %edx,%xmm1
  mulsd  (%r8,%rax,8),%xmm1
  addsd  %xmm1,%xmm0
L120:
  lea    0x1(%rax),%rdx
  cmp    %rax,%rsi
  jne    L78
L31:
  lea    0x1(%rdi),%eax
  add    %r9,%rcx
  add    %r11,%r8
  cmp    %edi,%r10d
  je     L32
  mov    %eax,%edi
  jmp    L93
L32:
  addsd  0x8(%rsp),%xmm0
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L57:
  add    $0x68,%rsp
  pxor   %xmm0,%xmm0
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
double _tram_discrete_log_likelihood_lower_bound(double *log_lagrangian_mult, double *biased_conf_energies, int *count_matrices, int *state_counts, int n_therm_states, int n_conf_states, double *scratch_M, double *scratch_MM) {
  double a, b;
  int K, i, j;
  int KM, KMM, Ki;
  int CKij;
  double *T_ij;
  a = 0;
  T_ij = scratch_MM;
  for (K = 0; K < n_therm_states; ++K) {
    KM = K * n_conf_states;
    KMM = KM * n_conf_states;
    _tram_estimate_transition_matrix(&log_lagrangian_mult[KM], &biased_conf_energies[KM], &count_matrices[KMM], n_conf_states, scratch_M, T_ij);
    for (i = 0; i < n_conf_states; ++i) {
      for (j = 0; j < n_conf_states; ++j) {
        CKij = count_matrices[KMM + i * n_conf_states + j];
        if (0 == CKij)
          continue;
        if (i == j) {
          a += ((double)CKij + 0) * log(T_ij[i * n_conf_states + j]);
        } else {
          a += CKij * log(T_ij[i * n_conf_states + j]);
        }
      }
    }
  }
  b = 0;
  for (K = 0; K < n_therm_states; ++K) {
    KM = K * n_conf_states;
    for (i = 0; i < n_conf_states; ++i) {
      Ki = KM + i;
      if (state_counts[Ki] > 0)
        b += (state_counts[Ki] + 0) * biased_conf_energies[Ki];
    }
  }
  return a + b;
}
```