user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<compute_frame_min_max_tiles>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,%r13
  mov    %rsi,%rbx
  mov    %rsi,0x18(%rsp)
  mov    %edx,%edi
  mov    %edx,0x4(%rsp)
  mov    %r9d,%r12d
  mov    %r9d,%r14d
  shr    $0x1f,%r14d
  add    %r9d,%r14d
  sar    %r14d
  mov    %ecx,%eax
  sub    %r14d,%eax
  cltd
  idiv   %r9d
  mov    %edx,0x8(%rsp)
  mov    %eax,%r15d
  mov    %r8d,%eax
  sub    %r14d,%eax
  cltd
  idiv   %r9d
  mov    %edx,0x48(%rsp)
  mov    %eax,0x44(%rsp)
  mov    %edx,0x4c(%rsp)
  imul   %edi,%ecx
  mov    %ecx,0x40(%rsp)
  lea    0x2(%r15),%eax
  mov    %eax,0x30(%rsp)
  mov    %eax,%esi
  mov    %r13,%rdi
  call   <init_min_max@plt>
  cmp    $0x1,%r12d
  jle    L47
  mov    %r14d,%ebp
  movslq 0x40(%rsp),%rax
  mov    %rax,0x10(%rsp)
L2:
  sub    $0x8,%rsp
  push   %r12
  mov    0x18(%rsp),%r9d
  mov    %r15d,%r8d
  mov    %r14d,%ecx
  mov    0x14(%rsp),%edx
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   <compute_line_min_max_spans@plt>
  add    0x20(%rsp),%rbx
  sub    $0x1,%ebp
  add    $0x10,%rsp
  test   %ebp,%ebp
  jg     L2
  lea    -0x1(%r14),%eax
  add    $0x1,%rax
  cmp    $0x1,%r12d
  mov    $0x1,%edx
  cmovle %rdx,%rax
  imul   0x10(%rsp),%rax
  add    %rax,0x18(%rsp)
L47:
  mov    0x30(%rsp),%eax
  add    %eax,%eax
  cltq
  mov    %rax,0x28(%rsp)
  add    %rax,%r13
  mov    %r13,0x20(%rsp)
  mov    0x44(%rsp),%edx
  test   %edx,%edx
  jle    L48
  movslq 0x40(%rsp),%rsi
  mov    %rsi,0x10(%rsp)
  lea    -0x1(%r12),%eax
  add    $0x1,%rax
  imul   %rsi,%rax
  mov    %rax,0x38(%rsp)
  mov    %edx,0x34(%rsp)
L46:
  mov    0x30(%rsp),%esi
  mov    %r13,%rdi
  call   <init_min_max@plt>
  test   %r12d,%r12d
  jle    L0
  mov    %r12d,%ebp
  mov    0x18(%rsp),%rbx
L65:
  sub    $0x8,%rsp
  push   %r12
  mov    0x18(%rsp),%r9d
  mov    %r15d,%r8d
  mov    %r14d,%ecx
  mov    0x14(%rsp),%edx
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   <compute_line_min_max_spans@plt>
  add    0x20(%rsp),%rbx
  add    $0x10,%rsp
  sub    $0x1,%ebp
  jne    L65
  mov    0x38(%rsp),%rcx
  add    %rcx,0x18(%rsp)
L0:
  add    0x28(%rsp),%r13
  subl   $0x1,0x34(%rsp)
  jne    L46
  mov    0x44(%rsp),%eax
  imul   0x28(%rsp),%rax
  add    %rax,0x20(%rsp)
L48:
  mov    0x30(%rsp),%esi
  mov    0x20(%rsp),%rdi
  call   <init_min_max@plt>
  cmpl   $0x0,0x48(%rsp)
  jle    L59
  movslq 0x40(%rsp),%rbx
  mov    0x18(%rsp),%rbp
  mov    0x8(%rsp),%r13d
  mov    %rbx,0x8(%rsp)
  mov    0x4c(%rsp),%ebx
L3:
  sub    $0x8,%rsp
  push   %r12
  mov    %r13d,%r9d
  mov    %r15d,%r8d
  mov    %r14d,%ecx
  mov    0x14(%rsp),%edx
  mov    %rbp,%rsi
  mov    0x30(%rsp),%rdi
  call   <compute_line_min_max_spans@plt>
  add    0x18(%rsp),%rbp
  add    $0x10,%rsp
  sub    $0x1,%ebx
  jne    L3
L59:
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  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;
  }
}
```