user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<findaKey>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rdx,%r13
  push   %r12
  mov    %esi,%r12d
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %rdi,0x10(%rsp)
  mov    %esi,%edi
  lea    0x40(%rsp),%r15
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  call   <malloc@plt>
  movdqa D14(%rip),%xmm0
  movb   $0x0,0x5a(%rsp)
  mov    %rax,%rbp
  movsd  D13(%rip),%xmm4
  movabs $0x5857565554535251,%rax
  mov    %rax,0x50(%rsp)
  mov    $0x5a59,%eax
  mov    %ax,0x58(%rsp)
  lea    0x5a(%rsp),%rax
  mov    %rax,0x30(%rsp)
  movaps %xmm0,0x40(%rsp)
  movsd  %xmm4,0x38(%rsp)
L16:
  mov    0x10(%rsp),%rsi
  mov    %r12d,%ecx
  mov    %rbp,%rdx
  mov    %r13,%rdi
  mov    %r15,%rbx
  call   <simplesubEncipher@plt>
  mov    %r12d,%esi
  mov    %rbp,%rdi
  call   <scoreTextQgram@plt>
  movl   $0x0,0x24(%rsp)
  movq   $0x0,0x28(%rsp)
  movl   $0x0,0x20(%rsp)
  movsd  %xmm0,0x8(%rsp)
  nop
L54:
  mov    0x28(%rsp),%r14
  mov    %r15,%rax
  mov    %r14d,0x1c(%rsp)
  mov    %r14,%r15
  mov    %rax,%r14
  nopl   0x0(%rax,%rax,1)
L39:
  mov    %r13,%rsi
  mov    %r14,%rdi
  call   <strcpy@plt>
  movzbl (%r14,%r15,1),%edx
  movzbl (%rbx),%eax
  mov    %r12d,%ecx
  mov    0x10(%rsp),%rsi
  mov    %r14,%rdi
  mov    %dl,(%rbx)
  mov    %rbp,%rdx
  mov    %al,(%r14,%r15,1)
  call   <simplesubEncipher@plt>
  mov    %r12d,%esi
  mov    %rbp,%rdi
  call   <scoreTextQgram@plt>
  comisd 0x8(%rsp),%xmm0
  jbe    L6
  mov    0x1c(%rsp),%eax
  mov    %r15d,0x24(%rsp)
  movsd  %xmm0,0x8(%rsp)
  mov    %eax,0x20(%rsp)
L6:
  add    $0x1,%r15
  cmp    $0x1a,%r15d
  jne    L39
  addq   $0x1,0x28(%rsp)
  mov    %r14,%r15
  add    $0x1,%rbx
  cmp    %rbx,0x30(%rsp)
  jne    L54
  mov    0x24(%rsp),%ecx
  cmp    %ecx,0x20(%rsp)
  je     L12
  movsd  0x8(%rsp),%xmm2
  comisd 0x38(%rsp),%xmm2
  jbe    L16
  movslq 0x20(%rsp),%rdx
  movslq 0x24(%rsp),%rax
  movsd  %xmm2,0x38(%rsp)
  add    %r13,%rdx
  add    %r13,%rax
  movzbl (%rdx),%ecx
  movzbl (%rax),%esi
  mov    %sil,(%rdx)
  mov    %cl,(%rax)
  jmp    L16
L12:
  mov    %rbp,%rdi
  call   <free@plt>
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x38(%rsp),%xmm0
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L8
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L8:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D14
type_guessed: byte[16]
name: parse_data
arguments: label: D13
type_guessed: byte[8]

tool: {"D14": [0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50]}

tool: {"D13": [0x1e,0xe5,0xb4,0x11,0x93,0xa1,0xe6,0xd4]}

assistant: ```c
float findaKey(char *text, int len, char *maxKey) {
  int i, j;
  int maxi, maxj;
  char temp, *deciphered = malloc(sizeof(char) * len);
  char testKey[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  double maxmaxscore = -99e99, maxscore, score;
  while (1) {
    simplesubEncipher(maxKey, text, deciphered, len);
    maxscore = scoreTextQgram(deciphered, len);
    maxi = 0;
    maxj = 0;
    for (i = 0; i < 26; i++) {
      for (j = i; j < 26; j++) {
        strcpy(testKey, maxKey);
        temp = testKey[i];
        testKey[i] = testKey[j];
        testKey[j] = temp;
        simplesubEncipher(testKey, text, deciphered, len);
        score = scoreTextQgram(deciphered, len);
        if (score > maxscore) {
          maxscore = score;
          maxi = i;
          maxj = j;
        }
      }
    }
    if (maxi == maxj)
      break;
    if (maxscore > maxmaxscore) {
      maxmaxscore = maxscore;
      temp = maxKey[maxi];
      maxKey[maxi] = maxKey[maxj];
      maxKey[maxj] = temp;
    }
  }
  free(deciphered);
  return maxmaxscore;
}
```