user: 请从给定的汇编指令推导出C源代码：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x48,%rsp
  mov    %edi,-0x64(%rbp)
  mov    %rsi,-0x70(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  lea    -0x54(%rbp),%rax
  mov    %rax,%rsi
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x54(%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
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L31:
  cmp    %rdx,%rsp
  je     L55
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L31
L55:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L0
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L0:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x40(%rbp)
  movl   $0x0,-0x50(%rbp)
  jmp    L61
L21:
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x4,%rax
  lea    0xc(%rax),%rdx
  mov    -0x40(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x4,%rax
  lea    0x8(%rax),%rdx
  mov    -0x40(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x4,%rax
  lea    0x4(%rax),%rdx
  mov    -0x40(%rbp),%rax
  add    %rax,%rdx
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x4,%rax
  mov    %rax,%rdi
  mov    -0x40(%rbp),%rax
  add    %rdi,%rax
  mov    %rsi,%r8
  mov    %rax,%rsi
  lea    D10(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  addl   $0x1,-0x50(%rbp)
L61:
  mov    -0x54(%rbp),%eax
  cmp    %eax,-0x50(%rbp)
  jl     L21
  movl   $0x0,-0x4c(%rbp)
  jmp    L76
L26:
  mov    -0x40(%rbp),%rdx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x4,%rax
  add    %rdx,%rax
  add    $0xc,%rax
  mov    (%rax),%ecx
  mov    -0x40(%rbp),%rdx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x4,%rax
  add    %rdx,%rax
  add    $0x8,%rax
  mov    (%rax),%edx
  mov    -0x40(%rbp),%rsi
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x4,%rax
  add    %rsi,%rax
  add    $0x4,%rax
  mov    (%rax),%esi
  mov    -0x40(%rbp),%rdi
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x4,%rax
  add    %rdi,%rax
  mov    (%rax),%eax
  mov    %eax,%edi
  call   <draw@plt>
  addl   $0x1,-0x4c(%rbp)
L76:
  mov    -0x54(%rbp),%eax
  cmp    %eax,-0x4c(%rbp)
  jl     L26
  mov    $0x0,%eax
  mov    %rbx,%rsp
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L3
  call   <__stack_chk_fail@plt>
L3:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D3
type: string
name: extract_symbolic_data
arguments: data_tag: D10
type: string

tool: D3: %d

tool: D10: %d %d %d %d

assistant: ```c
int main(int argc, char const *argv[]) {
  int t;
  scanf("%d", &t);
  int input_array[t][4];
  for (int i = 0; i < t; ++i) {
    scanf("%d %d %d %d", &input_array[i][0], &input_array[i][1], &input_array[i][2], &input_array[i][3]);
  }
  for (int i = 0; i < t; ++i) {
    draw(input_array[i][0], input_array[i][1], input_array[i][2], input_array[i][3]);
  }
  return 0;
}
```