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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  lea    D1(%rip),%r14
  push   %r13
  push   %r12
  lea    D69(%rip),%r12
  push   %rbx
  lea    -0x3c(%rbp),%rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  cs nopw 0x0(%rax,%rax,1)
L135:
  mov    %r12,%rdi
  call   <puts@plt>
  mov    %rbx,%rsi
  mov    %r14,%rdi
  call   <scanf@plt>
  movslq -0x3c(%rbp),%rax
  test   %eax,%eax
  jle    L135
  lea    0xf(,%rax,4),%rax
  mov    %rsp,%rcx
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L71
L25:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L25
L71:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L8
L103:
  mov    %rsp,%rbx
  xor    %r12d,%r12d
  lea    D4(%rip),%r15
  mov    %rbx,%r13
  nopw   0x0(%rax,%rax,1)
L160:
  mov    %r15,%rdi
  add    $0x1,%r12d
  call   <puts@plt>
  mov    %r13,%rsi
  mov    %r14,%rdi
  add    $0x4,%r13
  call   <scanf@plt>
  cmp    %r12d,-0x3c(%rbp)
  jg     L160
  lea    D17(%rip),%rdi
  xor    %eax,%eax
  xor    %r12d,%r12d
  call   <printf@plt>
  mov    -0x3c(%rbp),%edx
  lea    D45(%rip),%r14
  test   %edx,%edx
  jle    L50
  nopl   0x0(%rax,%rax,1)
L10:
  mov    (%rbx,%r12,4),%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  add    $0x1,%r12
  call   <printf@plt>
  cmp    %r12d,-0x3c(%rbp)
  jg     L10
L50:
  lea    D76(%rip),%r12
  mov    %r12,%rdi
  call   <puts@plt>
  mov    -0x3c(%rbp),%esi
  mov    $0x1,%r8d
  lea    0x1(%rsi),%r10d
  test   %esi,%esi
  jle    L38
  nopl   0x0(%rax,%rax,1)
L130:
  mov    -0x4(%rbx,%r8,4),%r9d
  lea    -0x1(%r8),%edi
  cmp    %r8d,%esi
  jle    L28
  mov    %r8,%rax
  mov    %r9d,%ecx
  nopl   0x0(%rax,%rax,1)
L69:
  mov    (%rbx,%rax,4),%edx
  cmp    %ecx,%edx
  jge    L98
  mov    %edx,%ecx
  mov    %eax,%edi
L98:
  add    $0x1,%rax
  cmp    %eax,%esi
  jg     L69
L88:
  mov    %ecx,-0x4(%rbx,%r8,4)
  movslq %edi,%rdi
  add    $0x1,%r8
  mov    %r9d,(%rbx,%rdi,4)
  cmp    %r10,%r8
  jne    L130
L38:
  lea    D10(%rip),%rdi
  xor    %eax,%eax
  xor    %r13d,%r13d
  call   <printf@plt>
  mov    -0x3c(%rbp),%eax
  lea    D45(%rip),%r14
  test   %eax,%eax
  jle    L23
  nopw   0x0(%rax,%rax,1)
L154:
  mov    (%rbx,%r13,4),%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  add    $0x1,%r13
  call   <printf@plt>
  cmp    %r13d,-0x3c(%rbp)
  jg     L154
L23:
  mov    %r12,%rdi
  call   <puts@plt>
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L100
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L28:
  mov    %r9d,%ecx
  jmp    L88
L8:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L103
L100:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D1
data_type: string
name: parse_data
arguments: data_label: D69
data_type: string
name: parse_data
arguments: data_label: D4
data_type: string
name: parse_data
arguments: data_label: D17
data_type: string
name: parse_data
arguments: data_label: D45
data_type: string
name: parse_data
arguments: data_label: D76
data_type: string
name: parse_data
arguments: data_label: D10
data_type: string

tool: D1: %d

tool: D69: Enter the number of elements

tool: D4: 
Enter the element

tool: D17: 
Array is: {

tool: D45:  %d 

tool: D76: }

tool: D10: 
Array after selection-sorting is: {

assistant: ```c
main() {
  int n;
  int i, j;
  int temp, min;
  do {
    printf("Enter the number of elements\n");
    scanf("%d", &n);
  } while (n < 1);
  int arr[n];
  for (i = 0; i < n; i++) {
    printf("\nEnter the element\n");
    scanf("%d", &arr[i]);
  }
  printf("\nArray is: {");
  for (i = 0; i < n; i++)
    printf(" %d ", arr[i]);
  printf("}\n");
  for (i = 0; i < n; i++) {
    min = i;
    for (j = i + 1; j < n; j++) {
      if (arr[j] < arr[min])
        min = j;
    }
    temp = arr[i];
    arr[i] = arr[min];
    arr[min] = temp;
  }
  printf("\nArray after selection-sorting is: {");
  for (i = 0; i < n; i++)
    printf(" %d ", arr[i]);
  printf("}\n");
}
```