user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r14
  push   %r13
  lea    -0x84(%rbp),%rsi
  push   %r12
  lea    D2(%rip),%r12
  push   %rbx
  mov    %r12,%rdi
  sub    $0x70,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  call   <scanf@plt>
  movslq -0x84(%rbp),%rax
  test   %eax,%eax
  jle    L112
  lea    -0x80(%rbp),%rbx
  xor    %r13d,%r13d
  mov    %rbx,%r14
  nopl   0x0(%rax)
L20:
  mov    %r14,%rsi
  mov    %r12,%rdi
  add    $0x1,%r13d
  add    $0x4,%r14
  call   <scanf@plt>
  mov    -0x84(%rbp),%r11d
  cmp    %r13d,%r11d
  jg     L20
  movslq %r11d,%rax
  mov    %rsp,%rcx
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  and    $0xfffffffffffffff0,%rdx
  sub    %rax,%rcx
L118:
  cmp    %rcx,%rsp
  je     L171
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L118
L171:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L141
L81:
  lea    0x3(%rsp),%r10
  mov    %r10,%rax
  and    $0xfffffffffffffffc,%r10
  shr    $0x2,%rax
  test   %r11d,%r11d
  jle    L7
  xor    %edx,%edx
  lea    0x4(%r10),%r9
  mov    $0x4,%ecx
  movl   $0x1,0x0(,%rax,4)
  lea    0x1(%rdx),%r8d
  mov    %r9,%rdi
  cmp    %r8d,%r11d
  je     L50
  nopl   0x0(%rax)
L121:
  movl   $0x1,(%rdi)
  mov    (%rbx,%rcx,1),%esi
  xor    %eax,%eax
  nopl   0x0(%rax,%rax,1)
L95:
  cmp    (%rbx,%rax,1),%esi
  jle    L119
  mov    (%r10,%rax,1),%edx
  cmp    (%rdi),%edx
  jl     L119
  add    $0x1,%edx
  mov    %edx,(%rdi)
L119:
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L95
  mov    %r8d,%edx
  add    $0x4,%rcx
  add    $0x4,%rdi
  lea    0x1(%rdx),%r8d
  cmp    %r8d,%r11d
  jne    L121
L50:
  cmp    $0x1,%r8d
  je     L27
  sub    $0x1,%edx
  mov    %r9,%rax
  mov    $0x1,%r8d
  lea    0x8(%r10,%rdx,4),%rcx
  cs nopw 0x0(%rax,%rax,1)
L135:
  mov    (%rax),%edx
  cmp    %edx,%r8d
  cmovl  %edx,%r8d
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L135
L27:
  mov    %r8d,%esi
  mov    %r12,%rdi
  call   <printf@plt>
  mov    -0x28(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L180
  lea    -0x20(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
L141:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L81
L112:
  lea    0xf(,%rax,4),%rdx
  mov    %rsp,%rcx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rdx
  and    $0xfffffffffffffff0,%rax
  sub    %rdx,%rcx
L198:
  cmp    %rcx,%rsp
  je     L79
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L198
L79:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L5
  orq    $0x0,-0x8(%rsp,%rax,1)
L5:
  mov    (%rsp),%r8d
  jmp    L27
L7:
  mov    0x0(,%rax,4),%r8d
  jmp    L27
L180:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D2
datatype: string

tool: D2: %d

assistant: ```c
int main() {
  int A[20];
  int N;
  int big;
  int a, i, j, k;
  scanf("%d", &N);
  for (a = 0; a < N; a++) {
    scanf("%d", &A[a]);
  }
  int Maxtill[N];
  for (i = 0; i < N; i++) {
    Maxtill[i] = 1;
    for (j = 0; j < i; j++) {
      if (A[i] > A[j]) {
        if ((1 + Maxtill[j]) > Maxtill[i]) {
          Maxtill[i] = Maxtill[j] + 1;
        }
      }
    }
  }
  big = Maxtill[0];
  for (k = 1; k < N; k++) {
    if (Maxtill[k] > big)
      big = Maxtill[k];
  }
  printf("%d", big);
  return 0;
}
```