user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  lea    -0x74(%rbp),%rax
  mov    %rax,%rsi
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x74(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x60(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  cltq
  lea    0x0(,%rax,8),%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
L110:
  cmp    %rdx,%rsp
  je     L21
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L110
L21:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L14
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L14:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x58(%rbp)
  movl   $0x0,-0x6c(%rbp)
  movl   $0x0,-0x70(%rbp)
  jmp    L9
L147:
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,%rsi
  lea    D15(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  addl   $0x1,-0x70(%rbp)
L9:
  mov    -0x74(%rbp),%eax
  cmp    %eax,-0x70(%rbp)
  jl     L147
  movl   $0x0,-0x70(%rbp)
  jmp    L132
L26:
  movl   $0x0,-0x6c(%rbp)
  mov    -0x58(%rbp),%rax
  mov    -0x70(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,8),%rax
  mov    %rax,-0x50(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,%rdi
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x48(%rbp)
  movsd  -0x48(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  -0x48(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jp     L34
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jne    L34
  lea    D16(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L13
L34:
  movsd  -0x48(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  cltq
  mov    %rax,-0x68(%rbp)
  jmp    L83
L38:
  mov    -0x68(%rbp),%rax
  imul   %rax,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  sub    %rdx,%rax
  mov    %rax,-0x40(%rbp)
  movsd  -0x48(%rbp),%xmm0
  cvttsd2si %xmm0,%edx
  mov    -0x40(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <Check@plt>
  mov    %eax,-0x6c(%rbp)
  cmpl   $0x0,-0x6c(%rbp)
  je     L154
  lea    D16(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L88
L154:
  nop
  subq   $0x1,-0x68(%rbp)
L83:
  cmpq   $0x0,-0x68(%rbp)
  jns    L38
L88:
  cmpl   $0x0,-0x6c(%rbp)
  jne    L13
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L13:
  addl   $0x1,-0x70(%rbp)
L132:
  mov    -0x74(%rbp),%eax
  cmp    %eax,-0x70(%rbp)
  jl     L26
  mov    $0x0,%eax
  mov    %rbx,%rsp
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L94
  call   <__stack_chk_fail@plt>
L94:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: disassemble_data
arguments: label: D44
type_guessed: string
name: disassemble_data
arguments: label: D15
type_guessed: string
name: disassemble_data
arguments: label: D16
type_guessed: string
name: disassemble_data
arguments: label: D5
type_guessed: string

tool: D44: %d

tool: D15: %lld

tool: D16: Yes


tool: D5: No


assistant: ```c
int main() {
  int t;
  scanf("%d", &t);
  long long int a, arr[t], j, k, r;
  double q;
  int i, v = 0;
  for (i = 0; i < t; i++)
    scanf("%lld", &arr[i]);
  for (i = 0; i < t; i++) {
    v = 0;
    a = arr[i];
    q = sqrt(a);
    if (q - (int)q == 0) {
      printf("Yes\n");
      continue;
    }
    for (j = (int)q; j >= 0; j--) {
      r = a - (j * j);
      v = Check(r, (int)q);
      if (v) {
        printf("Yes\n");
        break;
      } else
        continue;
    }
    if (v == 0)
      printf("No\n");
  }
  return 0;
}
```