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

```asm
<main>:
  endbr64
  push   %rbp
  lea    D14(%rip),%rdi
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  lea    -0x3c(%rbp),%rdx
  lea    -0x40(%rbp),%rsi
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <scanf@plt>
  movslq -0x3c(%rbp),%rax
  movslq -0x40(%rbp),%rcx
  mov    %rsp,%r8
  mov    %rax,%rsi
  lea    0x0(,%rax,4),%rbx
  mov    %rcx,%rdi
  imul   %rcx,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%r8
  and    $0xfffffffffffffff0,%rdx
  cmp    %r8,%rsp
  je     L141
L130:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %r8,%rsp
  jne    L130
L141:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L77
L83:
  lea    0xf(,%rcx,4),%rax
  mov    %rsp,%rcx
  mov    %rsp,%r15
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  and    $0xfffffffffffffff0,%rdx
  sub    %rax,%rcx
L97:
  cmp    %rcx,%rsp
  je     L7
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L97
L77:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L83
L7:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L107
L132:
  lea    0xf(%rbx),%rdx
  mov    %rsp,-0x68(%rbp)
  mov    %rsp,%rcx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rdx
  and    $0xfffffffffffffff0,%rax
  sub    %rdx,%rcx
L65:
  cmp    %rcx,%rsp
  je     L70
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L65
L107:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L132
L70:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L18
  orq    $0x0,-0x8(%rsp,%rax,1)
L18:
  mov    %rsp,-0x48(%rbp)
  lea    D3(%rip),%r12
  test   %edi,%edi
  jle    L27
  movq   $0x0,-0x58(%rbp)
  shr    $0x2,%rbx
  movq   $0x0,-0x50(%rbp)
  nopl   (%rax)
L54:
  mov    -0x50(%rbp),%eax
  xor    %r14d,%r14d
  mov    %eax,-0x5c(%rbp)
  mov    -0x58(%rbp),%rax
  lea    (%r15,%rax,4),%r13
  test   %esi,%esi
  jle    L48
  nopl   (%rax)
L13:
  mov    %r13,%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x4,%r13
  call   <scanf@plt>
  movslq %r14d,%rax
  mov    -0x48(%rbp),%rcx
  mov    -0x3c(%rbp),%esi
  imul   %rbx,%rax
  mov    (%r15,%rax,4),%eax
  mov    %eax,(%rcx,%r14,4)
  add    $0x1,%r14
  cmp    %r14d,%esi
  jg     L13
L48:
  movslq -0x5c(%rbp),%rax
  mov    -0x50(%rbp),%rdx
  mov    -0x68(%rbp),%rdi
  add    %rbx,-0x58(%rbp)
  imul   %rbx,%rax
  mov    (%r15,%rax,4),%eax
  mov    %eax,(%rdi,%rdx,4)
  mov    %rdx,%rax
  add    $0x1,%rax
  mov    %rax,-0x50(%rbp)
  cmp    %eax,-0x40(%rbp)
  jg     L54
L27:
  mov    -0x48(%rbp),%rdi
  call   <selection_sort@plt>
  mov    -0x40(%rbp),%esi
  mov    -0x68(%rbp),%rdi
  mov    %rax,%rbx
  call   <selection_sort@plt>
  mov    %r12,%rdi
  lea    (%rbx,%rax,1),%esi
  call   <printf@plt>
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L33
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L33:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D14
data_type: string
name: retrieve_data
arguments: tag: D3
data_type: string

tool: D14: %d %d

tool: D3: %d

assistant: ```c
int main(int argc, char const *argv[]) {
  int a, b, i, j, count = 0;
  scanf("%d %d", &a, &b);
  int c[a][b], d[a], e[b];
  for (i = 0; i < a; ++i) {
    for (j = 0; j < b; ++j) {
      scanf("%d", &c[i][j]);
      e[j] = c[j][0];
    }
    d[i] = c[i][0];
  }
  count += selection_sort(e, b) + selection_sort(d, a);
  printf("%d", count);
  return 0;
}
```