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

```asm
<get_crop_parameters>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  lea    D10(%rip),%rdi
  push   %r14
  mov    %rcx,%r14
  push   %r13
  mov    %rsi,%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    0x60(%rsp),%r12d
  mov    0x68(%rsp),%ebp
  mov    %rdx,0x8(%rsp)
  mov    %r8,0x10(%rsp)
  mov    0x70(%rsp),%ebx
  mov    %r9,0x18(%rsp)
  call   <puts@plt>
  mov    %r12d,%esi
  lea    D33(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <readln_int@plt>
  mov    $0x0,%edx
  sub    $0x1,%eax
  cmovs  %edx,%eax
  cmp    %eax,%r12d
  jle    L46
  mov    %eax,(%r15)
  lea    0x1(%rax),%esi
L67:
  mov    %r12d,%edx
  lea    D43(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <readln_int@plt>
  sub    $0x1,%eax
  mov    %eax,(%r14)
  mov    (%r15),%edx
  cmp    %edx,%eax
  cmovl  %edx,%eax
  cmp    %r12d,%eax
  jge    L13
  mov    %eax,(%r14)
L76:
  mov    %ebp,%esi
  lea    D17(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <readln_int@plt>
  mov    $0x0,%edx
  sub    $0x1,%eax
  cmovs  %edx,%eax
  cmp    %eax,%ebp
  jle    L96
  mov    %eax,0x0(%r13)
  lea    0x1(%rax),%esi
L61:
  mov    %ebp,%edx
  lea    D60(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <readln_int@plt>
  mov    0x10(%rsp),%rcx
  sub    $0x1,%eax
  mov    %eax,(%rcx)
  mov    0x0(%r13),%edx
  cmp    %edx,%eax
  cmovl  %edx,%eax
  cmp    %eax,%ebp
  jle    L86
  mov    %eax,(%rcx)
L65:
  mov    %ebx,%esi
  lea    D13(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <readln_int@plt>
  mov    $0x0,%edx
  sub    $0x1,%eax
  cmovs  %edx,%eax
  cmp    %ebx,%eax
  jge    L99
  mov    0x8(%rsp),%rcx
  lea    0x1(%rax),%esi
  mov    %eax,(%rcx)
L101:
  mov    %ebx,%edx
  lea    D31(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <readln_int@plt>
  mov    0x18(%rsp),%rcx
  mov    0x8(%rsp),%rsi
  sub    $0x1,%eax
  mov    %eax,(%rcx)
  mov    (%rsi),%edx
  cmp    %edx,%eax
  cmovl  %edx,%eax
  cmp    %ebx,%eax
  jge    L109
  mov    %eax,(%rcx)
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L46:
  lea    -0x1(%r12),%eax
  mov    %r12d,%esi
  mov    %eax,(%r15)
  jmp    L67
L109:
  sub    $0x1,%ebx
  mov    %ebx,(%rcx)
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L99:
  mov    0x8(%rsp),%rcx
  lea    -0x1(%rbx),%eax
  mov    %ebx,%esi
  mov    %eax,(%rcx)
  jmp    L101
  cs nopw 0x0(%rax,%rax,1)
L86:
  sub    $0x1,%ebp
  mov    %ebp,(%rcx)
  jmp    L65
  nopw   0x0(%rax,%rax,1)
L96:
  lea    -0x1(%rbp),%eax
  mov    %ebp,%esi
  mov    %eax,0x0(%r13)
  jmp    L61
  xchg   %ax,%ax
L13:
  sub    $0x1,%r12d
  mov    %r12d,(%r14)
  jmp    L76
```

tool_calls: name: read_data
arguments: data_label: D10
type_infered: string
name: read_data
arguments: data_label: D33
type_infered: string
name: read_data
arguments: data_label: D43
type_infered: string
name: read_data
arguments: data_label: D17
type_infered: string
name: read_data
arguments: data_label: D60
type_infered: string
name: read_data
arguments: data_label: D13
type_infered: string
name: read_data
arguments: data_label: D31
type_infered: string

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

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

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

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

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

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

tool: D31: 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;
}
```