user: What would the C source look like for the assembly code provided here:

```asm
<delta_delta>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdx,0x8(%rsp)
  mov    %rcx,0x10(%rsp)
  test   %esi,%esi
  je     L233
  mov    D9(%rip),%r14
  mov    %esi,%r12d
  mov    %rdi,%rbp
  xor    %ebx,%ebx
  mov    (%r14),%edx
  jmp    L228
  nopl   0x0(%rax,%rax,1)
L186:
  add    $0x4,%rbp
  cmp    %ebx,%r12d
  je     L233
L228:
  mov    0x0(%rbp),%eax
  mov    %ebx,%r13d
  add    $0x1,%ebx
  cmp    %edx,%eax
  je     L186
  mov    %eax,(%r8)
  cmp    %ebx,%r12d
  jbe    L156
  mov    %ebx,%eax
  mov    (%r14),%ecx
  lea    (%rdi,%rax,4),%rax
  jmp    L131
  nopl   0x0(%rax)
L77:
  add    $0x1,%ebx
  add    $0x4,%rax
  cmp    %ebx,%r12d
  je     L156
L131:
  mov    (%rax),%edx
  cmp    %ecx,%edx
  je     L77
  cmp    %ebx,%r12d
  jbe    L156
  mov    %edx,(%r9)
  xor    %eax,%eax
  sub    %r13d,%r12d
  call   <omp_get_num_threads@plt>
  mov    %eax,%r15d
  xor    %eax,%eax
  call   <omp_get_thread_num@plt>
  xor    %edx,%edx
  mov    %eax,%esi
  mov    %eax,%r8d
  imul   %r12d,%esi
  mov    %esi,%eax
  div    %r15d
  lea    -0x1(%r15),%edx
  mov    %eax,%edi
  mov    %r12d,%eax
  mov    %edi,%ecx
  cmp    %r8d,%edx
  je     L213
  lea    (%rsi,%r12,1),%eax
  xor    %edx,%edx
  div    %r15d
L213:
  cmp    %edi,%eax
  jbe    L149
  mov    (%r14),%esi
  lea    0x0(%rbp,%rdi,4),%rdx
  jmp    L144
  nopl   0x0(%rax)
L211:
  add    $0x4,%rdx
  cmp    %ecx,%eax
  je     L45
L144:
  mov    (%rdx),%r8d
  mov    %ecx,%edi
  add    $0x1,%ecx
  cmp    %esi,%r8d
  je     L211
L301:
  lea    0x1(%rdi),%ecx
  cmp    %ecx,%eax
  jbe    L193
  mov    %ecx,%edx
  mov    (%r14),%esi
  lea    0x0(%rbp,%rdx,4),%rdx
  jmp    L46
  nopl   0x0(%rax)
L60:
  add    $0x1,%ecx
  add    $0x4,%rdx
  cmp    %ecx,%eax
  jbe    L193
L46:
  cmp    %esi,(%rdx)
  je     L60
L193:
  cmp    %ecx,%eax
  je     L45
  mov    %ecx,%edx
  lea    0x1(%rcx),%esi
  mov    0x0(%rbp,%rdx,4),%r10d
  cmp    %edi,%eax
  jbe    L45
  cmp    %esi,%r12d
  jbe    L45
  xor    %r11d,%r11d
  xor    %edx,%edx
  mov    %r13d,0x18(%rsp)
  xor    %r15d,%r15d
  mov    %ebx,0x1c(%rsp)
  mov    %r11d,%r13d
  mov    %edx,%ebx
  jmp    L305
  nopw   0x0(%rax,%rax,1)
L237:
  cmp    %edx,%ebx
  mov    %ecx,%edi
  mov    %r10d,%r8d
  mov    %esi,%ecx
  cmovg  %edx,%ebx
  cmp    %edx,%r15d
  mov    %r9d,%r10d
  cmovl  %edx,%r15d
L215:
  add    $0x1,%esi
  cmp    %eax,%edi
  jae    L17
  cmp    %esi,%r12d
  jbe    L17
L305:
  mov    %esi,%edx
  lea    0x0(%rbp,%rdx,4),%r11
  mov    (%r11),%r9d
  cmp    (%r14),%r9d
  je     L215
  mov    %r9d,%edx
  sub    %r10d,%edx
  sub    %r10d,%edx
  add    %r8d,%edx
  mov    %edx,(%r11)
  test   %r13d,%r13d
  jne    L237
  mov    %ecx,%edi
  mov    %r10d,%r8d
  mov    %esi,%ecx
  mov    %r9d,%r10d
  mov    %edx,%r15d
  mov    %edx,%ebx
  mov    $0x1,%r13d
  jmp    L215
  nopl   0x0(%rax)
L156:
  movl   $0x0,0x0(%rbp)
L233:
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L45:
  mov    0x10(%rsp),%rax
  sub    %r13d,%ebx
  movl   $0x0,0x0(%rbp)
  movl   $0x0,0x0(%rbp,%rbx,4)
  movl   $0x0,(%rax)
  mov    0x8(%rsp),%rax
  movl   $0x0,(%rax)
  jmp    L233
  nopw   0x0(%rax,%rax,1)
L17:
  mov    %ebx,%edi
  mov    0x1c(%rsp),%ebx
  mov    %r13d,%esi
  mov    0x18(%rsp),%r13d
  mov    %ebx,%eax
  sub    %r13d,%eax
  lea    0x0(%rbp,%rax,4),%rax
  test   %esi,%esi
  je     L45
  movl   $0x0,0x0(%rbp)
  movl   $0x0,(%rax)
  mov    0x8(%rsp),%rax
  mov    %edi,(%rax)
  mov    0x10(%rsp),%rax
  mov    %r15d,(%rax)
  jmp    L233
L149:
  je     L45
  mov    %edi,%edx
  mov    0x0(%rbp,%rdx,4),%r8d
  jmp    L301
```

assistant: ```c
int delta_delta(int *data, unsigned int n, int *min, int *max, int *first_val, int *second_val) {
  int nthreads, thread_id, tmp, mn, mx, mn_thread, mx_thread, mx_set, mx_set_thread, penultimate_val, last_val;
  unsigned int first, second, j, penultimate, last, istart, iend;
  for (first = 0; first < n; first++) {
    if (data[first] != INT_MAX) {
      break;
    }
  }
  if (first >= n)
    return 0;
  *first_val = data[first];
  for (second = first + 1; second < n; second++) {
    if (data[second] != INT_MAX) {
      break;
    }
  }
  if (second >= n) {
    data[first] = 0;
    return 0;
  }
  *second_val = data[second];
  mx_set = mn = mx = 0;
  n -= first;
  data += first;
#pragma omp parallel private(nthreads, thread_id, istart, iend, penultimate_val, penultimate, last_val, last, j, tmp, mn_thread, mx_thread, mx_set_thread)
  {
    nthreads = omp_get_num_threads();
    thread_id = omp_get_thread_num();
    istart = (thread_id * n) / nthreads;
    iend = ((thread_id + 1) * n) / nthreads;
    if (thread_id == nthreads - 1)
      iend = n;
    mx_set_thread = mx_thread = mn_thread = 0;
    for (penultimate = istart; penultimate < iend; penultimate++) {
      if (data[penultimate] != INT_MAX)
        break;
    }
    if (penultimate != iend) {
      penultimate_val = data[penultimate];
      for (last = penultimate + 1; last < iend; last++) {
        if (data[last] != INT_MAX)
          break;
      }
      if (last != iend)
        last_val = data[last];
    } else {
      last = iend;
    }
#pragma omp barrier
    if (last != iend) {
      j = last + 1;
      while (penultimate < iend && j < n) {
        if (data[j] != INT_MAX) {
          tmp = data[j];
          data[j] = data[j] - last_val - last_val + penultimate_val;
          if (mx_set_thread) {
            mn_thread = mn_thread <= data[j] ? mn_thread : data[j];
            mx_thread = mx_thread >= data[j] ? mx_thread : data[j];
          } else {
            mx_set_thread = 1;
            mn_thread = mx_thread = data[j];
          }
          penultimate = last;
          last = j;
          penultimate_val = last_val;
          last_val = tmp;
        }
        j++;
      }
    }
    if (mx_set_thread) {
#pragma omp critical
      {
        if (mx_set) {
          mn = mn <= mn_thread ? mn : mn_thread;
          mx = mx >= mx_thread ? mx : mx_thread;
        } else {
          mx_set = 1;
          mn = mn_thread;
          mx = mx_thread;
        }
      }
    }
  }
  data[0] = 0;
  data[second - first] = 0;
  if (mx_set) {
    *min = mn;
    *max = mx;
  } else
    *min = *max = 0;
  return 0;
}
```