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

```asm
<run_program_vectorially>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  mov    %esi,%r15d
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x78,%rsp
  mov    0x10(%rbp),%rax
  mov    %r9,-0x58(%rbp)
  mov    %rdx,-0x80(%rbp)
  mov    (%r9),%r9d
  mov    %rcx,-0x88(%rbp)
  mov    %r8,-0x48(%rbp)
  mov    %rax,-0x90(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  test   %r9d,%r9d
  jle    L1
  movslq %esi,%rdx
  mov    (%r8),%eax
  mov    %r15d,%r12d
  xor    %r14d,%r14d
  lea    0xf(,%rdx,4),%rdx
  mov    %rdi,%r15
  mov    %rdx,%rsi
  and    $0xff0,%edx
  and    $0xfffffffffffffff0,%rsi
  mov    %rdx,-0x78(%rbp)
  mov    %rsi,-0x70(%rbp)
  nopl   (%rax)
L4:
  test   %eax,%eax
  jle    L22
  mov    -0x78(%rbp),%rax
  xor    %ebx,%ebx
  sub    $0x8,%rax
  mov    %rax,-0x98(%rbp)
  nopl   0x0(%rax)
L12:
  mov    -0x70(%rbp),%rdx
  mov    %rsp,%rax
  mov    %rsp,-0x68(%rbp)
  and    $0xfffffffffffff000,%rdx
  sub    %rdx,%rax
  cmp    %rax,%rsp
  je     L53
L95:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rax,%rsp
  jne    L95
L53:
  mov    -0x78(%rbp),%rax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L96
  mov    -0x98(%rbp),%rax
  orq    $0x0,(%rsp,%rax,1)
L96:
  mov    %rsp,%rdi
  mov    -0x48(%rbp),%rcx
  mov    -0x80(%rbp),%rsi
  mov    -0x88(%rbp),%rdx
  mov    -0x90(%rbp),%r9
  mov    %rdi,-0x60(%rbp)
  push   %r14
  mov    -0x58(%rbp),%r8
  push   %rbx
  call   <run_program_vectorially_at@plt>
  cmp    %eax,%r12d
  mov    %eax,-0x50(%rbp)
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    -0x50(%rbp),%edx
  pop    %rcx
  pop    %rsi
  cmp    %edx,%r12d
  je     L73
  lea    D5(%rip),%rdi
  call   <fail@plt>
  mov    -0x50(%rbp),%edx
L73:
  movslq %edx,%rax
  xor    %r13d,%r13d
  mov    %rax,-0x50(%rbp)
  test   %edx,%edx
  jle    L43
  mov    %r13,%rax
  mov    %r14d,%r13d
  mov    %ebx,%r14d
  mov    %rax,%rbx
  cs nopw 0x0(%rax,%rax,1)
L32:
  mov    -0x60(%rbp),%rax
  sub    $0x8,%rsp
  mov    %r13d,%r9d
  mov    %r14d,%r8d
  mov    %r12d,%ecx
  mov    %r15,%rdi
  movss  (%rax,%rbx,4),%xmm0
  mov    -0x58(%rbp),%rax
  push   %rbx
  add    $0x1,%rbx
  mov    (%rax),%edx
  mov    -0x48(%rbp),%rax
  mov    (%rax),%esi
  call   <setsample_0@plt>
  pop    %rax
  pop    %rdx
  cmp    %rbx,-0x50(%rbp)
  jne    L32
  mov    %r14d,%ebx
  mov    %r13d,%r14d
L43:
  mov    -0x48(%rbp),%rax
  add    $0x1,%ebx
  mov    -0x68(%rbp),%rsp
  mov    (%rax),%eax
  cmp    %ebx,%eax
  jg     L12
  mov    -0x58(%rbp),%rcx
  add    $0x1,%r14d
  cmp    %r14d,(%rcx)
  jg     L4
L22:
  mov    %r12d,%r15d
L1:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L47
  lea    -0x28(%rbp),%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L47:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D5
data_type: string

tool: D5: r != pdmax

assistant: ```c
int run_program_vectorially(float *out, int pdmax, struct plambda_program *p, float **val, int *w, int *h, int *pd) {
  for (int j = 0; j < *h; j++)
    for (int i = 0; i < *w; i++) {
      float result[pdmax];
      int r = run_program_vectorially_at(result, p, val, w, h, pd, i, j);
      assert(r == pdmax);
      if (r != pdmax)
        fail("r != pdmax");
      for (int l = 0; l < r; l++)
        setsample_0(out, *w, *h, pdmax, i, j, l, result[l]);
    }
  return pdmax;
}
```