user: 这段汇编代码用C语言表示是什么样的:

```asm
<pll_core_create_lookup>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %edi,-0x64(%rbp)
  mov    %esi,-0x68(%rbp)
  mov    %rdx,-0x70(%rbp)
  mov    %rcx,-0x78(%rbp)
  mov    %r8,-0x80(%rbp)
  mov    %r9,-0x88(%rbp)
  cmpl   $0x4,-0x64(%rbp)
  jne    L70
  mov    -0x80(%rbp),%rcx
  mov    -0x78(%rbp),%rdx
  mov    -0x70(%rbp),%rsi
  mov    -0x68(%rbp),%eax
  mov    %eax,%edi
  call   <pll_core_create_lookup_4x4@plt>
  jmp    L47
L70:
  movl   $0x0,-0x40(%rbp)
  mov    0x10(%rbp),%eax
  mov    %eax,-0x34(%rbp)
  mov    -0x34(%rbp),%eax
  mov    %eax,%edi
  call   <log2@plt>
  mov    %eax,%edi
  call   <ceil@plt>
  mov    %eax,-0x30(%rbp)
  mov    -0x64(%rbp),%eax
  imul   -0x68(%rbp),%eax
  mov    %eax,-0x2c(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movl   $0x0,-0x50(%rbp)
  jmp    L57
L28:
  movl   $0x0,-0x4c(%rbp)
  jmp    L123
L113:
  mov    -0x78(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x80(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  movl   $0x0,-0x40(%rbp)
  mov    -0x70(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x30(%rbp),%eax
  mov    -0x50(%rbp),%edx
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    -0x4c(%rbp),%eax
  add    %edx,%eax
  imul   -0x2c(%rbp),%eax
  mov    %eax,%eax
  shl    $0x3,%rax
  add    %rax,-0x8(%rbp)
  movl   $0x0,-0x48(%rbp)
  jmp    L55
L133:
  movl   $0x0,-0x54(%rbp)
  jmp    L3
L32:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x50(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x3c(%rbp)
  mov    -0x4c(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x38(%rbp)
  movl   $0x0,-0x44(%rbp)
  jmp    L103
L49:
  mov    -0x3c(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L1
  mov    -0x44(%rbp),%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  -0x28(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
L1:
  mov    -0x38(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L104
  mov    -0x44(%rbp),%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  -0x20(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
L104:
  shrl   -0x3c(%rbp)
  shrl   -0x38(%rbp)
  addl   $0x1,-0x44(%rbp)
L103:
  mov    -0x44(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jb     L49
  mov    -0x64(%rbp),%eax
  shl    $0x3,%rax
  add    %rax,-0x18(%rbp)
  mov    -0x64(%rbp),%eax
  shl    $0x3,%rax
  add    %rax,-0x10(%rbp)
  mov    -0x40(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x40(%rbp)
  mov    %eax,%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x28(%rbp),%xmm0
  mulsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x54(%rbp)
L3:
  mov    -0x54(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jb     L32
  addl   $0x1,-0x48(%rbp)
L55:
  mov    -0x48(%rbp),%eax
  cmp    -0x68(%rbp),%eax
  jb     L133
  addl   $0x1,-0x4c(%rbp)
L123:
  mov    -0x4c(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jb     L113
  addl   $0x1,-0x50(%rbp)
L57:
  mov    -0x50(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jb     L28
L47:
  leave
  ret
```

assistant: ```c
void pll_core_create_lookup(unsigned int states, unsigned int rate_cats, double *lookup, const double *left_matrix, const double *right_matrix, const unsigned int *tipmap, unsigned int tipmap_size, unsigned int attrib) {
  if (states == 4) {
    pll_core_create_lookup_4x4(rate_cats, lookup, left_matrix, right_matrix);
    return;
  }
  unsigned int i, j, k, n, m;
  unsigned int index = 0;
  unsigned int maxstates = tipmap_size;
  unsigned int log2_maxstates = (unsigned int)ceil(log2(maxstates));
  unsigned int span = states * rate_cats;
  double termj = 0;
  double termk = 0;
  const double *jmat;
  const double *kmat;
  double *lh_statepair;
  for (j = 0; j < maxstates; ++j) {
    for (k = 0; k < maxstates; ++k) {
      jmat = left_matrix;
      kmat = right_matrix;
      index = 0;
      lh_statepair = lookup;
      lh_statepair += ((j << log2_maxstates) + k) * span;
      for (n = 0; n < rate_cats; ++n) {
        for (i = 0; i < states; ++i) {
          termj = 0;
          termk = 0;
          unsigned int jstate = tipmap[j];
          unsigned int kstate = tipmap[k];
          for (m = 0; m < states; ++m) {
            if (jstate & 1)
              termj += jmat[m];
            if (kstate & 1)
              termk += kmat[m];
            jstate >>= 1;
            kstate >>= 1;
          }
          jmat += states;
          kmat += states;
          lh_statepair[index++] = termj * termk;
        }
      }
    }
  }
}
```