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

```asm
<test_plot_lattice>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %edi,-0x54(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0xc8,-0x4c(%rbp)
  movl   $0xc8,-0x48(%rbp)
  movsd  D50(%rip),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  lea    D20(%rip),%rax
  mov    %rax,-0x38(%rbp)
  movl   $0x2,-0x44(%rbp)
  jmp    L78
L113:
  mov    -0x44(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  lea    -0x4c(%rbp),%rdx
  lea    D15(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L5
  mov    -0x44(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  lea    -0x48(%rbp),%rdx
  lea    D21(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L5
  mov    -0x44(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  lea    -0x4c(%rbp),%rdx
  lea    D5(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  cmp    $0x1,%eax
  jne    L80
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x48(%rbp)
  jmp    L5
L80:
  mov    -0x44(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  lea    -0x40(%rbp),%rdx
  lea    D48(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L5
  mov    -0x44(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    $0x2,%edx
  lea    D3(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L3
  mov    -0x44(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x2,%rax
  mov    %rax,-0x38(%rbp)
  jmp    L5
L3:
  mov    -0x60(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rcx
  mov    -0x60(%rbp),%rax
  mov    (%rax),%rax
  mov    $0x0,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <usage@plt>
L5:
  addl   $0x1,-0x44(%rbp)
L78:
  mov    -0x44(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L113
  mov    -0x4c(%rbp),%eax
  cmp    $0x2,%eax
  jle    L99
  mov    -0x48(%rbp),%eax
  cmp    $0x2,%eax
  jg     L7
L99:
  mov    -0x60(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rcx
  mov    -0x60(%rbp),%rax
  mov    (%rax),%rax
  mov    $0x1,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <usage@plt>
L7:
  mov    -0x48(%rbp),%ecx
  mov    -0x4c(%rbp),%eax
  mov    $0x0,%edx
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <allocate_matrix@plt>
  mov    %rax,-0x30(%rbp)
  mov    -0x48(%rbp),%ecx
  mov    -0x4c(%rbp),%eax
  mov    $0x0,%edx
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <allocate_matrix@plt>
  mov    %rax,-0x28(%rbp)
  mov    -0x48(%rbp),%ecx
  mov    -0x4c(%rbp),%eax
  mov    $0x2e,%edx
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <allocate_matrix@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x48(%rbp),%ecx
  mov    -0x4c(%rbp),%edx
  lea    -0x10(%rbp),%rsi
  lea    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <set_A1_A2@plt>
  mov    -0x40(%rbp),%rdi
  mov    -0x48(%rbp),%ecx
  mov    -0x4c(%rbp),%edx
  mov    -0x28(%rbp),%rsi
  mov    -0x30(%rbp),%rax
  movq   %rdi,%xmm0
  mov    %rax,%rdi
  call   <populate_bonds@plt>
  mov    -0x48(%rbp),%r8d
  mov    -0x4c(%rbp),%ecx
  lea    -0x18(%rbp),%r9
  mov    -0x28(%rbp),%rdx
  mov    -0x30(%rbp),%rsi
  mov    -0x20(%rbp),%rax
  push   -0x38(%rbp)
  lea    -0x10(%rbp),%rdi
  push   %rdi
  mov    %rax,%rdi
  call   <plot_lattice@plt>
  add    $0x10,%rsp
  mov    -0x38(%rbp),%rax
  mov    %rax,%rsi
  lea    D67(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0x48(%rbp),%edx
  mov    -0x4c(%rbp),%ecx
  mov    -0x30(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <free_matrix@plt>
  mov    -0x48(%rbp),%edx
  mov    -0x4c(%rbp),%ecx
  mov    -0x28(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <free_matrix@plt>
  mov    -0x48(%rbp),%edx
  mov    -0x4c(%rbp),%ecx
  mov    -0x20(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <free_matrix@plt>
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L50
  call   <__stack_chk_fail@plt>
L50:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D50
type_infered: f64
name: extract_symbolic_data
arguments: label: D20
type_infered: string
name: extract_symbolic_data
arguments: label: D15
type_infered: string
name: extract_symbolic_data
arguments: label: D21
type_infered: string
name: extract_symbolic_data
arguments: label: D5
type_infered: string
name: extract_symbolic_data
arguments: label: D48
type_infered: string
name: extract_symbolic_data
arguments: label: D3
type_infered: string
name: extract_symbolic_data
arguments: label: D67
type_infered: string

tool: D50: 0.6

tool: D20: p2.ppm

tool: D15: M=%d

tool: D21: N=%d

tool: D5: MN=%d

tool: D48: p=%lf

tool: D3: f=

tool: D67: Wrote %s.


assistant: ```c
void test_plot_lattice(int argc, char **argv) {
  int M = 200;
  int N = 200;
  double p = 0.6;
  int argi;
  int **vbonds;
  int **hbonds;
  int **site_marks;
  int A1[2];
  int A2[2];
  char *image_file_name = "p2.ppm";
  for (argi = 2; argi < argc; argi++) {
    if (sscanf(argv[argi], "M=%d", &M) == 1)
      ;
    else if (sscanf(argv[argi], "N=%d", &N) == 1)
      ;
    else if (sscanf(argv[argi], "MN=%d", &M) == 1)
      N = M;
    else if (sscanf(argv[argi], "p=%lf", &p) == 1)
      ;
    else if (strncmp(argv[argi], "f=", 2) == 0)
      image_file_name = &argv[argi][2];
    else
      usage(argv[0], argv[1], 0);
  }
  if ((M < 3) || (N < 3))
    usage(argv[0], argv[1], 1);
  vbonds = allocate_matrix(M, N, 0);
  hbonds = allocate_matrix(M, N, 0);
  site_marks = allocate_matrix(M, N, '.');
  set_A1_A2(A1, A2, M, N);
  populate_bonds(vbonds, hbonds, M, N, p);
  plot_lattice(site_marks, vbonds, hbonds, M, N, A1, A2, image_file_name);
  printf("Wrote %s.\n", image_file_name);
  free_matrix(vbonds, M, N);
  free_matrix(hbonds, M, N);
  free_matrix(site_marks, M, N);
}
```