user: Demonstrate the C code that generates the assembly output below:

```asm
<determineKeySize>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  mov    %esi,%r13d
  push   %r12
  movslq %edx,%r12
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x28,%rsp
  mov    %edx,-0x44(%rbp)
  mov    %rsp,%rcx
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    0xf(,%r12,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L137
L62:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L62
L137:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L26
L41:
  mov    -0x44(%rbp),%eax
  mov    %rsp,%r14
  test   %eax,%eax
  jle    L149
  lea    0x0(,%r12,4),%rdx
  xor    %esi,%esi
  mov    %r14,%rdi
  call   <memset@plt>
L149:
  sub    -0x44(%rbp),%r13d
  mov    %r13d,%r15d
  shr    $0x1f,%r15d
  add    %r13d,%r15d
  sar    %r15d
  mov    %r15d,-0x48(%rbp)
  cmp    $0x1,%r13d
  jle    L78
  mov    %rbx,%r15
  xor    %r13d,%r13d
  nopl   0x0(%rax)
L74:
  cmpl   $0x2,-0x44(%rbp)
  mov    $0x2,%ebx
  jle    L32
  nopl   0x0(%rax,%rax,1)
L22:
  mov    %ebx,%edx
  lea    (%rbx,%r15,1),%rsi
  mov    %r15,%rdi
  call   <computeHammingDistance@plt>
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ss %ebx,%xmm1
  cvtsi2ss %eax,%xmm0
  divss  %xmm1,%xmm0
  addss  (%r14,%rbx,4),%xmm0
  movss  %xmm0,(%r14,%rbx,4)
  add    $0x1,%rbx
  cmp    %r12,%rbx
  jne    L22
L32:
  add    $0x1,%r13d
  add    $0x1,%r15
  cmp    %r13d,-0x48(%rbp)
  jg     L74
L78:
  cmpl   $0x2,-0x44(%rbp)
  jle    L27
  pxor   %xmm2,%xmm2
  mov    $0x2,%eax
  mov    $0xffffffff,%edx
  mov    $0xffffffff,%r9d
  cvtsi2ssl -0x48(%rbp),%xmm2
  nopl   0x0(%rax)
L18:
  movss  (%r14,%rax,4),%xmm0
  mov    %eax,%ecx
  divss  %xmm2,%xmm0
  movss  %xmm0,(%r14,%rax,4)
  test   %edx,%edx
  js     L57
  pxor   %xmm1,%xmm1
  cvtsi2ss %edx,%xmm1
  comiss %xmm0,%xmm1
  jbe    L120
L57:
  cvttss2si %xmm0,%edx
  mov    %ecx,%r9d
L120:
  add    $0x1,%rax
  cmp    %rax,%r12
  jne    L18
L136:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L1
  lea    -0x28(%rbp),%rsp
  mov    %r9d,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L26:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L41
L27:
  mov    $0xffffffff,%r9d
  jmp    L136
L1:
  call   <__stack_chk_fail@plt>
```

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;
}
```