user: Please show me the C implementation that matches the assembly code listed below:

```asm
<compute_point>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    %edx,-0x20(%rbp)
  mov    %rcx,-0x28(%rbp)
  movl   $0x0,-0x8(%rbp)
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x1,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x2,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x3,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jle    L55
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  mov    $0xa,%edx
  lea    D57(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
L55:
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x1,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x2,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x3,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  add    $0x3,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jle    L70
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  mov    $0xa,%edx
  lea    D44(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
L70:
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  add    $0x3,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jle    L49
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  mov    $0xa,%edx
  lea    D25(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
L49:
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    $0x2,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    $0x3,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  add    $0x3,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jle    L47
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  mov    $0xa,%edx
  lea    D0(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
L47:
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    $0x2,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    $0x3,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jle    L79
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  mov    $0xa,%edx
  lea    D10(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
L79:
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  shl    $0x2,%rax
  lea    -0x4(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    $0x2,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  shl    $0x2,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    $0x3,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  shl    $0x2,%rax
  lea    -0xc(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jle    L33
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  mov    $0xa,%edx
  lea    D52(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
L33:
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  shl    $0x2,%rax
  lea    -0x4(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  shl    $0x2,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  shl    $0x2,%rax
  lea    -0xc(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jle    L56
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  mov    $0xa,%edx
  lea    D19(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
L56:
  mov    -0x1c(%rbp),%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x1,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  shl    $0x2,%rax
  lea    -0x4(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x2,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  shl    $0x2,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x3,%eax
  imul   $0x1a,%eax,%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%eax
  cltq
  add    %rcx,%rax
  shl    $0x2,%rax
  lea    -0xc(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jle    L66
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  mov    $0xa,%edx
  lea    D60(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
L66:
  mov    -0x8(%rbp),%eax
  leave
  ret
```

tool_calls: name: read_data
arguments: label: D57
datatype: string
name: read_data
arguments: label: D44
datatype: string
name: read_data
arguments: label: D25
datatype: string
name: read_data
arguments: label: D0
datatype: string
name: read_data
arguments: label: D10
datatype: string
name: read_data
arguments: label: D52
datatype: string
name: read_data
arguments: label: D19
datatype: string
name: read_data
arguments: label: D60
datatype: string

tool: D57: north

tool: D44: northeast

tool: D25: east

tool: D0: southeast

tool: D10: south

tool: D52: southwest

tool: D19: west

tool: D60: northwest

assistant: ```c
int compute_point(int *a, int i, int j, char *type) {
  int n;
  int max = 0;
  n = *(a + (26 * i) + j) * *(a + (26 * (i - 1)) + j) * *(a + (26 * (i - 2)) + j) * *(a + (26 * (i - 3)) + j);
  if (n > max) {
    max = n;
    strncpy(type, "north", 10);
  }
  n = *(a + (26 * i) + j) * *(a + (26 * (i - 1)) + j + 1) * *(a + (26 * (i - 2)) + j + 2) * *(a + (26 * (i - 3)) + j + 3);
  if (n > max) {
    max = n;
    strncpy(type, "northeast", 10);
  }
  n = *(a + (26 * i) + j) * *(a + (26 * i) + j + 1) * *(a + (26 * i) + j + 2) * *(a + (26 * i) + j + 3);
  if (n > max) {
    max = n;
    strncpy(type, "east", 10);
  }
  n = *(a + (26 * i) + j) * *(a + (26 * (i + 1)) + j + 1) * *(a + (26 * (i + 2)) + j + 2) * *(a + (26 * (i + 3)) + j + 3);
  if (n > max) {
    max = n;
    strncpy(type, "southeast", 10);
  }
  n = *(a + (26 * i) + j) * *(a + (26 * (i + 1)) + j) * *(a + (26 * (i + 2)) + j) * *(a + (26 * (i + 3)) + j);
  if (n > max) {
    max = n;
    strncpy(type, "south", 10);
  }
  n = *(a + (26 * i) + j) * *(a + (26 * (i + 1)) + j - 1) * *(a + (26 * (i + 2)) + j - 2) * *(a + (26 * (i + 3)) + j - 3);
  if (n > max) {
    max = n;
    strncpy(type, "southwest", 10);
  }
  n = *(a + (26 * i) + j) * *(a + (26 * i) + j - 1) * *(a + (26 * i) + j - 2) * *(a + (26 * i) + j - 3);
  if (n > max) {
    max = n;
    strncpy(type, "west", 10);
  }
  n = *(a + (26 * i) + j) * *(a + (26 * (i - 1)) + j - 1) * *(a + (26 * (i - 2)) + j - 2) * *(a + (26 * (i - 3)) + j - 3);
  if (n > max) {
    max = n;
    strncpy(type, "northwest", 10);
  }
  return max;
}
```