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

```asm
<compute_frame_min_max_tiles>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %edx,-0x44(%rbp)
  mov    %ecx,-0x48(%rbp)
  mov    %r8d,-0x4c(%rbp)
  mov    %r9d,-0x50(%rbp)
  mov    -0x50(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x48(%rbp),%eax
  sub    -0x1c(%rbp),%eax
  cltd
  idivl  -0x50(%rbp)
  mov    %eax,-0x18(%rbp)
  mov    -0x48(%rbp),%eax
  sub    -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   -0x50(%rbp),%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x50(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x10(%rbp)
  mov    -0x4c(%rbp),%eax
  sub    -0x10(%rbp),%eax
  cltd
  idivl  -0x50(%rbp)
  mov    %eax,-0xc(%rbp)
  mov    -0x4c(%rbp),%eax
  sub    -0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  imul   -0x50(%rbp),%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x44(%rbp),%eax
  imul   -0x48(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x38(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <init_min_max@plt>
  mov    -0x10(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  jmp    L8
L16:
  mov    -0x14(%rbp),%r9d
  mov    -0x18(%rbp),%r8d
  mov    -0x1c(%rbp),%ecx
  mov    -0x44(%rbp),%edx
  mov    -0x40(%rbp),%rsi
  mov    -0x38(%rbp),%rax
  sub    $0x8,%rsp
  mov    -0x50(%rbp),%edi
  push   %rdi
  mov    %rax,%rdi
  call   <compute_line_min_max_spans@plt>
  add    $0x10,%rsp
  mov    -0x4(%rbp),%eax
  cltq
  add    %rax,-0x40(%rbp)
  subl   $0x1,-0x24(%rbp)
L8:
  cmpl   $0x0,-0x24(%rbp)
  jg     L16
  mov    -0x18(%rbp),%eax
  add    $0x2,%eax
  add    %eax,%eax
  cltq
  add    %rax,-0x38(%rbp)
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  jmp    L68
L67:
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x38(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <init_min_max@plt>
  mov    -0x50(%rbp),%eax
  mov    %eax,-0x20(%rbp)
  jmp    L14
L75:
  mov    -0x14(%rbp),%r9d
  mov    -0x18(%rbp),%r8d
  mov    -0x1c(%rbp),%ecx
  mov    -0x44(%rbp),%edx
  mov    -0x40(%rbp),%rsi
  mov    -0x38(%rbp),%rax
  sub    $0x8,%rsp
  mov    -0x50(%rbp),%edi
  push   %rdi
  mov    %rax,%rdi
  call   <compute_line_min_max_spans@plt>
  add    $0x10,%rsp
  mov    -0x4(%rbp),%eax
  cltq
  add    %rax,-0x40(%rbp)
  subl   $0x1,-0x20(%rbp)
L14:
  cmpl   $0x0,-0x20(%rbp)
  jg     L75
  mov    -0x18(%rbp),%eax
  add    $0x2,%eax
  add    %eax,%eax
  cltq
  add    %rax,-0x38(%rbp)
  subl   $0x1,-0x24(%rbp)
L68:
  cmpl   $0x0,-0x24(%rbp)
  jg     L67
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x38(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <init_min_max@plt>
  mov    -0x8(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  jmp    L33
L11:
  mov    -0x14(%rbp),%r9d
  mov    -0x18(%rbp),%r8d
  mov    -0x1c(%rbp),%ecx
  mov    -0x44(%rbp),%edx
  mov    -0x40(%rbp),%rsi
  mov    -0x38(%rbp),%rax
  sub    $0x8,%rsp
  mov    -0x50(%rbp),%edi
  push   %rdi
  mov    %rax,%rdi
  call   <compute_line_min_max_spans@plt>
  add    $0x10,%rsp
  mov    -0x4(%rbp),%eax
  cltq
  add    %rax,-0x40(%rbp)
  subl   $0x1,-0x24(%rbp)
L33:
  cmpl   $0x0,-0x24(%rbp)
  jg     L11
  nop
  nop
  leave
  ret
```

assistant: ```c
void compute_frame_min_max_tiles(unsigned char *min_max_dest, const unsigned char *source, int source_stride, int width, int height, int tile_size) {
  int first_vector_size = tile_size / 2;
  int full_span_count = (width - first_vector_size) / tile_size;
  int last_vector_size = width - first_vector_size - (full_span_count * tile_size);
  int first_block_height = tile_size / 2;
  int full_block_count = (height - first_block_height) / tile_size;
  int last_block_height = height - first_block_height - (full_block_count * tile_size);
  int i, j;
  int increment = source_stride * width;
  init_min_max(min_max_dest, full_span_count + 2);
  for (i = first_block_height; i > 0; --i) {
    compute_line_min_max_spans(min_max_dest, source, source_stride, first_vector_size, full_span_count, last_vector_size, tile_size);
    source += increment;
  }
  min_max_dest += 2 * (full_span_count + 2);
  for (i = full_block_count; i > 0; --i) {
    init_min_max(min_max_dest, full_span_count + 2);
    for (j = tile_size; j > 0; --j) {
      compute_line_min_max_spans(min_max_dest, source, source_stride, first_vector_size, full_span_count, last_vector_size, tile_size);
      source += increment;
    }
    min_max_dest += 2 * (full_span_count + 2);
  }
  init_min_max(min_max_dest, full_span_count + 2);
  for (i = last_block_height; i > 0; --i) {
    compute_line_min_max_spans(min_max_dest, source, source_stride, first_vector_size, full_span_count, last_vector_size, tile_size);
    source += increment;
  }
}
```