user: 请将以下的汇编代码转换成C语言代码:

```asm
<crm_faster_3motifs_allt>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xb0,%rsp
  mov    %rdi,-0x78(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %rdx,-0x88(%rbp)
  mov    %rcx,-0x90(%rbp)
  mov    %r8d,-0x94(%rbp)
  mov    %r9d,-0x98(%rbp)
  mov    0x40(%rbp),%rax
  mov    %rax,-0xa0(%rbp)
  mov    0x50(%rbp),%rax
  mov    %rax,-0xa8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x5c(%rbp)
  movl   $0x0,-0x54(%rbp)
  movl   $0x0,-0x4c(%rbp)
  movl   $0x0,-0x48(%rbp)
  cmpl   $0x1,-0x48(%rbp)
  jne    L184
  lea    -0x64(%rbp),%rax
  mov    %rax,%rdi
  call   <ftime@plt>
L184:
  cmpl   $0x0,0x38(%rbp)
  jns    L161
  mov    0x30(%rbp),%eax
  mov    %eax,0x38(%rbp)
L161:
  movl   $0x0,-0x58(%rbp)
  jmp    L63
L176:
  addl   $0x1,-0x58(%rbp)
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xa0(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x44(%rbp)
  mov    0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xa0(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x40(%rbp)
  mov    0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xa0(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x3c(%rbp)
  mov    -0x44(%rbp),%edx
  mov    -0x40(%rbp),%eax
  add    %eax,%edx
  mov    -0x3c(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,0x20(%rbp)
  jg     L63
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x38(%rbp)
  mov    0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x34(%rbp)
  mov    0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x30(%rbp)
  mov    -0x30(%rbp),%edx
  mov    -0x34(%rbp),%ecx
  mov    -0x38(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <min3@plt>
  mov    %eax,-0x2c(%rbp)
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x28(%rbp)
  mov    0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x24(%rbp)
  mov    0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x20(%rbp)
  mov    -0x20(%rbp),%edx
  mov    -0x24(%rbp),%ecx
  mov    -0x28(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <max3@plt>
  mov    %eax,-0x1c(%rbp)
  mov    -0x2c(%rbp),%eax
  mov    %eax,-0x50(%rbp)
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  cmpl   $0x1,0x48(%rbp)
  jne    L137
  jmp    L62
L136:
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%edx
  mov    0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x78(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x58(%rbp),%eax
  cltq
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  lea    (%rdx,%rax,1),%ecx
  mov    0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  add    %ecx,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x14(%rbp),%eax
  cmp    0x20(%rbp),%eax
  jl     L163
  addl   $0x1,-0x4c(%rbp)
  mov    -0x4c(%rbp),%eax
  cmp    -0x94(%rbp),%eax
  jle    L143
  addl   $0x1,-0x5c(%rbp)
  jmp    L165
L143:
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  lea    0x4(%rax),%rdx
  mov    -0x58(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  lea    0x8(%rax),%rdx
  mov    -0x50(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  lea    0xc(%rax),%rdx
  mov    -0x14(%rbp),%eax
  mov    %eax,(%rdx)
L165:
  mov    0x28(%rbp),%eax
  add    %eax,-0x50(%rbp)
  jmp    L62
L163:
  addl   $0x1,-0x50(%rbp)
L62:
  mov    -0x50(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jle    L136
  jmp    L26
L5:
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%edx
  mov    0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x78(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x58(%rbp),%eax
  cltq
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  lea    (%rdx,%rax,1),%ecx
  mov    0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x58(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  add    %ecx,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x14(%rbp),%eax
  cmp    0x20(%rbp),%eax
  jl     L37
  addl   $0x1,-0x4c(%rbp)
  mov    0x28(%rbp),%eax
  add    %eax,-0x50(%rbp)
  jmp    L137
L37:
  addl   $0x1,-0x50(%rbp)
L137:
  mov    -0x50(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jle    L5
L26:
  mov    -0x4c(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jle    L63
  addl   $0x1,-0x54(%rbp)
L63:
  mov    -0x58(%rbp),%eax
  cmp    0x30(%rbp),%eax
  setl   %dl
  mov    -0x54(%rbp),%eax
  cmp    0x38(%rbp),%eax
  setle  %al
  and    %edx,%eax
  test   %al,%al
  jne    L176
  mov    -0xa8(%rbp),%rax
  mov    -0x4c(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0xa8(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    -0x54(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0xa8(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    -0x5c(%rbp),%eax
  mov    %eax,(%rdx)
  cmpl   $0x1,-0x48(%rbp)
  jne    L56
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <ftime@plt>
  mov    -0x60(%rbp),%edx
  mov    -0x64(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <time_difference@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  mov    %rax,%rsi
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L56:
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L79
  call   <__stack_chk_fail@plt>
L79:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D9
type: string

tool: D9: crm_faster_3motifs_allt	%ld msec cpu time


assistant: ```c
void crm_faster_3motifs_allt(char ***motif_counts, int **init_bin_boundary, int **finit_bin_boundary, int **crm_positions, int max_crm_positions, int m1, int m2, int m3, int N, int window_bins, int n_transcripts, int max_n_transcripts, int **occurrences_per_transcript, int report_all, int *crm_output) {
  int errorcode = 0;
  int transcript;
  int n_tr = 0;
  int n_crm_init;
  int bin_init1, bin_init2, bin_init3, bin_init;
  int bin_finit1, bin_finit2, bin_finit3, bin_finit;
  int bin;
  int n_crm = 0;
  int n1, n2, n3;
  int n_cooc;
  int total_n1, total_n2, total_n3;
  int function_verbose = 0;
  struct timeb ti, tf;
  long tdif;
  if (function_verbose == 1)
    ftime(&ti);
  if (max_n_transcripts < 0)
    max_n_transcripts = n_transcripts;
  transcript = 0;
  while ((transcript < n_transcripts) & (n_tr <= max_n_transcripts)) {
    transcript++;
    total_n1 = occurrences_per_transcript[m1][transcript];
    total_n2 = occurrences_per_transcript[m2][transcript];
    total_n3 = occurrences_per_transcript[m3][transcript];
    if ((total_n1 + total_n2 + total_n3) >= N) {
      bin_init1 = init_bin_boundary[m1][transcript];
      bin_init2 = init_bin_boundary[m2][transcript];
      bin_init3 = init_bin_boundary[m3][transcript];
      bin_init = min3(bin_init1, bin_init2, bin_init3);
      bin_finit1 = finit_bin_boundary[m1][transcript];
      bin_finit2 = finit_bin_boundary[m2][transcript];
      bin_finit3 = finit_bin_boundary[m3][transcript];
      bin_finit = max3(bin_finit1, bin_finit2, bin_finit3);
      bin = bin_init;
      n_crm_init = n_crm;
      if (report_all == 1) {
        while (bin <= bin_finit) {
          n_cooc = motif_counts[m1][bin][transcript] + motif_counts[m2][bin][transcript] + motif_counts[m3][bin][transcript];
          if (n_cooc >= N) {
            n_crm++;
            if (n_crm > max_crm_positions) {
              errorcode++;
            } else {
              crm_positions[n_crm][1] = transcript;
              crm_positions[n_crm][2] = bin;
              crm_positions[n_crm][3] = n_cooc;
            }
            bin += window_bins;
          } else {
            bin++;
          }
        }
      } else {
        while (bin <= bin_finit) {
          n_cooc = motif_counts[m1][bin][transcript] + motif_counts[m2][bin][transcript] + motif_counts[m3][bin][transcript];
          if (n_cooc >= N) {
            n_crm++;
            bin += window_bins;
          } else {
            bin++;
          }
        }
      }
      if (n_crm > n_crm_init)
        n_tr++;
    }
  }
  crm_output[0] = n_crm;
  crm_output[1] = n_tr;
  crm_output[2] = errorcode;
  if (function_verbose == 1) {
    ftime(&tf);
    tdif = time_difference(ti, tf);
    printf("crm_faster_3motifs_allt\t%ld msec cpu time\n", tdif);
  }
}
```