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
  push   %r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %esi,%ecx
  mov    %edx,%r15d
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movslq %edx,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdx
  sub    %rax,%rdx
L179:
  cmp    %rdx,%rsp
  je     L71
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L179
L71:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L10
  orq    $0x0,-0x8(%rsp,%rax,1)
L10:
  mov    %rsp,%r13
  test   %r15d,%r15d
  jle    L1
  mov    %r13,%rax
  mov    %r15d,%edx
  lea    0x0(%r13,%rdx,4),%rdx
L41:
  movl   $0x0,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L41
L1:
  mov    %ecx,%eax
  sub    %r15d,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %eax,%edx
  sar    %edx
  mov    %edx,-0x4c(%rbp)
  cmp    $0x1,%eax
  jle    L150
  mov    -0x48(%rbp),%r12
  mov    %r15d,%r14d
  jmp    L62
L40:
  mov    %ebx,%edx
  lea    (%rbx,%r12,1),%rsi
  mov    %r12,%rdi
  call   <computeHammingDistance@plt>
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ss %ebx,%xmm1
  divss  %xmm1,%xmm0
  addss  0x0(%r13,%rbx,4),%xmm0
  movss  %xmm0,0x0(%r13,%rbx,4)
  add    $0x1,%rbx
  cmp    %r14,%rbx
  jne    L40
L48:
  add    $0x1,%r12
  mov    %r12d,%eax
  sub    -0x48(%rbp),%eax
  cmp    %eax,-0x4c(%rbp)
  jle    L150
L62:
  mov    $0x2,%ebx
  cmp    $0x2,%r15d
  jg     L40
  jmp    L48
L150:
  cmp    $0x2,%r15d
  jle    L139
  mov    %r15d,%r15d
  mov    $0x2,%eax
  mov    $0xffffffff,%edx
  mov    $0xffffffff,%esi
  pxor   %xmm2,%xmm2
  cvtsi2ssl -0x4c(%rbp),%xmm2
  jmp    L103
L88:
  cvttss2si %xmm0,%edx
  mov    %ecx,%esi
L176:
  add    $0x1,%rax
  cmp    %rax,%r15
  je     L154
L103:
  mov    %eax,%ecx
  movss  0x0(%r13,%rax,4),%xmm0
  divss  %xmm2,%xmm0
  movss  %xmm0,0x0(%r13,%rax,4)
  test   %edx,%edx
  js     L88
  pxor   %xmm1,%xmm1
  cvtsi2ss %edx,%xmm1
  comiss %xmm0,%xmm1
  jbe    L176
  jmp    L88
L139:
  mov    $0xffffffff,%esi
L154:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L79
  mov    %esi,%eax
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L79:
  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;
}
```