user: 请从给定的汇编指令推导出C源代码：

```asm
<build_transij>:
  endbr64
  push   %r15
  pxor   %xmm0,%xmm0
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    0x38(%rsp),%r11
  movl   $0x0,0x20(%r11)
  movups %xmm0,(%r11)
  movups %xmm0,0x10(%r11)
  test   %edx,%edx
  jle    L335
  mov    %edx,%eax
  mov    %ecx,%ebx
  lea    0x1(%r8),%r12d
  movslq %r9d,%r15
  movabs $0x8000000000007001,%rbp
  sub    $0x1,%eax
  movslq %r8d,%r14
  lea    0x4(%rsi,%rax,4),%r13
L27:
  test   %r8d,%r8d
  jle    L355
  mov    (%rdi),%rax
  cmpb   $0x2c,-0x1(%rax,%r14,1)
  je     L225
L355:
  cmp    %r9d,%ebx
  jl     L79
  mov    (%rdi),%rax
  cmpb   $0x2c,-0x1(%rax,%r15,1)
  je     L225
L79:
  cmp    %r12d,%r9d
  jle    L200
  mov    (%rdi),%rcx
  movslq %r12d,%rdx
  xor    %r10d,%r10d
  jmp    L356
  nopl   0x0(%rax)
L9:
  add    $0x1,%rdx
  add    $0x1,%r10d
  cmp    %edx,%r9d
  jle    L219
L356:
  movzbl -0x1(%rcx,%rdx,1),%eax
  sub    $0x20,%eax
  cmp    $0x3f,%al
  ja     L9
  bt     %rax,%rbp
  jae    L9
  add    $0x1,%rdx
  cmp    %edx,%r9d
  jg     L356
L219:
  test   %r10d,%r10d
  je     L200
  test   %r8d,%r8d
  jle    L136
  movzbl -0x1(%rcx,%r14,1),%eax
  sub    $0x20,%eax
  cmp    $0x3f,%al
  ja     L136
  movabs $0x8000000000006001,%rdx
  bt     %rax,%rdx
  jae    L136
  movss  0x1c(%r11),%xmm0
  addss  (%rsi),%xmm0
  movss  %xmm0,0x1c(%r11)
L113:
  cmp    %r9d,%ebx
  jl     L67
  movzbl -0x1(%rcx,%r15,1),%eax
  sub    $0x20,%eax
  cmp    $0x3f,%al
  ja     L67
  movabs $0x8000000000006001,%rcx
  bt     %rax,%rcx
  jae    L67
  movss  0x14(%r11),%xmm0
  addss  (%rsi),%xmm0
  movss  %xmm0,0x14(%r11)
L109:
  sub    $0x1,%r10d
  pxor   %xmm0,%xmm0
  cvtsi2ss %r10d,%xmm0
  mulss  (%rsi),%xmm0
  addss  0x10(%r11),%xmm0
  movss  %xmm0,0x10(%r11)
L225:
  add    $0x4,%rsi
  add    $0x8,%rdi
  cmp    %rsi,%r13
  jne    L27
L335:
  pop    %rbx
  mov    $0x1,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L200:
  test   %r8d,%r8d
  jle    L155
  mov    (%rdi),%rdx
  movzbl -0x1(%rdx,%r14,1),%eax
  sub    $0x20,%eax
  cmp    $0x3f,%al
  ja     L155
  movabs $0x8000000000006001,%rcx
  bt     %rax,%rcx
  jae    L155
  cmp    %r9d,%ebx
  jl     L374
  movzbl -0x1(%rdx,%r15,1),%eax
  sub    $0x20,%eax
  cmp    $0x3f,%al
  ja     L374
  bt     %rax,%rcx
  jae    L374
  movss  0x20(%r11),%xmm0
  addss  (%rsi),%xmm0
  add    $0x4,%rsi
  add    $0x8,%rdi
  movss  %xmm0,0x20(%r11)
  cmp    %rsi,%r13
  jne    L27
  jmp    L335
  nop
L374:
  movss  0x18(%r11),%xmm0
  addss  (%rsi),%xmm0
  add    $0x4,%rsi
  add    $0x8,%rdi
  movss  %xmm0,0x18(%r11)
  cmp    %rsi,%r13
  jne    L27
  jmp    L335
  cs nopw 0x0(%rax,%rax,1)
L67:
  movss  0xc(%r11),%xmm0
  addss  (%rsi),%xmm0
  movss  %xmm0,0xc(%r11)
  jmp    L109
  nopl   (%rax)
L136:
  movss  0x4(%r11),%xmm0
  addss  (%rsi),%xmm0
  movss  %xmm0,0x4(%r11)
  jmp    L113
  nopl   (%rax)
L155:
  cmp    %r9d,%ebx
  jl     L47
  mov    (%rdi),%rax
  movzbl -0x1(%rax,%r15,1),%eax
  sub    $0x20,%eax
  cmp    $0x3f,%al
  ja     L47
  movabs $0x8000000000006001,%rcx
  bt     %rax,%rcx
  jae    L47
  movss  0x8(%r11),%xmm0
  addss  (%rsi),%xmm0
  add    $0x4,%rsi
  add    $0x8,%rdi
  movss  %xmm0,0x8(%r11)
  cmp    %rsi,%r13
  jne    L27
  jmp    L335
  nopl   0x0(%rax,%rax,1)
L47:
  movss  (%r11),%xmm0
  addss  (%rsi),%xmm0
  add    $0x4,%rsi
  add    $0x8,%rdi
  movss  %xmm0,(%r11)
  cmp    %rsi,%r13
  jne    L27
  jmp    L335
```

assistant: ```c
int build_transij(char **aseqs, float *weights, int nseq, int M, int i, int j, float transij[3][3]) {
  int x, y;
  int idx;
  int inscount;
  int pos;
  for (x = 0; x < 3; x++)
    for (y = 0; y < 3; y++)
      transij[x][y] = 0.0;
  for (idx = 0; idx < nseq; idx++) {
    if (i > 0 && aseqs[idx][i - 1] == ',')
      continue;
    if (j < M + 1 && aseqs[idx][j - 1] == ',')
      continue;
    inscount = 0;
    for (pos = i + 1; pos < j; pos++)
      if (aseqs[idx][pos - 1] != ',' && !((aseqs[idx][pos - 1]) == ' ' || (aseqs[idx][pos - 1]) == '.' || (aseqs[idx][pos - 1]) == '_' || (aseqs[idx][pos - 1]) == '-'))
        inscount++;
    if (inscount > 0) {
      if (i > 0 && ((aseqs[idx][i - 1]) == ' ' || (aseqs[idx][i - 1]) == '.' || (aseqs[idx][i - 1]) == '_' || (aseqs[idx][i - 1]) == '-'))
        transij[2][1] += weights[idx];
      else
        transij[0][1] += weights[idx];
      if (j < M + 1 && ((aseqs[idx][j - 1]) == ' ' || (aseqs[idx][j - 1]) == '.' || (aseqs[idx][j - 1]) == '_' || (aseqs[idx][j - 1]) == '-'))
        transij[1][2] += weights[idx];
      else
        transij[1][0] += weights[idx];
      transij[1][1] += weights[idx] * (inscount - 1);
    } else {
      if (i > 0 && ((aseqs[idx][i - 1]) == ' ' || (aseqs[idx][i - 1]) == '.' || (aseqs[idx][i - 1]) == '_' || (aseqs[idx][i - 1]) == '-')) {
        if (j < M + 1 && ((aseqs[idx][j - 1]) == ' ' || (aseqs[idx][j - 1]) == '.' || (aseqs[idx][j - 1]) == '_' || (aseqs[idx][j - 1]) == '-'))
          transij[2][2] += weights[idx];
        else
          transij[2][0] += weights[idx];
      } else {
        if (j < M + 1 && ((aseqs[idx][j - 1]) == ' ' || (aseqs[idx][j - 1]) == '.' || (aseqs[idx][j - 1]) == '_' || (aseqs[idx][j - 1]) == '-'))
          transij[0][2] += weights[idx];
        else
          transij[0][0] += weights[idx];
      }
    }
  }
  return 1;
}
```