user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r14
  lea    D45(%rip),%rdi
  push   %r13
  push   %r12
  lea    D12(%rip),%r12
  push   %rbp
  push   %rbx
  sub    $0x50,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  movabs $0x400000001,%rax
  lea    0x10(%rsp),%r13
  movl   $0x0,0x38(%rsp)
  lea    0x14(%rsp),%rbp
  mov    %r13,%rbx
  lea    0x38(%rsp),%r14
  mov    %rax,0x10(%rsp)
  movabs $0x900000006,%rax
  mov    %rax,0x18(%rsp)
  movabs $0x100000000d,%rax
  mov    %rax,0x20(%rsp)
  movabs $0x1c00000013,%rax
  mov    %rax,0x28(%rsp)
  movabs $0x6400000028,%rax
  mov    %rax,0x30(%rsp)
  call   <puts@plt>
  mov    $0x1,%esi
  jmp    L29
  nopl   (%rax)
L76:
  mov    0x0(%rbp),%esi
  add    $0x4,%rbp
L29:
  xor    %eax,%eax
  mov    %r12,%rdi
  call   <printf@plt>
  cmp    %r14,%rbp
  jne    L76
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D49(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  lea    D33(%rip),%rdi
  call   <scanf@plt>
  mov    0xc(%rsp),%esi
  cmp    $0x64,%esi
  jle    L88
  mov    %esi,0x38(%rsp)
L69:
  lea    D47(%rip),%rdi
  add    $0x2c,%r13
  call   <puts@plt>
  nopl   0x0(%rax)
L18:
  mov    (%rbx),%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %rbx,%r13
  jne    L18
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L64
  add    $0x50,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L88:
  mov    %r13,%rdx
  xor    %eax,%eax
  jmp    L79
  nopl   (%rax)
L82:
  add    $0x4,%rdx
  cmp    $0xa,%eax
  je     L69
L79:
  mov    (%rdx),%ecx
  movslq %eax,%rdi
  add    $0x1,%eax
  cmp    %ecx,%esi
  jge    L82
  mov    %esi,0x10(%rsp,%rdi,4)
  mov    $0xa,%esi
  movslq %eax,%rdi
  sub    %eax,%esi
  lea    0x0(%r13,%rdi,4),%rdx
  lea    (%rsi,%rdi,1),%rax
  lea    0x4(%r13,%rax,4),%rsi
  nopl   0x0(%rax)
L42:
  mov    %ecx,%eax
  add    $0x4,%rdx
  mov    -0x4(%rdx),%ecx
  mov    %eax,-0x4(%rdx)
  cmp    %rsi,%rdx
  jne    L42
  jmp    L69
L64:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D45
datatype: string
name: disassemble_data
arguments: label: D12
datatype: string
name: disassemble_data
arguments: label: D49
datatype: string
name: disassemble_data
arguments: label: D33
datatype: string
name: disassemble_data
arguments: label: D47
datatype: string

tool: D45: array a:

tool: D12: %5d

tool: D49: insert data:

tool: D33: %d

tool: D47: Now array a:

assistant: ```c
int main() {
  int a[11] = {1, 4, 6, 9, 13, 16, 19, 28, 40, 100};
  int temp1, temp2, number, end, i, j;
  printf("array a:\n");
  for (i = 0; i < 10; i++)
    printf("%5d", a[i]);
  printf("\n");
  printf("insert data:");
  scanf("%d", &number);
  end = a[9];
  if (number > end)
    a[10] = number;
  else {
    for (i = 0; i < 10; i++) {
      if (a[i] > number) {
        temp1 = a[i];
        a[i] = number;
        for (j = i + 1; j < 11; j++) {
          temp2 = a[j];
          a[j] = temp1;
          temp1 = temp2;
        }
        break;
      }
    }
  }
  printf("Now array a:\n");
  for (i = 0; i < 11; i++)
    printf("%5d", a[i]);
  printf("\n");
  return 0;
}
```