user: What is the c source code of the assembly code below?

```asm
<producer_consumer>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %edi,%ebx
  shl    $0x2,%edi
  sub    $0x28,%rsp
  call   <malloc@plt>
  mov    %rax,%rdi
  test   %r12d,%r12d
  jle    L136
  mov    %ebx,%r10d
  mov    %ebx,%ecx
  mov    %ebx,%edx
  movdqa D6(%rip),%xmm4
  and    $0xfffffffc,%r10d
  lea    (%rdi,%rcx,4),%r15
  shr    $0x2,%edx
  mov    %rbp,%rax
  movslq %r10d,%rcx
  lea    0x1(%r10),%r13d
  sub    $0x1,%edx
  xor    %ebp,%ebp
  lea    (%rdi,%rcx,4),%rcx
  lea    0x2(%r10),%r14d
  pxor   %xmm3,%xmm3
  add    $0x1,%rdx
  mov    %rcx,0x8(%rsp)
  movslq %r13d,%rcx
  shl    $0x4,%rdx
  lea    -0x1(%rbx),%r11d
  lea    (%rdi,%rcx,4),%rcx
  add    %rdi,%rdx
  mov    %rcx,0x10(%rsp)
  movslq %r14d,%rcx
  lea    (%rdi,%rcx,4),%rcx
  mov    %rcx,0x18(%rsp)
  xor    %ecx,%ecx
  nopl   0x0(%rax)
L68:
  test   $0x1,%cl
  je     L147
  test   %ebx,%ebx
  jle    L141
  cmp    $0x2,%r11d
  jbe    L38
  mov    %rdi,%rsi
  pxor   %xmm2,%xmm2
  nopw   0x0(%rax,%rax,1)
L207:
  movdqu (%rsi),%xmm0
  movdqa %xmm3,%xmm1
  add    $0x10,%rsi
  pcmpgtd %xmm0,%xmm1
  movdqa %xmm0,%xmm5
  punpckldq %xmm1,%xmm5
  punpckhdq %xmm1,%xmm0
  paddq  %xmm5,%xmm0
  paddq  %xmm0,%xmm2
  cmp    %rdx,%rsi
  jne    L207
  movdqa %xmm2,%xmm0
  psrldq $0x8,%xmm0
  paddq  %xmm0,%xmm2
  movq   %xmm2,%rsi
  add    %rsi,%rbp
  mov    %r10d,%esi
  cmp    %r10d,%ebx
  je     L141
L146:
  movslq %esi,%r8
  lea    0x0(,%r8,4),%r9
  movslq (%rdi,%r8,4),%r8
  add    %r8,%rbp
  lea    0x1(%rsi),%r8d
  cmp    %r8d,%ebx
  jle    L141
  movslq 0x4(%rdi,%r9,1),%r8
  add    $0x2,%esi
  add    %r8,%rbp
  cmp    %esi,%ebx
  jle    L141
  movslq 0x8(%rdi,%r9,1),%rsi
  add    %rsi,%rbp
L141:
  add    $0x1,%ecx
  add    $0x4,%rax
  cmp    %ecx,%r12d
  jne    L68
L100:
  call   <free@plt>
  add    $0x28,%rsp
  mov    %rbp,%rsi
  lea    D8(%rip),%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1080 <printf@plt>
  nopw   0x0(%rax,%rax,1)
L147:
  test   %ebx,%ebx
  jle    L141
  lea    0x8(%rax),%rsi
  cmp    %rsi,%rdi
  setae  %r8b
  cmp    %rax,%r15
  setbe  %sil
  or     %r8b,%sil
  je     L129
  cmp    $0x2,%r11d
  jbe    L129
  movd   0x4(%rax),%xmm6
  movd   (%rax),%xmm7
  mov    %rdi,%rsi
  movdqa D5(%rip),%xmm2
  pshufd $0x0,%xmm6,%xmm5
  pshufd $0x0,%xmm7,%xmm7
  movdqa %xmm5,%xmm6
  psrlq  $0x20,%xmm6
L104:
  movdqa %xmm2,%xmm0
  add    $0x10,%rsi
  paddd  %xmm4,%xmm2
  movdqa %xmm0,%xmm1
  psrlq  $0x20,%xmm0
  pmuludq %xmm5,%xmm1
  pmuludq %xmm6,%xmm0
  pshufd $0x8,%xmm1,%xmm1
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm1
  paddd  %xmm7,%xmm1
  movups %xmm1,-0x10(%rsi)
  cmp    %rdx,%rsi
  jne    L104
  cmp    %r10d,%ebx
  je     L141
  mov    0x4(%rax),%esi
  mov    0x8(%rsp),%r9
  imul   %r10d,%esi
  add    (%rax),%esi
  mov    %esi,(%r9)
  cmp    %r13d,%ebx
  jle    L141
  mov    0x4(%rax),%esi
  mov    0x10(%rsp),%r9
  imul   %r13d,%esi
  add    (%rax),%esi
  mov    %esi,(%r9)
  cmp    %r14d,%ebx
  jle    L141
  mov    0x4(%rax),%esi
  mov    0x18(%rsp),%r9
  imul   %r14d,%esi
  add    (%rax),%esi
  mov    %esi,(%r9)
  jmp    L141
  nopl   0x0(%rax,%rax,1)
L129:
  mov    %rdi,%r9
  xor    %esi,%esi
  nopl   (%rax)
L185:
  mov    0x4(%rax),%r8d
  add    $0x4,%r9
  imul   %esi,%r8d
  add    $0x1,%esi
  add    (%rax),%r8d
  mov    %r8d,-0x4(%r9)
  cmp    %esi,%ebx
  jne    L185
  jmp    L141
L38:
  xor    %esi,%esi
  jmp    L146
L136:
  xor    %ebp,%ebp
  jmp    L100
```

tool_calls: name: extract_symbolic_data
arguments: tag: D6
data_type: byte[16]
name: extract_symbolic_data
arguments: tag: D8
data_type: string
name: extract_symbolic_data
arguments: tag: D5
data_type: byte[16]

tool: {"D6": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: D8: %llu


tool: {"D5": [0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00]}

assistant: ```c
void producer_consumer(int size, int *vec, int n, int nt) {
  int i, j;
  long long unsigned int sum = 0;
#pragma omp parallel num_threads(nt) default(none) private(i, j) shared(vec, size, n) reduction(+ : sum)
  {
    int *buffer_thread = (int *)malloc(size * sizeof(int));
#pragma omp for schedule(static, 2)
    for (i = 0; i < n; i++) {
      if (i % 2 == 0) {
        for (j = 0; j < size; j++) {
          buffer_thread[j] = vec[i] + j * vec[i + 1];
        }
      } else {
        for (j = 0; j < size; j++) {
          sum += buffer_thread[j];
        }
      }
    }
    free(buffer_thread);
  }
  printf("%llu\n", sum);
}
```