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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x360,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0x330(%rbp),%rdx
  mov    $0x0,%eax
  mov    $0x65,%ecx
  mov    %rdx,%rdi
  rep stos %rax,%es:(%rdi)
  lea    -0x348(%rbp),%rsi
  lea    -0x34c(%rbp),%rcx
  lea    -0x350(%rbp),%rdx
  lea    -0x354(%rbp),%rax
  mov    %rsi,%r8
  mov    %rax,%rsi
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x354(%rbp),%eax
  mov    %eax,-0x338(%rbp)
  mov    -0x350(%rbp),%eax
  mov    %eax,-0x334(%rbp)
  jmp    L189
L64:
  lea    -0x340(%rbp),%rdx
  lea    -0x344(%rbp),%rax
  mov    %rax,%rsi
  lea    D10(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x344(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x194,%rdx,%rdx
  add    %rbp,%rdx
  sub    $0x330,%rdx
  mov    (%rdx),%edx
  add    $0x1,%edx
  cltq
  imul   $0x194,%rax,%rax
  add    %rbp,%rax
  sub    $0x330,%rax
  mov    %edx,(%rax)
  mov    -0x344(%rbp),%eax
  cltq
  mov    -0x338(%rbp,%rax,4),%r8d
  mov    -0x344(%rbp),%ecx
  mov    -0x344(%rbp),%eax
  cltq
  imul   $0x194,%rax,%rax
  add    %rbp,%rax
  sub    $0x330,%rax
  mov    (%rax),%esi
  mov    -0x340(%rbp),%edi
  movslq %esi,%r9
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%r10
  add    %r10,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %r9,%rax
  mov    %edi,-0x330(%rbp,%rax,4)
  movslq %esi,%rsi
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rcx
  add    %rcx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rsi,%rax
  mov    -0x330(%rbp,%rax,4),%edx
  mov    -0x344(%rbp),%eax
  test   %eax,%eax
  je     L134
  mov    -0x350(%rbp),%eax
  jmp    L132
L134:
  mov    -0x354(%rbp),%eax
L132:
  mov    -0x340(%rbp),%ecx
  sub    %ecx,%eax
  cmp    %eax,%edx
  jle    L147
  mov    -0x344(%rbp),%eax
  test   %eax,%eax
  je     L176
  mov    -0x350(%rbp),%eax
  jmp    L16
L176:
  mov    -0x354(%rbp),%eax
L16:
  mov    -0x340(%rbp),%edx
  sub    %edx,%eax
  jmp    L115
L147:
  mov    -0x344(%rbp),%ecx
  mov    -0x344(%rbp),%eax
  cltq
  imul   $0x194,%rax,%rax
  add    %rbp,%rax
  sub    $0x330,%rax
  mov    (%rax),%esi
  mov    -0x340(%rbp),%edi
  movslq %esi,%r9
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%r10
  add    %r10,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %r9,%rax
  mov    %edi,-0x330(%rbp,%rax,4)
  movslq %esi,%rsi
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rcx
  add    %rcx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rsi,%rax
  mov    -0x330(%rbp,%rax,4),%eax
L115:
  cmp    %r8d,%eax
  jge    L27
  mov    -0x344(%rbp),%ecx
  mov    -0x344(%rbp),%eax
  cltq
  imul   $0x194,%rax,%rax
  add    %rbp,%rax
  sub    $0x330,%rax
  mov    (%rax),%esi
  mov    -0x340(%rbp),%edi
  movslq %esi,%r8
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%r9
  add    %r9,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %r8,%rax
  mov    %edi,-0x330(%rbp,%rax,4)
  movslq %esi,%rsi
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rcx
  add    %rcx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rsi,%rax
  mov    -0x330(%rbp,%rax,4),%edx
  mov    -0x344(%rbp),%eax
  test   %eax,%eax
  je     L23
  mov    -0x350(%rbp),%eax
  jmp    L90
L23:
  mov    -0x354(%rbp),%eax
L90:
  mov    -0x340(%rbp),%ecx
  sub    %ecx,%eax
  cmp    %eax,%edx
  jle    L108
  mov    -0x344(%rbp),%eax
  test   %eax,%eax
  je     L145
  mov    -0x350(%rbp),%eax
  jmp    L32
L145:
  mov    -0x354(%rbp),%eax
L32:
  mov    -0x340(%rbp),%edx
  sub    %edx,%eax
  jmp    L100
L108:
  mov    -0x344(%rbp),%ecx
  mov    -0x344(%rbp),%eax
  cltq
  imul   $0x194,%rax,%rax
  add    %rbp,%rax
  sub    $0x330,%rax
  mov    (%rax),%esi
  mov    -0x340(%rbp),%edi
  movslq %esi,%r8
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%r9
  add    %r9,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %r8,%rax
  mov    %edi,-0x330(%rbp,%rax,4)
  movslq %esi,%rsi
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rcx
  add    %rcx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rsi,%rax
  mov    -0x330(%rbp,%rax,4),%eax
  jmp    L100
L27:
  mov    -0x344(%rbp),%eax
  cltq
  mov    -0x338(%rbp,%rax,4),%eax
L100:
  mov    -0x344(%rbp),%edx
  movslq %edx,%rdx
  mov    %eax,-0x338(%rbp,%rdx,4)
  movl   $0x1,-0x33c(%rbp)
  jmp    L149
L49:
  mov    -0x344(%rbp),%eax
  mov    -0x33c(%rbp),%edx
  movslq %edx,%rcx
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rsi
  add    %rsi,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x330(%rbp,%rax,4),%eax
  mov    -0x340(%rbp),%edx
  sub    %edx,%eax
  mov    %eax,%edx
  neg    %edx
  cmovs  %eax,%edx
  mov    -0x344(%rbp),%eax
  cltq
  mov    -0x338(%rbp,%rax,4),%eax
  mov    -0x344(%rbp),%ecx
  cmp    %eax,%edx
  cmovg  %eax,%edx
  movslq %ecx,%rax
  mov    %edx,-0x338(%rbp,%rax,4)
  addl   $0x1,-0x33c(%rbp)
L149:
  mov    -0x344(%rbp),%eax
  cltq
  imul   $0x194,%rax,%rax
  add    %rbp,%rax
  sub    $0x330,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x33c(%rbp)
  jl     L49
L189:
  mov    -0x348(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x348(%rbp)
  test   %eax,%eax
  jne    L64
  mov    -0x338(%rbp),%edx
  mov    -0x34c(%rbp),%eax
  imul   %eax,%edx
  mov    -0x334(%rbp),%eax
  imul   %edx,%eax
  mov    %eax,%esi
  lea    D17(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L51
  call   <__stack_chk_fail@plt>
L51:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D20
type_infered: string
name: disassemble_data
arguments: tag: D10
type_infered: string
name: disassemble_data
arguments: tag: D17
type_infered: string

tool: D20: %d %d %d %d

tool: D10: %d %d

tool: D17: %d


assistant: ```c
int main(void) {
  int x, y, z, n;
  int xy[2][101] = {{0}};
  int xym[2];
  scanf("%d %d %d %d", &x, &y, &z, &n);
  xym[0] = x;
  xym[1] = y;
  while (n--) {
    int d, a, i;
    scanf("%d %d", &d, &a);
    xy[d][0]++;
    xym[d] = ((xym[d]) > (((xy[d][xy[d][0]] = a) > ((d ? y : x) - a) ? ((d ? y : x) - a) : (xy[d][xy[d][0]] = a))) ? (((xy[d][xy[d][0]] = a) > ((d ? y : x) - a) ? ((d ? y : x) - a) : (xy[d][xy[d][0]] = a))) : (xym[d]));
    for (i = 1; i < xy[d][0]; i++) {
      xym[d] = (((0 > (xy[d][i] - a) ? (-(xy[d][i] - a)) : xy[d][i] - a)) > (xym[d]) ? (xym[d]) : ((0 > (xy[d][i] - a) ? (-(xy[d][i] - a)) : xy[d][i] - a)));
    }
  }
  printf("%d\n", z * xym[0] * xym[1]);
  return 0;
}
```