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

```asm
<determineKeySize>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %esi,-0x6c(%rbp)
  mov    %edx,-0x70(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  movl   $0xffffffff,-0x54(%rbp)
  mov    -0x70(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x30(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r10
  mov    $0x0,%r11d
  movslq %eax,%rdx
  mov    %rdx,%r8
  mov    $0x0,%r9d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L9:
  cmp    %rdx,%rsp
  je     L13
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L9
L13:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L2
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L2:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x28(%rbp)
  movl   $0x0,-0x50(%rbp)
  jmp    L93
L61:
  mov    -0x28(%rbp),%rax
  mov    -0x50(%rbp),%edx
  movslq %edx,%rdx
  pxor   %xmm0,%xmm0
  movss  %xmm0,(%rax,%rdx,4)
  addl   $0x1,-0x50(%rbp)
L93:
  mov    -0x50(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jl     L61
  mov    -0x6c(%rbp),%eax
  sub    -0x70(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x3c(%rbp)
  movl   $0x0,-0x4c(%rbp)
  jmp    L130
L89:
  movl   $0x2,-0x48(%rbp)
  jmp    L118
L106:
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x48(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x48(%rbp),%edx
  mov    -0x20(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <computeHammingDistance@plt>
  mov    %eax,-0x38(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x38(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x48(%rbp),%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x34(%rbp)
  mov    -0x28(%rbp),%rax
  mov    -0x48(%rbp),%edx
  movslq %edx,%rdx
  movss  (%rax,%rdx,4),%xmm0
  addss  -0x34(%rbp),%xmm0
  mov    -0x28(%rbp),%rax
  mov    -0x48(%rbp),%edx
  movslq %edx,%rdx
  movss  %xmm0,(%rax,%rdx,4)
  addl   $0x1,-0x48(%rbp)
L118:
  mov    -0x48(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jl     L106
  addl   $0x1,-0x4c(%rbp)
L130:
  mov    -0x4c(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L89
  movl   $0xffffffff,-0x44(%rbp)
  movl   $0x2,-0x40(%rbp)
  jmp    L120
L44:
  mov    -0x28(%rbp),%rax
  mov    -0x40(%rbp),%edx
  movslq %edx,%rdx
  movss  (%rax,%rdx,4),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x3c(%rbp),%xmm1
  divss  %xmm1,%xmm0
  mov    -0x28(%rbp),%rax
  mov    -0x40(%rbp),%edx
  movslq %edx,%rdx
  movss  %xmm0,(%rax,%rdx,4)
  cmpl   $0x0,-0x44(%rbp)
  js     L81
  mov    -0x28(%rbp),%rax
  mov    -0x40(%rbp),%edx
  movslq %edx,%rdx
  movss  (%rax,%rdx,4),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x44(%rbp),%xmm0
  comiss %xmm1,%xmm0
  jbe    L75
L81:
  mov    -0x40(%rbp),%eax
  mov    %eax,-0x54(%rbp)
  mov    -0x28(%rbp),%rax
  mov    -0x40(%rbp),%edx
  movslq %edx,%rdx
  movss  (%rax,%rdx,4),%xmm0
  cvttss2si %xmm0,%eax
  mov    %eax,-0x44(%rbp)
L75:
  addl   $0x1,-0x40(%rbp)
L120:
  mov    -0x40(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jl     L44
  mov    -0x54(%rbp),%eax
  mov    %rbx,%rsp
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L26
  call   <__stack_chk_fail@plt>
L26:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

assistant: ```c
int determineKeySize(char *data, int numberOfBytes, int maxKeySize) {
  int result = -1;
  float hammingAverages[maxKeySize];
  for (int i = 0; i < maxKeySize; i++) {
    hammingAverages[i] = 0.0;
  }
  int numSamples = (numberOfBytes - maxKeySize) / 2;
  for (int i = 0; i < numSamples; i++) {
    for (int j = 2; j < maxKeySize; j++) {
      char *dataStart = data + i;
      int hammingDistance = computeHammingDistance(dataStart, dataStart + j, j);
      float normalized = (float)hammingDistance / (float)j;
      hammingAverages[j] += normalized;
    }
  }
  int lowestNormalized = -1;
  for (int i = 2; i < maxKeySize; i++) {
    hammingAverages[i] /= numSamples;
    if (lowestNormalized < 0 || hammingAverages[i] < lowestNormalized) {
      result = i;
      lowestNormalized = hammingAverages[i];
    }
  }
  return result;
}
```