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

```asm
<Cig_PowerNormalize>:
  endbr64
  push   %r14
  movaps %xmm0,%xmm1
  push   %r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %edx,%ebp
  push   %rbx
  sub    $0x10,%rsp
  cmp    %rdi,%rsi
  je     L142
  mov    %rdi,%rsi
  lea    0x0(,%rdx,4),%edx
  mov    %r12,%rdi
  movss  %xmm0,0x8(%rsp)
  call   <memcpy@plt>
  movss  0x8(%rsp),%xmm1
L142:
  ucomiss D4(%rip),%xmm1
  jp     L161
  jne    L161
  test   %ebp,%ebp
  jle    L112
  lea    -0x1(%rbp),%eax
  cmp    $0x2,%eax
  jbe    L122
  mov    %ebp,%edx
  lea    0x10(%r12),%rsi
  pxor   %xmm2,%xmm2
  mov    %r12,%rax
  shr    $0x2,%edx
  sub    $0x1,%edx
  shl    $0x4,%rdx
  add    %rsi,%rdx
  nopl   (%rax)
L130:
  movups (%rax),%xmm0
  add    $0x10,%rax
  addss  %xmm0,%xmm2
  movaps %xmm0,%xmm1
  shufps $0x55,%xmm0,%xmm1
  addss  %xmm1,%xmm2
  movaps %xmm0,%xmm1
  unpckhps %xmm0,%xmm1
  shufps $0xff,%xmm0,%xmm0
  addss  %xmm1,%xmm2
  addss  %xmm0,%xmm2
  cmp    %rdx,%rax
  jne    L130
  mov    %ebp,%eax
  and    $0xfffffffc,%eax
  cmp    %eax,%ebp
  je     L58
L87:
  movslq %eax,%rdx
  addss  (%r12,%rdx,4),%xmm2
  lea    0x0(,%rdx,4),%rcx
  lea    0x1(%rax),%edx
  cmp    %edx,%ebp
  jle    L93
  add    $0x2,%eax
  addss  0x4(%r12,%rcx,1),%xmm2
  cmp    %eax,%ebp
  jle    L93
  addss  0x8(%r12,%rcx,1),%xmm2
L93:
  test   %ebp,%ebp
  mov    $0x1,%ecx
  cmovg  %ebp,%ecx
  cmp    $0x3,%ebp
  jle    L30
  lea    0x10(%r12),%rsi
L18:
  mov    %ecx,%edx
  movaps %xmm2,%xmm1
  mov    %r12,%rax
  shr    $0x2,%edx
  shufps $0x0,%xmm1,%xmm1
  sub    $0x1,%edx
  shl    $0x4,%rdx
  add    %rsi,%rdx
  nopl   0x0(%rax,%rax,1)
L33:
  movups (%rax),%xmm0
  add    $0x10,%rax
  divps  %xmm1,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rax,%rdx
  jne    L33
  mov    %ecx,%eax
  and    $0xfffffffc,%eax
  and    $0x3,%ecx
  je     L112
L0:
  movslq %eax,%rdx
  shl    $0x2,%rdx
  lea    (%r12,%rdx,1),%rcx
  movss  (%rcx),%xmm0
  divss  %xmm2,%xmm0
  movss  %xmm0,(%rcx)
  lea    0x1(%rax),%ecx
  cmp    %ecx,%ebp
  jle    L112
  lea    0x4(%r12,%rdx,1),%rcx
  add    $0x2,%eax
  movss  (%rcx),%xmm0
  divss  %xmm2,%xmm0
  movss  %xmm0,(%rcx)
  cmp    %eax,%ebp
  jle    L112
  lea    0x8(%r12,%rdx,1),%rax
  movss  (%rax),%xmm0
  divss  %xmm2,%xmm0
  movss  %xmm0,(%rax)
L112:
  add    $0x10,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax)
L161:
  test   %ebp,%ebp
  jle    L112
  lea    -0x1(%rbp),%eax
  mov    %r12,%rbx
  pxor   %xmm2,%xmm2
  lea    (%r12,%rax,4),%r14
  nopw   0x0(%rax,%rax,1)
L34:
  movss  (%rbx),%xmm0
  movss  %xmm2,0xc(%rsp)
  mov    %rbx,%r13
  add    $0x4,%rbx
  movss  %xmm1,0x8(%rsp)
  call   <pow@plt>
  movss  0xc(%rsp),%xmm2
  movss  0x8(%rsp),%xmm1
  movss  %xmm0,-0x4(%rbx)
  cmp    %r14,%r13
  addss  %xmm0,%xmm2
  jne    L34
  jmp    L93
  nopl   0x0(%rax,%rax,1)
L58:
  test   %ebp,%ebp
  mov    $0x1,%ecx
  cmovg  %ebp,%ecx
  jmp    L18
L30:
  xor    %eax,%eax
  jmp    L0
L122:
  pxor   %xmm2,%xmm2
  xor    %eax,%eax
  jmp    L87
```

tool_calls: name: extract_symbolic_data
arguments: label: D4
type: f32

tool: D4: 1

assistant: ```c
void Cig_PowerNormalize(float *weights_in, float *weights_out, int len, float exponent) {
  int i;
  if (weights_out != weights_in) {
    memcpy(weights_out, weights_in, len * sizeof(float));
  }
  float sum = 0;
  if (exponent == 1.0) {
    for (i = 0; i < len; i++) {
      sum += weights_out[i];
    }
  } else {
    for (i = 0; i < len; i++) {
      weights_out[i] = pow(weights_out[i], exponent);
      sum += weights_out[i];
    }
  }
  for (i = 0; i < len; i++) {
    weights_out[i] /= sum;
  }
}
```