user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<get_crop_parameters>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%r15
  mov    %rsi,%r14
  mov    %rdx,%r13
  mov    %rcx,0x8(%rsp)
  mov    %r8,0x10(%rsp)
  mov    %r9,0x18(%rsp)
  mov    0x60(%rsp),%r12d
  mov    0x68(%rsp),%ebp
  mov    0x70(%rsp),%ebx
  lea    D34(%rip),%rdi
  call   <puts@plt>
  mov    %r12d,%esi
  lea    D66(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <readln_int@plt>
  sub    $0x1,%eax
  mov    $0x0,%edx
  cmovs  %edx,%eax
  cmp    %eax,%r12d
  jle    L41
  mov    %eax,(%r15)
  jmp    L109
L41:
  lea    -0x1(%r12),%eax
  mov    %eax,(%r15)
L109:
  mov    (%r15),%eax
  lea    0x1(%rax),%esi
  mov    %r12d,%edx
  lea    D12(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <readln_int@plt>
  sub    $0x1,%eax
  mov    0x8(%rsp),%rcx
  mov    %eax,(%rcx)
  mov    (%r15),%edx
  cmp    %edx,%eax
  cmovl  %edx,%eax
  cmp    %r12d,%eax
  jge    L7
  mov    %eax,(%rcx)
  jmp    L57
L7:
  sub    $0x1,%r12d
  mov    0x8(%rsp),%rax
  mov    %r12d,(%rax)
L57:
  mov    %ebp,%esi
  lea    D21(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <readln_int@plt>
  sub    $0x1,%eax
  mov    $0x0,%edx
  cmovs  %edx,%eax
  cmp    %eax,%ebp
  jle    L118
  mov    %eax,(%r14)
  jmp    L16
L118:
  lea    -0x1(%rbp),%eax
  mov    %eax,(%r14)
L16:
  mov    (%r14),%eax
  lea    0x1(%rax),%esi
  mov    %ebp,%edx
  lea    D57(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <readln_int@plt>
  sub    $0x1,%eax
  mov    0x10(%rsp),%rcx
  mov    %eax,(%rcx)
  mov    (%r14),%edx
  cmp    %edx,%eax
  cmovl  %edx,%eax
  cmp    %eax,%ebp
  jle    L119
  mov    %eax,(%rcx)
  jmp    L30
L119:
  sub    $0x1,%ebp
  mov    0x10(%rsp),%rax
  mov    %ebp,(%rax)
L30:
  mov    %ebx,%esi
  lea    D45(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <readln_int@plt>
  sub    $0x1,%eax
  mov    $0x0,%edx
  cmovs  %edx,%eax
  cmp    %ebx,%eax
  jge    L99
  mov    %eax,0x0(%r13)
  jmp    L95
L99:
  lea    -0x1(%rbx),%eax
  mov    %eax,0x0(%r13)
L95:
  mov    0x0(%r13),%eax
  lea    0x1(%rax),%esi
  mov    %ebx,%edx
  lea    D15(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <readln_int@plt>
  sub    $0x1,%eax
  mov    0x18(%rsp),%rcx
  mov    %eax,(%rcx)
  mov    0x0(%r13),%edx
  cmp    %edx,%eax
  cmovl  %edx,%eax
  cmp    %ebx,%eax
  jge    L70
  mov    %eax,(%rcx)
  jmp    L111
L70:
  sub    $0x1,%ebx
  mov    0x18(%rsp),%rax
  mov    %ebx,(%rax)
L111:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D34
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D66
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D12
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D21
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D57
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D45
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D15
type_guessed: string

tool: D34: voledit> Voxel range of cropping. Enter new grid values:

tool: D66: voledit> Minimum x value (1-%d): 

tool: D12: voledit> Maximum x value (%d-%d): 

tool: D21: voledit> Minimum y value (1-%d): 

tool: D57: voledit> Maximum y value (%d-%d): 

tool: D45: voledit> Minimum z value (1-%d): 

tool: D15: voledit> Maximum z value (%d-%d): 

assistant: ```c
void get_crop_parameters(int *minx, int *miny, int *minz, int *maxx, int *maxy, int *maxz, int extx, int exty, int extz) {
  printf("voledit> Voxel range of cropping. Enter new grid values:\n");
  printf("voledit> Minimum x value (1-%d): ", extx);
  *minx = readln_int() - 1;
  if (*minx < 0)
    *minx = 0;
  if (*minx >= extx)
    *minx = extx - 1;
  printf("voledit> Maximum x value (%d-%d): ", *minx + 1, extx);
  *maxx = readln_int() - 1;
  if (*maxx < *minx)
    *maxx = *minx;
  if (*maxx >= extx)
    *maxx = extx - 1;
  printf("voledit> Minimum y value (1-%d): ", exty);
  *miny = readln_int() - 1;
  if (*miny < 0)
    *miny = 0;
  if (*miny >= exty)
    *miny = exty - 1;
  printf("voledit> Maximum y value (%d-%d): ", *miny + 1, exty);
  *maxy = readln_int() - 1;
  if (*maxy < *miny)
    *maxy = *miny;
  if (*maxy >= exty)
    *maxy = exty - 1;
  printf("voledit> Minimum z value (1-%d): ", extz);
  *minz = readln_int() - 1;
  if (*minz < 0)
    *minz = 0;
  if (*minz >= extz)
    *minz = extz - 1;
  printf("voledit> Maximum z value (%d-%d): ", *minz + 1, extz);
  *maxz = readln_int() - 1;
  if (*maxz < *minz)
    *maxz = *minz;
  if (*maxz >= extz)
    *maxz = extz - 1;
}
```