user: 下面的汇编指令对应的C源代码是什么:

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xc0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  cmp    $0x4,%edi
  je     L88
  lea    D7(%rip),%rdi
  call   <puts@plt>
  xor    %edi,%edi
  call   <exit@plt>
L88:
  mov    %rsi,%rbp
  lea    0x10(%rsp),%r12
  mov    0x8(%rsi),%rsi
  mov    %r12,%rdi
  call   <strcpy@plt>
  mov    0x10(%rbp),%rdi
  xor    %eax,%eax
  call   <atoi@plt>
  mov    0x18(%rbp),%rdi
  mov    %eax,%ebx
  xor    %eax,%eax
  call   <atoi@plt>
  mov    %r12,%rdi
  mov    %eax,%ebp
  xor    %eax,%eax
  call   <does_not_exist@plt>
  test   %eax,%eax
  jne    L84
  lea    0x8(%rsp),%rdx
  mov    %r12,%rdi
  mov    %rsp,%rsi
  xor    %eax,%eax
  call   <get_image_size@plt>
  mov    0x8(%rsp),%rsi
  mov    (%rsp),%rdi
  xor    %eax,%eax
  lea    D8(%rip),%r13
  call   <allocate_image_array@plt>
  mov    %r12,%rdi
  lea    0x60(%rsp),%r12
  movslq %eax,%r14
  xor    %eax,%eax
  mov    %r14,%rsi
  call   <read_image_array@plt>
  nopl   0x0(%rax)
L46:
  mov    0x8(%rsp),%rcx
  mov    (%rsp),%rdx
  xor    %eax,%eax
  mov    %ebp,%esi
  mov    %ebx,%edi
  call   <is_in_image@plt>
  test   %eax,%eax
  jne    L100
L1:
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <gets@plt>
  movzbl 0x60(%rsp),%eax
  and    $0xffffffdf,%eax
  cmp    $0x4a,%al
  jne    L97
  add    $0xf,%ebx
  jmp    L46
L84:
  lea    D0(%rip),%rdi
  mov    %r12,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %edi,%edi
  call   <exit@plt>
  nopl   (%rax)
L97:
  cmp    $0x4b,%al
  jne    L31
  sub    $0xf,%ebx
  jmp    L46
L31:
  cmp    $0x48,%al
  jne    L114
  sub    $0xb,%ebp
  jmp    L46
L114:
  cmp    $0x4c,%al
  jne    L8
  add    $0xb,%ebp
  jmp    L46
L100:
  mov    %ebp,%edx
  mov    %ebx,%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <show_screen@plt>
  jmp    L1
L8:
  cmp    $0x58,%al
  jne    L46
  mov    (%rsp),%rsi
  xor    %eax,%eax
  mov    %r14,%rdi
  call   <free_image_array@plt>
  mov    0xb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L47
  add    $0xc0,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L47:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D7
datatype: string
name: unpack_data
arguments: label: D8
datatype: string
name: unpack_data
arguments: label: D0
datatype: string

tool: D7: 
usage: showi input-image il ie

tool: D8: 

 x=quit j=down k=up h=left l=right
Enter choice and press Enter:  

tool: D0: 
ERROR input file %s does not exist

assistant: ```c
int main(argc, argv)
int argc;
char *argv[];
{
  char in_name[80];
  char response[80];
  int ie, il, not_done, temp_ie, temp_il;
  long height, width;
  short **the_image;
  if (argc != 4) {
    printf("\nusage: showi input-image il ie\n");
    exit(0);
  }
  strcpy(in_name, argv[1]);
  il = atoi(argv[2]);
  ie = atoi(argv[3]);
  if (does_not_exist(in_name)) {
    printf("\nERROR input file %s does not exist", in_name);
    exit(0);
  }
  get_image_size(in_name, &height, &width);
  the_image = allocate_image_array(height, width);
  read_image_array(in_name, the_image);
  temp_il = il;
  temp_ie = ie;
  not_done = 1;
  while (not_done) {
    if (is_in_image(temp_il, temp_ie, height, width)) {
      il = temp_il;
      ie = temp_ie;
      show_screen(the_image, il, ie);
    }
    printf("\n\n x=quit j=down k=up h=left l=right"
           "\nEnter choice and press Enter:  ");
    gets(response);
    if (response[0] == 'x' || response[0] == 'X')
      not_done = 0;
    if (response[0] == 'j' || response[0] == 'J')
      temp_il = temp_il + ((3 * 20) / 4);
    if (response[0] == 'k' || response[0] == 'K')
      temp_il = temp_il - ((3 * 20) / 4);
    if (response[0] == 'h' || response[0] == 'H')
      temp_ie = temp_ie - ((3 * 15) / 4);
    if (response[0] == 'l' || response[0] == 'L')
      temp_ie = temp_ie + ((3 * 15) / 4);
  }
  free_image_array(the_image, height);
}
```