user: What would the C source look like for the assembly code provided here:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x78,%rsp
  mov    %edi,-0x74(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  lea    D45(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x70(%rbp),%rax
  mov    %rax,%rsi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x70(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x58(%rbp)
  movslq %eax,%rdx
  mov    %rdx,-0x90(%rbp)
  movq   $0x0,-0x88(%rbp)
  movslq %eax,%rdx
  mov    %rdx,-0xa0(%rbp)
  movq   $0x0,-0x98(%rbp)
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L204:
  cmp    %rdx,%rsp
  je     L142
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L204
L142:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L127
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L127:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x50(%rbp)
  mov    -0x70(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x48(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L39:
  cmp    %rdx,%rsp
  je     L160
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L39
L160:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L103
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L103:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x40(%rbp)
  movl   $0x0,-0x68(%rbp)
  jmp    L15
L52:
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,%rsi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x40(%rbp),%rax
  mov    -0x68(%rbp),%edx
  movslq %edx,%rdx
  movl   $0x0,(%rax,%rdx,4)
  addl   $0x1,-0x68(%rbp)
L15:
  mov    -0x70(%rbp),%eax
  cmp    %eax,-0x68(%rbp)
  jl     L52
  movl   $0x0,-0x64(%rbp)
  jmp    L7
L59:
  mov    -0x40(%rbp),%rax
  mov    -0x64(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  cmp    $0x1,%eax
  je     L98
  movl   $0x1,-0x60(%rbp)
  jmp    L109
L72:
  mov    -0x40(%rbp),%rax
  mov    -0x60(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  cmp    $0x1,%eax
  je     L236
  mov    -0x50(%rbp),%rax
  mov    -0x64(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%ecx
  mov    -0x50(%rbp),%rax
  mov    -0x60(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  cmp    %eax,%ecx
  jne    L220
  mov    -0x64(%rbp),%eax
  cmp    -0x60(%rbp),%eax
  je     L220
  mov    -0x40(%rbp),%rax
  mov    -0x64(%rbp),%edx
  movslq %edx,%rdx
  movl   $0x1,(%rax,%rdx,4)
  mov    -0x40(%rbp),%rax
  mov    -0x60(%rbp),%edx
  movslq %edx,%rdx
  movl   $0x1,(%rax,%rdx,4)
  jmp    L16
L220:
  mov    -0x50(%rbp),%rax
  mov    -0x64(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  mov    %eax,-0x6c(%rbp)
  jmp    L16
L236:
  nop
L16:
  addl   $0x1,-0x60(%rbp)
L109:
  mov    -0x70(%rbp),%eax
  cmp    %eax,-0x60(%rbp)
  jl     L72
  jmp    L197
L98:
  nop
L197:
  addl   $0x1,-0x64(%rbp)
L7:
  mov    -0x70(%rbp),%eax
  cmp    %eax,-0x64(%rbp)
  jl     L59
  movl   $0x0,-0x5c(%rbp)
  jmp    L32
L172:
  mov    -0x50(%rbp),%rax
  mov    -0x5c(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  cmp    %eax,-0x6c(%rbp)
  jge    L45
  mov    -0x40(%rbp),%rax
  mov    -0x5c(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  test   %eax,%eax
  jne    L45
  mov    -0x50(%rbp),%rax
  mov    -0x5c(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  mov    %eax,-0x6c(%rbp)
L45:
  addl   $0x1,-0x5c(%rbp)
L32:
  mov    -0x70(%rbp),%eax
  cmp    %eax,-0x5c(%rbp)
  jl     L172
  mov    -0x6c(%rbp),%eax
  mov    %eax,%esi
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D58(%rip),%rax
  mov    %rax,%rdi
  call   <system@plt>
  mov    $0x0,%eax
  mov    %rbx,%rsp
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L97
  call   <__stack_chk_fail@plt>
L97:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D45
datatype: string
name: parse_data
arguments: data_tag: D26
datatype: string
name: parse_data
arguments: data_tag: D0
datatype: string
name: parse_data
arguments: data_tag: D12
datatype: string
name: parse_data
arguments: data_tag: D58
datatype: string

tool: D45: Vvedit kilkist elementiv masivy -> 

tool: D26: %d

tool: D0: Vvedit elementy masivy

tool: D12: Max element z masiva(bez povtoren): %d

tool: D58: PAUSE

assistant: ```c
int main(int argc, char *argv[]) {
  int countOfElements;
  printf("Vvedit kilkist elementiv masivy -> ");
  scanf("%d", &countOfElements);
  printf("Vvedit elementy masivy\n");
  int numbers[countOfElements], check[countOfElements], maxElement;
  for (int currentElement = 0; currentElement < countOfElements; currentElement++) {
    scanf("%d", &numbers[currentElement]);
    check[currentElement] = 0;
  };
  for (int currentElement = 0; currentElement < countOfElements; currentElement++) {
    if (check[currentElement] == 1)
      continue;
    for (int nextElement = 1; nextElement < countOfElements; nextElement++) {
      if (check[nextElement] == 1)
        continue;
      if (numbers[currentElement] == numbers[nextElement] && currentElement != nextElement) {
        check[currentElement] = 1;
        check[nextElement] = 1;
      } else
        maxElement = numbers[currentElement];
    }
  }
  for (int currentElement = 0; currentElement < countOfElements; currentElement++)
    if (maxElement < numbers[currentElement] && check[currentElement] == 0)
      maxElement = numbers[currentElement];
  printf("Max element z masiva(bez povtoren): %d", maxElement);
  system("PAUSE");
  return 0;
}
```