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

```asm
<_forward>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %rcx,-0x50(%rbp)
  mov    %r8d,-0x54(%rbp)
  mov    %r9d,-0x58(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L121
L88:
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  -0x8(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  addl   $0x1,-0x24(%rbp)
L121:
  mov    -0x24(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L88
  mov    -0x8(%rbp),%rax
  movq   %rax,%xmm0
  call   <log@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x10(%rbp)
  pxor   %xmm0,%xmm0
  ucomisd -0x8(%rbp),%xmm0
  jp     L89
  pxor   %xmm0,%xmm0
  ucomisd -0x8(%rbp),%xmm0
  je     L32
L89:
  movl   $0x0,-0x24(%rbp)
  jmp    L11
L110:
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  divsd  -0x8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x24(%rbp)
L11:
  mov    -0x24(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L110
L32:
  movl   $0x0,-0x1c(%rbp)
  jmp    L150
L103:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L80
L65:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L20
L128:
  mov    -0x1c(%rbp),%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x24(%rbp),%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x18(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  addl   $0x1,-0x24(%rbp)
L20:
  mov    -0x24(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L128
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  -0x8(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  addl   $0x1,-0x20(%rbp)
L80:
  mov    -0x20(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L65
  pxor   %xmm0,%xmm0
  ucomisd -0x8(%rbp),%xmm0
  jp     L47
  pxor   %xmm0,%xmm0
  ucomisd -0x8(%rbp),%xmm0
  je     L113
L47:
  movl   $0x0,-0x20(%rbp)
  jmp    L10
L153:
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  divsd  -0x8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x20(%rbp)
L10:
  mov    -0x20(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L153
L113:
  mov    -0x8(%rbp),%rax
  movq   %rax,%xmm0
  call   <log@plt>
  movsd  -0x10(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  addl   $0x1,-0x1c(%rbp)
L150:
  mov    -0x58(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x1c(%rbp)
  jl     L103
  movsd  -0x10(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  leave
  ret
```

assistant: ```c
double _forward(double *alpha, const double *A, const double *pobs, const double *pi, int N, int T) {
  int i, j, t;
  double sum, logprob, scaling;
  scaling = 0.0;
  for (i = 0; i < N; i++) {
    alpha[i] = pi[i] * pobs[i];
    scaling += alpha[i];
  }
  logprob = log(scaling);
  if (scaling != 0)
    for (i = 0; i < N; i++)
      alpha[i] /= scaling;
  for (t = 0; t < T - 1; t++) {
    scaling = 0.0;
    for (j = 0; j < N; j++) {
      sum = 0.0;
      for (i = 0; i < N; i++) {
        sum += alpha[t * N + i] * A[i * N + j];
      }
      alpha[(t + 1) * N + j] = sum * pobs[(t + 1) * N + j];
      scaling += alpha[(t + 1) * N + j];
    }
    if (scaling != 0)
      for (j = 0; j < N; j++)
        alpha[(t + 1) * N + j] /= scaling;
    logprob += log(scaling);
  }
  return logprob;
}
```